interface CfnNetworkInsightsAccessScopeProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnNetworkInsightsAccessScopeProps |
Java | software.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScopeProps |
Python | aws_cdk.aws_ec2.CfnNetworkInsightsAccessScopeProps |
TypeScript | @aws-cdk/aws-ec2 » CfnNetworkInsightsAccessScopeProps |
Properties for defining a CfnNetworkInsightsAccessScope
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
const cfnNetworkInsightsAccessScopeProps: ec2.CfnNetworkInsightsAccessScopeProps = {
excludePaths: [{
destination: {
packetHeaderStatement: {
destinationAddresses: ['destinationAddresses'],
destinationPorts: ['destinationPorts'],
destinationPrefixLists: ['destinationPrefixLists'],
protocols: ['protocols'],
sourceAddresses: ['sourceAddresses'],
sourcePorts: ['sourcePorts'],
sourcePrefixLists: ['sourcePrefixLists'],
},
resourceStatement: {
resources: ['resources'],
resourceTypes: ['resourceTypes'],
},
},
source: {
packetHeaderStatement: {
destinationAddresses: ['destinationAddresses'],
destinationPorts: ['destinationPorts'],
destinationPrefixLists: ['destinationPrefixLists'],
protocols: ['protocols'],
sourceAddresses: ['sourceAddresses'],
sourcePorts: ['sourcePorts'],
sourcePrefixLists: ['sourcePrefixLists'],
},
resourceStatement: {
resources: ['resources'],
resourceTypes: ['resourceTypes'],
},
},
throughResources: [{
resourceStatement: {
resources: ['resources'],
resourceTypes: ['resourceTypes'],
},
}],
}],
matchPaths: [{
destination: {
packetHeaderStatement: {
destinationAddresses: ['destinationAddresses'],
destinationPorts: ['destinationPorts'],
destinationPrefixLists: ['destinationPrefixLists'],
protocols: ['protocols'],
sourceAddresses: ['sourceAddresses'],
sourcePorts: ['sourcePorts'],
sourcePrefixLists: ['sourcePrefixLists'],
},
resourceStatement: {
resources: ['resources'],
resourceTypes: ['resourceTypes'],
},
},
source: {
packetHeaderStatement: {
destinationAddresses: ['destinationAddresses'],
destinationPorts: ['destinationPorts'],
destinationPrefixLists: ['destinationPrefixLists'],
protocols: ['protocols'],
sourceAddresses: ['sourceAddresses'],
sourcePorts: ['sourcePorts'],
sourcePrefixLists: ['sourcePrefixLists'],
},
resourceStatement: {
resources: ['resources'],
resourceTypes: ['resourceTypes'],
},
},
throughResources: [{
resourceStatement: {
resources: ['resources'],
resourceTypes: ['resourceTypes'],
},
}],
}],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
exclude | IResolvable | IResolvable | Access [] | The paths to exclude. |
match | IResolvable | IResolvable | Access [] | The paths to match. |
tags? | Cfn [] | The tags. |
excludePaths?
Type:
IResolvable
|
IResolvable
|
Access
[]
(optional)
The paths to exclude.
matchPaths?
Type:
IResolvable
|
IResolvable
|
Access
[]
(optional)
The paths to match.
tags?
Type:
Cfn
[]
(optional)
The tags.