Skip to content

Commit

Permalink
AWS::Elasticsearch::Domain.AdvancedSecurityOptions (#1775)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-mertens and PatMyron authored Aug 29, 2020
1 parent 1c43a00 commit 9bacb74
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions troposphere/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,24 @@ class SnapshotOptions(AWSProperty):

class VPCOptions(AWSProperty):
props = {
"SecurityGroupIds": ([basestring], False),
"SubnetIds": ([basestring], False)
'SecurityGroupIds': ([basestring], False),
'SubnetIds': ([basestring], False)
}


class MasterUserOptions(AWSProperty):
props = {
'MasterUserARN': (basestring, False),
'MasterUserName': (basestring, False),
'MasterUserPassword': (basestring, False),
}


class AdvancedSecurityOptionsInput(AWSProperty):
props = {
'Enabled': (boolean, False),
'InternalUserDatabaseEnabled': (boolean, False),
'MasterUserOptions': (MasterUserOptions, False),
}


Expand All @@ -92,6 +108,7 @@ class Domain(AWSObject):
props = {
'AccessPolicies': (policytypes, False),
'AdvancedOptions': (dict, False),
'AdvancedSecurityOptions': (AdvancedSecurityOptionsInput, False),
'CognitoOptions': (CognitoOptions, False),
'DomainName': (basestring, False),
'EBSOptions': (EBSOptions, False),
Expand Down

0 comments on commit 9bacb74

Please sign in to comment.