interface CfnSecurityGroupIngressProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElastiCache.CfnSecurityGroupIngressProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awselasticache#CfnSecurityGroupIngressProps |
![]() | software.amazon.awscdk.services.elasticache.CfnSecurityGroupIngressProps |
![]() | aws_cdk.aws_elasticache.CfnSecurityGroupIngressProps |
![]() | aws-cdk-lib » 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 { aws_elasticache as elasticache } from 'aws-cdk-lib';
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.