Expand description
Manages a VPC Endpoint Route Table Association
§Example Usage
ⓘ
use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};
#[pulumi_main]
fn test_main() -> Result<(), Error> {
let example = vpc_endpoint_route_table_association::create(
"example",
VpcEndpointRouteTableAssociationArgs::builder()
.route_table_id("${exampleAwsRouteTable.id}")
.vpc_endpoint_id("${exampleAwsVpcEndpoint.id}")
.build_struct(),
);
}
§Import
Using pulumi import
, import VPC Endpoint Route Table Associations using vpc_endpoint_id
together with route_table_id
. For example:
$ pulumi import aws:ec2/vpcEndpointRouteTableAssociation:VpcEndpointRouteTableAssociation example vpce-aaaaaaaa/rtb-bbbbbbbb
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments