CfnSecurityGroupProps

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

Bases: object

Properties for defining a CfnSecurityGroup.

Parameters
  • description (str) – A description for the cache security group.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A tag that can be added to an ElastiCache security group. Tags are composed of a Key/Value pair. You can use tags to categorize and track all your security groups. A tag with a null Value is permitted.

Link

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

ExampleMetadata

fixture=_generated

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

A description for the cache security group.

Link

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

Return type

str

tags

A tag that can be added to an ElastiCache security group.

Tags are composed of a Key/Value pair. You can use tags to categorize and track all your security groups. A tag with a null Value is permitted.

Link

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

Return type

Optional[List[CfnTag]]