C# Class Amazon.ElastiCache.Model.CreateCacheSecurityGroupRequest

Container for the parameters to the CreateCacheSecurityGroup operation.

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 .

Inheritance: AmazonElastiCacheRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CreateCacheSecurityGroupRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateCacheSecurityGroupRequest ( string cacheSecurityGroupName, string description ) : System

Instantiates CreateCacheSecurityGroupRequest with the parameterized properties

Private Methods

Method Description
IsSetCacheSecurityGroupName ( ) : bool
IsSetDescription ( ) : bool

Method Details

CreateCacheSecurityGroupRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CreateCacheSecurityGroupRequest ( ) : System
return System

CreateCacheSecurityGroupRequest() public method

Instantiates CreateCacheSecurityGroupRequest with the parameterized properties
public CreateCacheSecurityGroupRequest ( string cacheSecurityGroupName, string description ) : System
cacheSecurityGroupName string A name for the cache security group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default". Example: mysecuritygroup
description string A description for the cache security group.
return System