AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ElastiCache::SecurityGroupIngress

CfnSecurityGroupIngress

The 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

import { CfnSecurityGroupIngress } from 'aws-cdk-lib/aws-elasticache';

Or use the module namespace:

import * as elasticache from 'aws-cdk-lib/aws-elasticache';
// elasticache.CfnSecurityGroupIngress

Properties

Configuration passed to the constructor as CfnSecurityGroupIngressProps.

cacheSecurityGroupNameRequired
string

The name of the Cache Security Group to authorize.

ec2SecurityGroupNameRequired
string

Name of the EC2 Security Group to include in the authorization.

ec2SecurityGroupOwnerIdOptional
string

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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter