AWS SDK for .NET Documentation
CacheSecurityGroup Class
AmazonAmazon.ElastiCache.ModelCacheSecurityGroup Did this page help you?   Yes   No    Tell us about it...

Defines a set of EC2 Security groups that are allowed to access a Cache Cluster.

Declaration Syntax
C#
public class CacheSecurityGroup
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CacheSecurityGroup()()()()
Initializes a new instance of the CacheSecurityGroup class

CacheSecurityGroupName
Specifies the name of the Cache Security Group.

Description
Provides the description of the Cache Security Group.

EC2SecurityGroups
Contains a list of EC2SecurityGroup elements.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
OwnerId
Provides the AWS ID of the owner of a specific Cache Security Group.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithCacheSecurityGroupName(String)
Sets the CacheSecurityGroupName property

WithDescription(String)
Sets the Description property

WithEC2SecurityGroups(array<EC2SecurityGroup>[]()[][])
Adds elements to the EC2SecurityGroups collection

WithEC2SecurityGroups(IEnumerable<(Of <<'(EC2SecurityGroup>)>>))
Adds elements to the EC2SecurityGroups collection

WithOwnerId(String)
Sets the OwnerId property

Inheritance Hierarchy
Object
CacheSecurityGroup

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.24.0 (1.5.24.0)