Class RouteTablePropagation
Manages an EC2 Transit Gateway Route Table propagation.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Ec2TransitGateway.RouteTablePropagation("example", new Aws.Ec2TransitGateway.RouteTablePropagationArgs
{
TransitGatewayAttachmentId = aws_ec2_transit_gateway_vpc_attachment.Example.Id,
TransitGatewayRouteTableId = aws_ec2_transit_gateway_route_table.Example.Id,
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Ec2TransitGateway
Assembly: Pulumi.Aws.dll
Syntax
public class RouteTablePropagation : CustomResource
Constructors
View SourceRouteTablePropagation(String, RouteTablePropagationArgs, CustomResourceOptions)
Create a RouteTablePropagation resource with the given unique name, arguments, and options.
Declaration
public RouteTablePropagation(string name, RouteTablePropagationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RouteTablePropagationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceResourceId
Identifier of the resource
Declaration
public Output<string> ResourceId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceType
Type of the resource
Declaration
public Output<string> ResourceType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TransitGatewayAttachmentId
Identifier of EC2 Transit Gateway Attachment.
Declaration
public Output<string> TransitGatewayAttachmentId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TransitGatewayRouteTableId
Identifier of EC2 Transit Gateway Route Table.
Declaration
public Output<string> TransitGatewayRouteTableId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, RouteTablePropagationState, CustomResourceOptions)
Get an existing RouteTablePropagation resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static RouteTablePropagation Get(string name, Input<string> id, RouteTablePropagationState 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. |
| RouteTablePropagationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| RouteTablePropagation |