CfnSecurityGroupProps

class aws_cdk.aws_elasticache.CfnSecurityGroupProps(*, description, tags=None)

Bases: object

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

Parameters
  • description (str) – AWS::ElastiCache::SecurityGroup.Description.

  • tags (Optional[Sequence[CfnTag]]) – AWS::ElastiCache::SecurityGroup.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_elasticache as elasticache

cfn_security_group_props = elasticache.CfnSecurityGroupProps(
    description="description",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

AWS::ElastiCache::SecurityGroup.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group.html#cfn-elasticache-securitygroup-description

Return type

str

tags

AWS::ElastiCache::SecurityGroup.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group.html#cfn-elasticache-securitygroup-tags

Return type

Optional[List[CfnTag]]