Show / Hide Table of Contents

Class CfnSecurityGroupIngressProps

Properties for defining a CfnSecurityGroupIngress.

Inheritance
object
CfnSecurityGroupIngressProps
Implements
ICfnSecurityGroupIngressProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSecurityGroupIngressProps : ICfnSecurityGroupIngressProps
Syntax (vb)
Public Class CfnSecurityGroupIngressProps Implements ICfnSecurityGroupIngressProps
Remarks

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

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 cfnSecurityGroupIngressProps = new CfnSecurityGroupIngressProps {
                 CacheSecurityGroupName = "cacheSecurityGroupName",
                 Ec2SecurityGroupName = "ec2SecurityGroupName",

                 // the properties below are optional
                 Ec2SecurityGroupOwnerId = "ec2SecurityGroupOwnerId"
             };

Synopsis

Constructors

CfnSecurityGroupIngressProps()

Properties for defining a CfnSecurityGroupIngress.

Properties

CacheSecurityGroupName

The name of the Cache Security Group to authorize.

Ec2SecurityGroupName

Name of the EC2 Security Group to include in the authorization.

Ec2SecurityGroupOwnerId

Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property.

Constructors

CfnSecurityGroupIngressProps()

Properties for defining a CfnSecurityGroupIngress.

public CfnSecurityGroupIngressProps()
Remarks

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

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 cfnSecurityGroupIngressProps = new CfnSecurityGroupIngressProps {
                 CacheSecurityGroupName = "cacheSecurityGroupName",
                 Ec2SecurityGroupName = "ec2SecurityGroupName",

                 // the properties below are optional
                 Ec2SecurityGroupOwnerId = "ec2SecurityGroupOwnerId"
             };

Properties

CacheSecurityGroupName

The name of the Cache Security Group to authorize.

public string CacheSecurityGroupName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroupingress.html#cfn-elasticache-securitygroupingress-cachesecuritygroupname

Ec2SecurityGroupName

Name of the EC2 Security Group to include in the authorization.

public string Ec2SecurityGroupName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroupingress.html#cfn-elasticache-securitygroupingress-ec2securitygroupname

Ec2SecurityGroupOwnerId

Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property.

public string? Ec2SecurityGroupOwnerId { get; set; }
Property Value

string

Remarks

The Amazon access key ID is not an acceptable value.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-securitygroupingress.html#cfn-elasticache-securitygroupingress-ec2securitygroupownerid

Implements

ICfnSecurityGroupIngressProps
Back to top Generated by DocFX