aws-cdk-lib.aws_elasticache.CfnSecurityGroupIngressProps

interface CfnSecurityGroupIngressProps

LanguageType name
.NETAmazon.CDK.AWS.ElastiCache.CfnSecurityGroupIngressProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticache#CfnSecurityGroupIngressProps
Javasoftware.amazon.awscdk.services.elasticache.CfnSecurityGroupIngressProps
Pythonaws_cdk.aws_elasticache.CfnSecurityGroupIngressProps
TypeScript 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

NameTypeDescription
cacheSecurityGroupNamestringThe name of the Cache Security Group to authorize.
ec2SecurityGroupNamestringName of the EC2 Security Group to include in the authorization.
ec2SecurityGroupOwnerId?stringSpecifies 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.