Class CfnSecurityGroupIngressProps
Properties for defining a CfnSecurityGroupIngress
.
Inheritance
System.Object
CfnSecurityGroupIngressProps
Implements
Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSecurityGroupIngressProps : Object, ICfnSecurityGroupIngressProps
Syntax (vb)
Public Class CfnSecurityGroupIngressProps
Inherits Object
Implements ICfnSecurityGroupIngressProps
Remarks
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
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()
public CfnSecurityGroupIngressProps()
Properties
CacheSecurityGroupName
The name of the Cache Security Group to authorize.
public string CacheSecurityGroupName { get; set; }
Property Value
System.String
Remarks
Ec2SecurityGroupName
Name of the EC2 Security Group to include in the authorization.
public string Ec2SecurityGroupName { get; set; }
Property Value
System.String
Remarks
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
System.String
Remarks
The Amazon access key ID is not an acceptable value.