VpcEndpointRouteTableAssociation

class VpcEndpointRouteTableAssociation : KotlinCustomResource

Manages a VPC Endpoint Route Table Association

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.VpcEndpointRouteTableAssociation;
import com.pulumi.aws.ec2.VpcEndpointRouteTableAssociationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VpcEndpointRouteTableAssociation("example", VpcEndpointRouteTableAssociationArgs.builder()
.routeTableId(aws_route_table.example().id())
.vpcEndpointId(aws_vpc_endpoint.example().id())
.build());
}
}

Import

VPC Endpoint Route Table Associations can be imported using vpc_endpoint_id together with route_table_id, e.g.,

$ pulumi import aws:ec2/vpcEndpointRouteTableAssociation:VpcEndpointRouteTableAssociation example vpce-aaaaaaaa/rtb-bbbbbbbb

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val routeTableId: Output<String>

Identifier of the EC2 Route Table to be associated with the VPC Endpoint.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcEndpointId: Output<String>

Identifier of the VPC Endpoint with which the EC2 Route Table will be associated.