Class CfnSecurityGroupIngress
A CloudFormation AWS::EC2::SecurityGroupIngress
.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnSecurityGroupIngress : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnSecurityGroupIngress
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
stability: External see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html cloudformationResource: AWS::EC2::SecurityGroupIngress
Synopsis
Constructors
CfnSecurityGroupIngress(Construct, String, ICfnSecurityGroupIngressProps) | Create a new |
CfnSecurityGroupIngress(ByRefValue) | |
CfnSecurityGroupIngress(DeputyBase.DeputyProps) |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
CidrIp |
|
CidrIpv6 |
|
Description |
|
FromPort |
|
GroupId |
|
GroupName |
|
IpProtocol |
|
SourcePrefixListId |
|
SourceSecurityGroupId |
|
SourceSecurityGroupName |
|
SourceSecurityGroupOwnerId |
|
ToPort |
|
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnSecurityGroupIngress(Construct, String, ICfnSecurityGroupIngressProps)
Create a new AWS::EC2::SecurityGroupIngress
.
public CfnSecurityGroupIngress(Construct scope, string id, ICfnSecurityGroupIngressProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnSecurityGroupIngressProps
- resource properties.
Remarks
stability: External
CfnSecurityGroupIngress(ByRefValue)
protected CfnSecurityGroupIngress(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
CfnSecurityGroupIngress(DeputyBase.DeputyProps)
protected CfnSecurityGroupIngress(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
Remarks
stability: External
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Remarks
stability: External
CidrIp
AWS::EC2::SecurityGroupIngress.CidrIp
.
public virtual string CidrIp { get; set; }
Property Value
System.String
Remarks
CidrIpv6
AWS::EC2::SecurityGroupIngress.CidrIpv6
.
public virtual string CidrIpv6 { get; set; }
Property Value
System.String
Remarks
Description
AWS::EC2::SecurityGroupIngress.Description
.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
FromPort
AWS::EC2::SecurityGroupIngress.FromPort
.
public virtual Nullable<double> FromPort { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
GroupId
AWS::EC2::SecurityGroupIngress.GroupId
.
public virtual string GroupId { get; set; }
Property Value
System.String
Remarks
GroupName
AWS::EC2::SecurityGroupIngress.GroupName
.
public virtual string GroupName { get; set; }
Property Value
System.String
Remarks
IpProtocol
AWS::EC2::SecurityGroupIngress.IpProtocol
.
public virtual string IpProtocol { get; set; }
Property Value
System.String
Remarks
SourcePrefixListId
AWS::EC2::SecurityGroupIngress.SourcePrefixListId
.
public virtual string SourcePrefixListId { get; set; }
Property Value
System.String
Remarks
SourceSecurityGroupId
AWS::EC2::SecurityGroupIngress.SourceSecurityGroupId
.
public virtual string SourceSecurityGroupId { get; set; }
Property Value
System.String
Remarks
SourceSecurityGroupName
AWS::EC2::SecurityGroupIngress.SourceSecurityGroupName
.
public virtual string SourceSecurityGroupName { get; set; }
Property Value
System.String
Remarks
SourceSecurityGroupOwnerId
AWS::EC2::SecurityGroupIngress.SourceSecurityGroupOwnerId
.
public virtual string SourceSecurityGroupOwnerId { get; set; }
Property Value
System.String
Remarks
ToPort
AWS::EC2::SecurityGroupIngress.ToPort
.
public virtual Nullable<double> ToPort { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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
stability: Experimental
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Remarks
stability: External