# PacketHeaderStatementRequestProperty

Describes a packet header statement.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// 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'],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

packet_header_statement_request_property = ec2.CfnNetworkInsightsAccessScope.PacketHeaderStatementRequestProperty(
    destination_addresses=["destinationAddresses"],
    destination_ports=["destinationPorts"],
    destination_prefix_lists=["destinationPrefixLists"],
    protocols=["protocols"],
    source_addresses=["sourceAddresses"],
    source_ports=["sourcePorts"],
    source_prefix_lists=["sourcePrefixLists"]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;

PacketHeaderStatementRequestProperty packetHeaderStatementRequestProperty = PacketHeaderStatementRequestProperty.builder()
        .destinationAddresses(List.of("destinationAddresses"))
        .destinationPorts(List.of("destinationPorts"))
        .destinationPrefixLists(List.of("destinationPrefixLists"))
        .protocols(List.of("protocols"))
        .sourceAddresses(List.of("sourceAddresses"))
        .sourcePorts(List.of("sourcePorts"))
        .sourcePrefixLists(List.of("sourcePrefixLists"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 packetHeaderStatementRequestProperty = new PacketHeaderStatementRequestProperty {
    DestinationAddresses = new [] { "destinationAddresses" },
    DestinationPorts = new [] { "destinationPorts" },
    DestinationPrefixLists = new [] { "destinationPrefixLists" },
    Protocols = new [] { "protocols" },
    SourceAddresses = new [] { "sourceAddresses" },
    SourcePorts = new [] { "sourcePorts" },
    SourcePrefixLists = new [] { "sourcePrefixLists" }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

packetHeaderStatementRequestProperty := &PacketHeaderStatementRequestProperty{
	DestinationAddresses: []*string{
		jsii.String("destinationAddresses"),
	},
	DestinationPorts: []*string{
		jsii.String("destinationPorts"),
	},
	DestinationPrefixLists: []*string{
		jsii.String("destinationPrefixLists"),
	},
	Protocols: []*string{
		jsii.String("protocols"),
	},
	SourceAddresses: []*string{
		jsii.String("sourceAddresses"),
	},
	SourcePorts: []*string{
		jsii.String("sourcePorts"),
	},
	SourcePrefixLists: []*string{
		jsii.String("sourcePrefixLists"),
	},
}
```

## Properties

- `destinationAddresses`: string[] — The destination addresses.

- `destinationPorts`: string[] — The destination ports.

- `destinationPrefixLists`: string[] — The destination prefix lists.

- `protocols`: string[] — The protocols.

- `sourceAddresses`: string[] — The source addresses.

- `sourcePorts`: string[] — The source ports.

- `sourcePrefixLists`: string[] — The source prefix lists.
