interface PacketHeaderStatementRequestProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnNetworkInsightsAccessScope.PacketHeaderStatementRequestProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnNetworkInsightsAccessScope_PacketHeaderStatementRequestProperty |
Java | software.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScope.PacketHeaderStatementRequestProperty |
Python | aws_cdk.aws_ec2.CfnNetworkInsightsAccessScope.PacketHeaderStatementRequestProperty |
TypeScript | aws-cdk-lib » aws_ec2 » CfnNetworkInsightsAccessScope » PacketHeaderStatementRequestProperty |
Describes a packet header statement.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const packetHeaderStatementRequestProperty: ec2.CfnNetworkInsightsAccessScope.PacketHeaderStatementRequestProperty = {
destinationAddresses: ['destinationAddresses'],
destinationPorts: ['destinationPorts'],
destinationPrefixLists: ['destinationPrefixLists'],
protocols: ['protocols'],
sourceAddresses: ['sourceAddresses'],
sourcePorts: ['sourcePorts'],
sourcePrefixLists: ['sourcePrefixLists'],
};
Properties
Name | Type | Description |
---|---|---|
destination | string[] | The destination addresses. |
destination | string[] | The destination ports. |
destination | string[] | The destination prefix lists. |
protocols? | string[] | The protocols. |
source | string[] | The source addresses. |
source | string[] | The source ports. |
source | string[] | The source prefix lists. |
destinationAddresses?
Type:
string[]
(optional)
The destination addresses.
destinationPorts?
Type:
string[]
(optional)
The destination ports.
destinationPrefixLists?
Type:
string[]
(optional)
The destination prefix lists.
protocols?
Type:
string[]
(optional)
The protocols.
sourceAddresses?
Type:
string[]
(optional)
The source addresses.
sourcePorts?
Type:
string[]
(optional)
The source ports.
sourcePrefixLists?
Type:
string[]
(optional)
The source prefix lists.