Add AllowedPattern to SSM describe_parameters response (#1955)

This commit is contained in:
Craig Anderson 2018-11-27 15:31:56 +00:00
commit 96ed66c08d
No known key found for this signature in database
GPG key ID: 8D20AFBB2BA6CF7C
3 changed files with 16 additions and 6 deletions

View file

@ -319,13 +319,15 @@ def test_describe_parameters():
Name='test',
Description='A test parameter',
Value='value',
Type='String')
Type='String',
AllowedPattern=r'.*')
response = client.describe_parameters()
len(response['Parameters']).should.equal(1)
response['Parameters'][0]['Name'].should.equal('test')
response['Parameters'][0]['Type'].should.equal('String')
response['Parameters'][0]['AllowedPattern'].should.equal(r'.*')
@mock_ssm