Class VpcEndpointRouteTableAssociation
Manages a VPC Endpoint Route Table Association
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Ec2.VpcEndpointRouteTableAssociation("example", new Aws.Ec2.VpcEndpointRouteTableAssociationArgs
{
RouteTableId = aws_route_table.Example.Id,
VpcEndpointId = aws_vpc_endpoint.Example.Id,
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public class VpcEndpointRouteTableAssociation : CustomResource
Constructors
View SourceVpcEndpointRouteTableAssociation(String, VpcEndpointRouteTableAssociationArgs, CustomResourceOptions)
Create a VpcEndpointRouteTableAssociation resource with the given unique name, arguments, and options.
Declaration
public VpcEndpointRouteTableAssociation(string name, VpcEndpointRouteTableAssociationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| VpcEndpointRouteTableAssociationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceRouteTableId
Identifier of the EC2 Route Table to be associated with the VPC Endpoint.
Declaration
public Output<string> RouteTableId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VpcEndpointId
Identifier of the VPC Endpoint with which the EC2 Route Table will be associated.
Declaration
public Output<string> VpcEndpointId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, VpcEndpointRouteTableAssociationState, CustomResourceOptions)
Get an existing VpcEndpointRouteTableAssociation resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static VpcEndpointRouteTableAssociation Get(string name, Input<string> id, VpcEndpointRouteTableAssociationState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| VpcEndpointRouteTableAssociationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| VpcEndpointRouteTableAssociation |