# CfnIpPoolRouteTableAssociationProps

Properties for defining a `CfnIpPoolRouteTableAssociation`.

Used as props by: [CfnIpPoolRouteTableAssociation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnIpPoolRouteTableAssociation.html)

- Source: Generated at build time
- Type last changed: v2.212.0 · 20 Aug 2025

## 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 cfnIpPoolRouteTableAssociationProps: ec2.CfnIpPoolRouteTableAssociationProps = {
  publicIpv4Pool: 'publicIpv4Pool',
  routeTableId: 'routeTableId',
};
```

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

cfn_ip_pool_route_table_association_props = ec2.CfnIpPoolRouteTableAssociationProps(
    public_ipv4_pool="publicIpv4Pool",
    route_table_id="routeTableId"
)
```

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.*;

CfnIpPoolRouteTableAssociationProps cfnIpPoolRouteTableAssociationProps = CfnIpPoolRouteTableAssociationProps.builder()
        .publicIpv4Pool("publicIpv4Pool")
        .routeTableId("routeTableId")
        .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 cfnIpPoolRouteTableAssociationProps = new CfnIpPoolRouteTableAssociationProps {
    PublicIpv4Pool = "publicIpv4Pool",
    RouteTableId = "routeTableId"
};
```

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"

cfnIpPoolRouteTableAssociationProps := &CfnIpPoolRouteTableAssociationProps{
	PublicIpv4Pool: jsii.String("publicIpv4Pool"),
	RouteTableId: jsii.String("routeTableId"),
}
```

## Properties

- `publicIpv4Pool`: string (required) — The ID of a public IPv4 address pool.

- `routeTableId`: string (required) — The ID of a route table.
