Skip to content

Commit

Permalink
Adding EncryptionConfig props to AWS::EKS::Cluster, per March 5 2020 …
Browse files Browse the repository at this point in the history
…update (#1610)

Co-authored-by: Axel Pavageau <axel.pavageau@ekino.com>
  • Loading branch information
axelpavageau and axelpavageauekino authored Apr 19, 2020
1 parent c18eecf commit 29ae53c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions troposphere/eks.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,24 @@ class ResourcesVpcConfig(AWSProperty):
}


class Provider(AWSProperty):
props = {
'KeyArn': (basestring, False),
}


class EncryptionConfig(AWSProperty):
props = {
'Provider': (Provider, False),
'Resources': ([basestring], False),
}


class Cluster(AWSObject):
resource_type = "AWS::EKS::Cluster"

props = {
'EncryptionConfig': ([EncryptionConfig], False),
'Name': (basestring, False),
'Logging': (Logging, False),
'ResourcesVpcConfig': (ResourcesVpcConfig, True),
Expand Down

0 comments on commit 29ae53c

Please sign in to comment.