VpcEndpointRouteTableAssociationArgs

data class VpcEndpointRouteTableAssociationArgs(val routeTableId: Output<String>? = null, val vpcEndpointId: Output<String>? = null) : ConvertibleToJava<VpcEndpointRouteTableAssociationArgs>

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

Constructors

Link copied to clipboard
constructor(routeTableId: Output<String>? = null, vpcEndpointId: Output<String>? = null)

Properties

Link copied to clipboard
val routeTableId: Output<String>? = null

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

Link copied to clipboard
val vpcEndpointId: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): VpcEndpointRouteTableAssociationArgs