Class CfnSecurityGroup
The AWS::ElastiCache::SecurityGroup resource creates a cache security group.
Inherited Members
Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSecurityGroup : CfnResource, IInspectable, ISecurityGroupRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnSecurityGroup Inherits CfnResource Implements IInspectable, ISecurityGroupRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElastiCache;
var cfnSecurityGroup = new CfnSecurityGroup(this, "MyCfnSecurityGroup", new CfnSecurityGroupProps {
Description = "description",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
| CfnSecurityGroup(Construct, string, ICfnSecurityGroupProps) | Create a new |
Properties
| AttrId | The |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | The |
| CfnPropertyNames | The |
| Description | A description for the cache security group. |
| SecurityGroupRef | A reference to a SecurityGroup resource. |
| Tags | Tag Manager which manages the tags for this resource. |
| TagsRaw | A tag that can be added to an ElastiCache security group. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnSecurityGroup(object) | Checks whether the given object is a CfnSecurityGroup. |
| RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnSecurityGroup(Construct, string, ICfnSecurityGroupProps)
Create a new AWS::ElastiCache::SecurityGroup.
public CfnSecurityGroup(Construct scope, string id, ICfnSecurityGroupProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnSecurityGroupProps
Resource properties.
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated
Properties
AttrId
The AWS::ElastiCache::SecurityGroup resource creates a cache security group.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated
CfnProperties
The AWS::ElastiCache::SecurityGroup resource creates a cache security group.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated
CfnPropertyNames
The AWS::ElastiCache::SecurityGroup resource creates a cache security group.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated
Description
A description for the cache security group.
public virtual string Description { get; set; }
Property Value
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated
SecurityGroupRef
A reference to a SecurityGroup resource.
public virtual ISecurityGroupReference SecurityGroupRef { get; }
Property Value
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated
TagsRaw
A tag that can be added to an ElastiCache security group.
public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value
ICfnTag[]
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated
IsCfnSecurityGroup(object)
Checks whether the given object is a CfnSecurityGroup.
public static bool IsCfnSecurityGroup(object x)
Parameters
- x object
Returns
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The AWS::ElastiCache::SecurityGroup resource creates a cache security group.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
For more information about cache security groups, go to CacheSecurityGroups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide .
For more information, see CreateCacheSubnetGroup .
CloudformationResource: AWS::ElastiCache::SecurityGroup
ExampleMetadata: fixture=_generated