AWS SDK for .NET Documentation
CreateCacheSecurityGroup Method (createCacheSecurityGroupRequest)
AmazonAmazon.ElastiCacheAmazonElastiCacheCreateCacheSecurityGroup(CreateCacheSecurityGroupRequest) Did this page help you?   Yes   No    Tell us about it...

The CreateCacheSecurityGroup operation creates a new cache security group. Use a cache security group to control access to one or more cache clusters.

Cache security groups are only used when you are creating a cluster outside of an Amazon Virtual Private Cloud (VPC). If you are creating a cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup .

Declaration Syntax
C#
CreateCacheSecurityGroupResponse CreateCacheSecurityGroup(
	CreateCacheSecurityGroupRequest createCacheSecurityGroupRequest
)
Parameters
createCacheSecurityGroupRequest (CreateCacheSecurityGroupRequest)
Container for the necessary parameters to execute the CreateCacheSecurityGroup service method on AmazonElastiCache.
Return Value
The response from the CreateCacheSecurityGroup service method, as returned by AmazonElastiCache.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)