Interface CfnNetworkInsightsAnalysis.IAnalysisSecurityGroupRuleProperty
Describes a security group rule.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAnalysisSecurityGroupRuleProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Cidr
The IPv4 address range, in CIDR notation.
virtual string Cidr { get; }
Property Value
System.String
Remarks
Direction
The direction. The following are the possible values:.
virtual string Direction { get; }
Property Value
System.String
Remarks
PortRange
The port range.
virtual object PortRange { get; }
Property Value
System.Object
Remarks
PrefixListId
The prefix list ID.
virtual string PrefixListId { get; }
Property Value
System.String
Remarks
Protocol
The protocol name.
virtual string Protocol { get; }
Property Value
System.String
Remarks
SecurityGroupId
The security group ID.
virtual string SecurityGroupId { get; }
Property Value
System.String