AWS::ElastiCache::SecurityGroupThe `AWS::ElastiCache::SecurityGroup` resource creates a cache security group. For more information about cache security groups, go to [CacheSecurityGroups](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VPCs.html) in the *Amazon ElastiCache User Guide* or go to [CreateCacheSecurityGroup](https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateCacheSecurityGroup.html) in the *Amazon ElastiCache API Reference Guide* . For more information, see [CreateCacheSubnetGroup](https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateCacheSubnetGroup.html) .
import { CfnSecurityGroup } from 'aws-cdk-lib/aws-elasticache';Or use the module namespace:
import * as elasticache from 'aws-cdk-lib/aws-elasticache';
// elasticache.CfnSecurityGroupConfiguration passed to the constructor as CfnSecurityGroupProps.
descriptionRequiredstringA description for the cache security group.
tagsOptionalCfnTag[]A tag that can be added to an ElastiCache security group. Tags are composed of a Key/Value pair. You can use tags to categorize and track all your security groups. A tag with a null Value is permitted.
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::SecurityGroup