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
CfnSecurityGroupIngress
.- Parameters:
cache_security_group_name (
str
) – The name of the Cache Security Group to authorize.ec2_security_group_name (
str
) – Name of the EC2 Security Group to include in the authorization.ec2_security_group_owner_id (
Optional
[str
]) – Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property. The Amazon access key ID is not an acceptable value.
- See:
- 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_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
The name of the Cache Security Group to authorize.
- ec2_security_group_name
Name of the EC2 Security Group to include in the authorization.
- ec2_security_group_owner_id
Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property.
The Amazon access key ID is not an acceptable value.