diff --git a/troposphere/neptune.py b/troposphere/neptune.py index eeb3ef973..f125b6d90 100644 --- a/troposphere/neptune.py +++ b/troposphere/neptune.py @@ -5,10 +5,17 @@ from troposphere import Tags -from . import AWSObject +from . import AWSObject, AWSProperty from .validators import boolean, integer +class DBClusterRole(AWSProperty): + props = { + "FeatureName": (str, False), + "RoleArn": (str, True), + } + + class DBClusterParameterGroup(AWSObject): resource_type = "AWS::Neptune::DBClusterParameterGroup" @@ -25,6 +32,7 @@ class DBCluster(AWSObject): resource_type = "AWS::Neptune::DBCluster" props = { + "AssociatedRoles": ([DBClusterRole], False), "AvailabilityZones": ([str], False), "BackupRetentionPeriod": (integer, False), "DBClusterIdentifier": (str, False), @@ -38,9 +46,13 @@ class DBCluster(AWSObject): "Port": (integer, False), "PreferredBackupWindow": (str, False), "PreferredMaintenanceWindow": (str, False), + "RestoreToTime": (str, False), + "RestoreType": (str, False), "SnapshotIdentifier": (str, False), + "SourceDBClusterIdentifier": (str, False), "StorageEncrypted": (boolean, False), "Tags": (Tags, False), + "UseLatestRestorableTime": (boolean, False), "VpcSecurityGroupIds": ([str], False), }