CfnSecurityGroupIngressProps

class aws_cdk.aws_elasticache.CfnSecurityGroupIngressProps(*, cache_security_group_name, ec2_security_group_name, ec2_security_group_owner_id=None)

Bases: object

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

Parameters
  • cache_security_group_name (str) – AWS::ElastiCache::SecurityGroupIngress.CacheSecurityGroupName.

  • ec2_security_group_name (str) – AWS::ElastiCache::SecurityGroupIngress.EC2SecurityGroupName.

  • ec2_security_group_owner_id (Optional[str]) – AWS::ElastiCache::SecurityGroupIngress.EC2SecurityGroupOwnerId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group-ingress.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_ingress_props = elasticache.CfnSecurityGroupIngressProps(
    cache_security_group_name="cacheSecurityGroupName",
    ec2_security_group_name="ec2SecurityGroupName",

    # the properties below are optional
    ec2_security_group_owner_id="ec2SecurityGroupOwnerId"
)

Attributes

cache_security_group_name

AWS::ElastiCache::SecurityGroupIngress.CacheSecurityGroupName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group-ingress.html#cfn-elasticache-securitygroupingress-cachesecuritygroupname

Return type

str

ec2_security_group_name

AWS::ElastiCache::SecurityGroupIngress.EC2SecurityGroupName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group-ingress.html#cfn-elasticache-securitygroupingress-ec2securitygroupname

Return type

str

ec2_security_group_owner_id

AWS::ElastiCache::SecurityGroupIngress.EC2SecurityGroupOwnerId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group-ingress.html#cfn-elasticache-securitygroupingress-ec2securitygroupownerid

Return type

Optional[str]