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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import 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.

See:

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

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.

See:

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