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