Show / Hide Table of Contents

Class CfnSecurityGroup

The AWS::ElastiCache::SecurityGroup resource creates a cache security group.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnSecurityGroup
Implements
IInspectable
ISecurityGroupRef
IConstruct
IDependable
IEnvironmentAware
ITaggable
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.CfnPropertyName(string)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.With(params IMixin[])
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

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 AWS::ElastiCache::SecurityGroup.

Properties

AttrId

The AWS::ElastiCache::SecurityGroup resource creates a cache security group.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

The AWS::ElastiCache::SecurityGroup resource creates a cache security group.

CfnPropertyNames

The AWS::ElastiCache::SecurityGroup resource creates a cache security group.

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 AWS::ElastiCache::SecurityGroup resource creates a cache security group.

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

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

string

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

string

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

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

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

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

IDictionary<string, string>

Overrides
CfnResource.CfnPropertyNames
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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

CloudformationResource: AWS::ElastiCache::SecurityGroup

ExampleMetadata: fixture=_generated

Description

A description for the cache security group.

public virtual string Description { get; set; }
Property Value

string

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

CloudformationResource: AWS::ElastiCache::SecurityGroup

ExampleMetadata: fixture=_generated

SecurityGroupRef

A reference to a SecurityGroup resource.

public virtual ISecurityGroupReference SecurityGroupRef { get; }
Property Value

ISecurityGroupReference

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

CloudformationResource: AWS::ElastiCache::SecurityGroup

ExampleMetadata: fixture=_generated

Tags

Tag Manager which manages the tags for this resource.

public virtual TagManager Tags { get; }
Property Value

TagManager

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

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

bool

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

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

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroup.html

CloudformationResource: AWS::ElastiCache::SecurityGroup

ExampleMetadata: fixture=_generated

Implements

IInspectable
ISecurityGroupRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
ITaggable
Back to top Generated by DocFX