interface CfnSecurityGroupIngressProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ElastiCache.CfnSecurityGroupIngressProps |
Java | software.amazon.awscdk.services.elasticache.CfnSecurityGroupIngressProps |
Python | aws_cdk.aws_elasticache.CfnSecurityGroupIngressProps |
TypeScript | @aws-cdk/aws-elasticache » CfnSecurityGroupIngressProps |
Properties for defining a CfnSecurityGroupIngress.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as elasticache from '@aws-cdk/aws-elasticache';
const cfnSecurityGroupIngressProps: elasticache.CfnSecurityGroupIngressProps = {
cacheSecurityGroupName: 'cacheSecurityGroupName',
ec2SecurityGroupName: 'ec2SecurityGroupName',
// the properties below are optional
ec2SecurityGroupOwnerId: 'ec2SecurityGroupOwnerId',
};
Properties
| Name | Type | Description |
|---|---|---|
| cache | string | The name of the Cache Security Group to authorize. |
| ec2 | string | Name of the EC2 Security Group to include in the authorization. |
| ec2 | string | Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property. |
cacheSecurityGroupName
Type:
string
The name of the Cache Security Group to authorize.
ec2SecurityGroupName
Type:
string
Name of the EC2 Security Group to include in the authorization.
ec2SecurityGroupOwnerId?
Type:
string
(optional)
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.

.NET
Java
Python
TypeScript