# Copyright (c) 2012-2022, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***
from . import AWSObject, PropsDictType, Tags
from .validators import boolean, integer
[docs]class DBCluster(AWSObject):
"""
`DBCluster <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html>`__
"""
resource_type = "AWS::DocDB::DBCluster"
props: PropsDictType = {
"AvailabilityZones": ([str], False),
"BackupRetentionPeriod": (integer, False),
"CopyTagsToSnapshot": (boolean, False),
"DBClusterIdentifier": (str, False),
"DBClusterParameterGroupName": (str, False),
"DBSubnetGroupName": (str, False),
"DeletionProtection": (boolean, False),
"EnableCloudwatchLogsExports": ([str], False),
"EngineVersion": (str, False),
"KmsKeyId": (str, False),
"MasterUserPassword": (str, False),
"MasterUsername": (str, False),
"Port": (integer, False),
"PreferredBackupWindow": (str, False),
"PreferredMaintenanceWindow": (str, False),
"RestoreToTime": (str, False),
"RestoreType": (str, False),
"SnapshotIdentifier": (str, False),
"SourceDBClusterIdentifier": (str, False),
"StorageEncrypted": (boolean, False),
"StorageType": (str, False),
"Tags": (Tags, False),
"UseLatestRestorableTime": (boolean, False),
"VpcSecurityGroupIds": ([str], False),
}
[docs]class DBClusterParameterGroup(AWSObject):
"""
`DBClusterParameterGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbclusterparametergroup.html>`__
"""
resource_type = "AWS::DocDB::DBClusterParameterGroup"
props: PropsDictType = {
"Description": (str, True),
"Family": (str, True),
"Name": (str, False),
"Parameters": (dict, True),
"Tags": (Tags, False),
}
[docs]class DBInstance(AWSObject):
"""
`DBInstance <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html>`__
"""
resource_type = "AWS::DocDB::DBInstance"
props: PropsDictType = {
"AutoMinorVersionUpgrade": (boolean, False),
"AvailabilityZone": (str, False),
"CACertificateIdentifier": (str, False),
"CertificateRotationRestart": (boolean, False),
"DBClusterIdentifier": (str, True),
"DBInstanceClass": (str, True),
"DBInstanceIdentifier": (str, False),
"EnablePerformanceInsights": (boolean, False),
"PreferredMaintenanceWindow": (str, False),
"Tags": (Tags, False),
}
[docs]class DBSubnetGroup(AWSObject):
"""
`DBSubnetGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html>`__
"""
resource_type = "AWS::DocDB::DBSubnetGroup"
props: PropsDictType = {
"DBSubnetGroupDescription": (str, True),
"DBSubnetGroupName": (str, False),
"SubnetIds": ([str], True),
"Tags": (Tags, False),
}
[docs]class EventSubscription(AWSObject):
"""
`EventSubscription <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-eventsubscription.html>`__
"""
resource_type = "AWS::DocDB::EventSubscription"
props: PropsDictType = {
"Enabled": (boolean, False),
"EventCategories": ([str], False),
"SnsTopicArn": (str, True),
"SourceIds": ([str], False),
"SourceType": (str, False),
"SubscriptionName": (str, False),
}