Class CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty
Describes a security group rule.
Inheritance
System.Object
CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AnalysisSecurityGroupRuleProperty : Object, CfnNetworkInsightsAnalysis.IAnalysisSecurityGroupRuleProperty
Syntax (vb)
Public Class AnalysisSecurityGroupRuleProperty
Inherits Object
Implements CfnNetworkInsightsAnalysis.IAnalysisSecurityGroupRuleProperty
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.EC2;
var analysisSecurityGroupRuleProperty = new AnalysisSecurityGroupRuleProperty {
Cidr = "cidr",
Direction = "direction",
PortRange = new PortRangeProperty {
From = 123,
To = 123
},
PrefixListId = "prefixListId",
Protocol = "protocol",
SecurityGroupId = "securityGroupId"
};
Synopsis
Constructors
AnalysisSecurityGroupRuleProperty() |
Properties
Cidr | The IPv4 address range, in CIDR notation. |
Direction | The direction. The following are the possible values:. |
PortRange | The port range. |
PrefixListId | The prefix list ID. |
Protocol | The protocol name. |
SecurityGroupId | The security group ID. |
Constructors
AnalysisSecurityGroupRuleProperty()
public AnalysisSecurityGroupRuleProperty()
Properties
Cidr
The IPv4 address range, in CIDR notation.
public string Cidr { get; set; }
Property Value
System.String
Remarks
Direction
The direction. The following are the possible values:.
public string Direction { get; set; }
Property Value
System.String
Remarks
PortRange
The port range.
public object PortRange { get; set; }
Property Value
System.Object
Remarks
PrefixListId
The prefix list ID.
public string PrefixListId { get; set; }
Property Value
System.String
Remarks
Protocol
The protocol name.
public string Protocol { get; set; }
Property Value
System.String
Remarks
SecurityGroupId
The security group ID.
public string SecurityGroupId { get; set; }
Property Value
System.String