CfnIpPoolRouteTableAssociationProps Struct
Properties for defining a CfnIpPoolRouteTableAssociation.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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"),
}