Add AllowedPattern to SSM describe_parameters response (#1955)
This commit is contained in:
parent
81dea64a9e
commit
96ed66c08d
3 changed files with 16 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue