interface AnalysisSecurityGroupRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisSecurityGroupRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnNetworkInsightsAnalysisPropsMixin_AnalysisSecurityGroupRuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisSecurityGroupRuleProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisSecurityGroupRuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnNetworkInsightsAnalysisPropsMixin » AnalysisSecurityGroupRuleProperty |
Describes a security group rule.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const analysisSecurityGroupRuleProperty: ec2_mixins.CfnNetworkInsightsAnalysisPropsMixin.AnalysisSecurityGroupRuleProperty = {
cidr: 'cidr',
direction: 'direction',
portRange: {
from: 123,
to: 123,
},
prefixListId: 'prefixListId',
protocol: 'protocol',
securityGroupId: 'securityGroupId',
};
Properties
| Name | Type | Description |
|---|---|---|
| cidr? | string | The IPv4 address range, in CIDR notation. |
| direction? | string | The direction. The following are the possible values:. |
| port | IResolvable | Port | The port range. |
| prefix | string | The prefix list ID. |
| protocol? | string | The protocol name. |
| security | string | The security group ID. |
cidr?
Type:
string
(optional)
The IPv4 address range, in CIDR notation.
direction?
Type:
string
(optional)
The direction. The following are the possible values:.
- egress
- ingress
portRange?
Type:
IResolvable | Port
(optional)
The port range.
prefixListId?
Type:
string
(optional)
The prefix list ID.
protocol?
Type:
string
(optional)
The protocol name.
securityGroupId?
Type:
string
(optional)
The security group ID.

.NET
Go
Java
Python
TypeScript