AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Cache security groups are only used when you are creating a cache cluster outside of an Amazon Virtual Private Cloud (VPC). If you are creating a cache cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup.
Namespace: Amazon.ElastiCache
Assembly: AWSSDK.dll
Version: (assembly version)
public virtual CreateCacheSecurityGroupResponse CreateCacheSecurityGroup( CreateCacheSecurityGroupRequest request )
Container for the necessary parameters to execute the CreateCacheSecurityGroup service method.
Exception | Condition |
---|---|
CacheSecurityGroupAlreadyExistsException | A cache security group with the specified name already exists. |
CacheSecurityGroupQuotaExceededException | The request cannot be processed because it would exceed the allowed number of cache security groups. |
InvalidParameterCombinationException | Two or more incompatible parameters were specified. |
InvalidParameterValueException | The value for a parameter is invalid. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5