CfnCacheClusterProps

class aws_cdk.aws_elasticache.CfnCacheClusterProps(*, cache_node_type, engine, num_cache_nodes, auto_minor_version_upgrade=None, az_mode=None, cache_parameter_group_name=None, cache_security_group_names=None, cache_subnet_group_name=None, cluster_name=None, engine_version=None, notification_topic_arn=None, port=None, preferred_availability_zone=None, preferred_availability_zones=None, preferred_maintenance_window=None, snapshot_arns=None, snapshot_name=None, snapshot_retention_limit=None, snapshot_window=None, tags=None, vpc_security_group_ids=None)

Bases: object

Properties for defining a AWS::ElastiCache::CacheCluster.

Parameters
  • cache_node_type (str) – AWS::ElastiCache::CacheCluster.CacheNodeType.

  • engine (str) – AWS::ElastiCache::CacheCluster.Engine.

  • num_cache_nodes (Union[int, float]) – AWS::ElastiCache::CacheCluster.NumCacheNodes.

  • auto_minor_version_upgrade (Union[bool, IResolvable, None]) – AWS::ElastiCache::CacheCluster.AutoMinorVersionUpgrade.

  • az_mode (Optional[str]) – AWS::ElastiCache::CacheCluster.AZMode.

  • cache_parameter_group_name (Optional[str]) – AWS::ElastiCache::CacheCluster.CacheParameterGroupName.

  • cache_security_group_names (Optional[List[str]]) – AWS::ElastiCache::CacheCluster.CacheSecurityGroupNames.

  • cache_subnet_group_name (Optional[str]) – AWS::ElastiCache::CacheCluster.CacheSubnetGroupName.

  • cluster_name (Optional[str]) – AWS::ElastiCache::CacheCluster.ClusterName.

  • engine_version (Optional[str]) – AWS::ElastiCache::CacheCluster.EngineVersion.

  • notification_topic_arn (Optional[str]) – AWS::ElastiCache::CacheCluster.NotificationTopicArn.

  • port (Union[int, float, None]) – AWS::ElastiCache::CacheCluster.Port.

  • preferred_availability_zone (Optional[str]) – AWS::ElastiCache::CacheCluster.PreferredAvailabilityZone.

  • preferred_availability_zones (Optional[List[str]]) – AWS::ElastiCache::CacheCluster.PreferredAvailabilityZones.

  • preferred_maintenance_window (Optional[str]) – AWS::ElastiCache::CacheCluster.PreferredMaintenanceWindow.

  • snapshot_arns (Optional[List[str]]) – AWS::ElastiCache::CacheCluster.SnapshotArns.

  • snapshot_name (Optional[str]) – AWS::ElastiCache::CacheCluster.SnapshotName.

  • snapshot_retention_limit (Union[int, float, None]) – AWS::ElastiCache::CacheCluster.SnapshotRetentionLimit.

  • snapshot_window (Optional[str]) – AWS::ElastiCache::CacheCluster.SnapshotWindow.

  • tags (Optional[List[CfnTag]]) – AWS::ElastiCache::CacheCluster.Tags.

  • vpc_security_group_ids (Optional[List[str]]) – AWS::ElastiCache::CacheCluster.VpcSecurityGroupIds.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html

Attributes

auto_minor_version_upgrade

AWS::ElastiCache::CacheCluster.AutoMinorVersionUpgrade.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-autominorversionupgrade

Return type

Union[bool, IResolvable, None]

az_mode

AWS::ElastiCache::CacheCluster.AZMode.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-azmode

Return type

Optional[str]

cache_node_type

AWS::ElastiCache::CacheCluster.CacheNodeType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachenodetype

Return type

str

cache_parameter_group_name

AWS::ElastiCache::CacheCluster.CacheParameterGroupName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cacheparametergroupname

Return type

Optional[str]

cache_security_group_names

AWS::ElastiCache::CacheCluster.CacheSecurityGroupNames.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesecuritygroupnames

Return type

Optional[List[str]]

cache_subnet_group_name

AWS::ElastiCache::CacheCluster.CacheSubnetGroupName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesubnetgroupname

Return type

Optional[str]

cluster_name

AWS::ElastiCache::CacheCluster.ClusterName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-clustername

Return type

Optional[str]

engine

AWS::ElastiCache::CacheCluster.Engine.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engine

Return type

str

engine_version

AWS::ElastiCache::CacheCluster.EngineVersion.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engineversion

Return type

Optional[str]

notification_topic_arn

AWS::ElastiCache::CacheCluster.NotificationTopicArn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-notificationtopicarn

Return type

Optional[str]

num_cache_nodes

AWS::ElastiCache::CacheCluster.NumCacheNodes.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-numcachenodes

Return type

Union[int, float]

port

AWS::ElastiCache::CacheCluster.Port.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-port

Return type

Union[int, float, None]

preferred_availability_zone

AWS::ElastiCache::CacheCluster.PreferredAvailabilityZone.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzone

Return type

Optional[str]

preferred_availability_zones

AWS::ElastiCache::CacheCluster.PreferredAvailabilityZones.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzones

Return type

Optional[List[str]]

preferred_maintenance_window

AWS::ElastiCache::CacheCluster.PreferredMaintenanceWindow.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredmaintenancewindow

Return type

Optional[str]

snapshot_arns

AWS::ElastiCache::CacheCluster.SnapshotArns.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotarns

Return type

Optional[List[str]]

snapshot_name

AWS::ElastiCache::CacheCluster.SnapshotName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotname

Return type

Optional[str]

snapshot_retention_limit

AWS::ElastiCache::CacheCluster.SnapshotRetentionLimit.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotretentionlimit

Return type

Union[int, float, None]

snapshot_window

AWS::ElastiCache::CacheCluster.SnapshotWindow.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotwindow

Return type

Optional[str]

tags

AWS::ElastiCache::CacheCluster.Tags.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-tags

Return type

Optional[List[CfnTag]]

vpc_security_group_ids

AWS::ElastiCache::CacheCluster.VpcSecurityGroupIds.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-vpcsecuritygroupids

Return type

Optional[List[str]]