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