Source code for troposphere.memorydb

# Copyright (c) 2012-2024, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***


from . import AWSObject, AWSProperty, PropsDictType, Tags
from .validators import boolean, integer


[docs]class ACL(AWSObject): """ `ACL <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-acl.html>`__ """ resource_type = "AWS::MemoryDB::ACL" props: PropsDictType = { "ACLName": (str, True), "Tags": (Tags, False), "UserNames": ([str], False), }
[docs]class Endpoint(AWSProperty): """ `Endpoint <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-memorydb-cluster-endpoint.html>`__ """ props: PropsDictType = { "Address": (str, False), "Port": (integer, False), }
[docs]class Cluster(AWSObject): """ `Cluster <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html>`__ """ resource_type = "AWS::MemoryDB::Cluster" props: PropsDictType = { "ACLName": (str, True), "AutoMinorVersionUpgrade": (boolean, False), "ClusterEndpoint": (Endpoint, False), "ClusterName": (str, True), "DataTiering": (str, False), "Description": (str, False), "EngineVersion": (str, False), "FinalSnapshotName": (str, False), "KmsKeyId": (str, False), "MaintenanceWindow": (str, False), "NodeType": (str, True), "NumReplicasPerShard": (integer, False), "NumShards": (integer, False), "ParameterGroupName": (str, False), "Port": (integer, False), "SecurityGroupIds": ([str], False), "SnapshotArns": ([str], False), "SnapshotName": (str, False), "SnapshotRetentionLimit": (integer, False), "SnapshotWindow": (str, False), "SnsTopicArn": (str, False), "SnsTopicStatus": (str, False), "SubnetGroupName": (str, False), "TLSEnabled": (boolean, False), "Tags": (Tags, False), }
[docs]class ParameterGroup(AWSObject): """ `ParameterGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-parametergroup.html>`__ """ resource_type = "AWS::MemoryDB::ParameterGroup" props: PropsDictType = { "Description": (str, False), "Family": (str, True), "ParameterGroupName": (str, True), "Parameters": (dict, False), "Tags": (Tags, False), }
[docs]class SubnetGroup(AWSObject): """ `SubnetGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html>`__ """ resource_type = "AWS::MemoryDB::SubnetGroup" props: PropsDictType = { "Description": (str, False), "SubnetGroupName": (str, True), "SubnetIds": ([str], True), "Tags": (Tags, False), }
[docs]class AuthenticationMode(AWSProperty): """ `AuthenticationMode <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-memorydb-user-authenticationmode.html>`__ """ props: PropsDictType = { "Passwords": ([str], False), "Type": (str, False), }
[docs]class User(AWSObject): """ `User <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html>`__ """ resource_type = "AWS::MemoryDB::User" props: PropsDictType = { "AccessString": (str, False), "AuthenticationMode": (AuthenticationMode, False), "Tags": (Tags, False), "UserName": (str, True), }