interface CfnNetworkInsightsPathMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnNetworkInsightsPathMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnNetworkInsightsPathMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnNetworkInsightsPathMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnNetworkInsightsPathMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnNetworkInsightsPathMixinProps |
Properties for CfnNetworkInsightsPathPropsMixin.
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 cfnNetworkInsightsPathMixinProps: ec2_mixins.CfnNetworkInsightsPathMixinProps = {
destination: 'destination',
destinationIp: 'destinationIp',
destinationPort: 123,
filterAtDestination: {
destinationAddress: 'destinationAddress',
destinationPortRange: {
fromPort: 123,
toPort: 123,
},
sourceAddress: 'sourceAddress',
sourcePortRange: {
fromPort: 123,
toPort: 123,
},
},
filterAtSource: {
destinationAddress: 'destinationAddress',
destinationPortRange: {
fromPort: 123,
toPort: 123,
},
sourceAddress: 'sourceAddress',
sourcePortRange: {
fromPort: 123,
toPort: 123,
},
},
protocol: 'protocol',
source: 'source',
sourceIp: 'sourceIp',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| destination? | string | The ID or ARN of the destination. |
| destination | string | The IP address of the destination. |
| destination | number | The destination port. |
| filter | IResolvable | Path | Scopes the analysis to network paths that match specific filters at the destination. |
| filter | IResolvable | Path | Scopes the analysis to network paths that match specific filters at the source. |
| protocol? | string | The protocol. |
| source? | string | The ID or ARN of the source. |
| source | string | The IP address of the source. |
| tags? | Cfn[] | The tags to add to the path. |
destination?
Type:
string
(optional)
The ID or ARN of the destination.
If the resource is in another account, you must specify an ARN.
destinationIp?
Type:
string
(optional)
The IP address of the destination.
destinationPort?
Type:
number
(optional)
The destination port.
filterAtDestination?
Type:
IResolvable | Path
(optional)
Scopes the analysis to network paths that match specific filters at the destination.
If you specify this parameter, you can't specify the parameter for the destination IP address.
filterAtSource?
Type:
IResolvable | Path
(optional)
Scopes the analysis to network paths that match specific filters at the source.
If you specify this parameter, you can't specify the parameters for the source IP address or the destination port.
protocol?
Type:
string
(optional)
The protocol.
source?
Type:
string
(optional)
The ID or ARN of the source.
If the resource is in another account, you must specify an ARN.
sourceIp?
Type:
string
(optional)
The IP address of the source.
tags?
Type:
Cfn[]
(optional)
The tags to add to the path.

.NET
Go
Java
Python
TypeScript