AWS::ElastiCache::SecurityGroupIngressThe AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups. For more information about ElastiCache security group ingress, go to [AuthorizeCacheSecurityGroupIngress](https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_AuthorizeCacheSecurityGroupIngress.html) in the *Amazon ElastiCache API Reference Guide* . > Updates are not supported.
import { CfnSecurityGroupIngress } from 'aws-cdk-lib/aws-elasticache';Or use the module namespace:
import * as elasticache from 'aws-cdk-lib/aws-elasticache';
// elasticache.CfnSecurityGroupIngressConfiguration passed to the constructor as CfnSecurityGroupIngressProps.
cacheSecurityGroupNameRequiredstringThe name of the Cache Security Group to authorize.
ec2SecurityGroupNameRequiredstringName of the EC2 Security Group to include in the authorization.
ec2SecurityGroupOwnerIdOptionalstringSpecifies 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.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-elasticacheAWS::ElastiCache::SecurityGroupIngress