Documentation ¶
Index ¶
- type GetDirectConnectGatewayAttachmentArgs
- type GetDirectConnectGatewayAttachmentFilter
- type GetDirectConnectGatewayAttachmentFilterArgs
- func (GetDirectConnectGatewayAttachmentFilterArgs) ElementType() reflect.Type
- func (i GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutput() GetDirectConnectGatewayAttachmentFilterOutput
- func (i GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterOutput
- type GetDirectConnectGatewayAttachmentFilterArray
- func (GetDirectConnectGatewayAttachmentFilterArray) ElementType() reflect.Type
- func (i GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutput() GetDirectConnectGatewayAttachmentFilterArrayOutput
- func (i GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterArrayOutput
- type GetDirectConnectGatewayAttachmentFilterArrayInput
- type GetDirectConnectGatewayAttachmentFilterArrayOutput
- func (GetDirectConnectGatewayAttachmentFilterArrayOutput) ElementType() reflect.Type
- func (o GetDirectConnectGatewayAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetDirectConnectGatewayAttachmentFilterOutput
- func (o GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutput() GetDirectConnectGatewayAttachmentFilterArrayOutput
- func (o GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterArrayOutput
- type GetDirectConnectGatewayAttachmentFilterInput
- type GetDirectConnectGatewayAttachmentFilterOutput
- func (GetDirectConnectGatewayAttachmentFilterOutput) ElementType() reflect.Type
- func (o GetDirectConnectGatewayAttachmentFilterOutput) Name() pulumi.StringOutput
- func (o GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutput() GetDirectConnectGatewayAttachmentFilterOutput
- func (o GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterOutput
- func (o GetDirectConnectGatewayAttachmentFilterOutput) Values() pulumi.StringArrayOutput
- type GetDirectConnectGatewayAttachmentResult
- type GetPeeringAttachmentFilter
- type GetPeeringAttachmentFilterArgs
- func (GetPeeringAttachmentFilterArgs) ElementType() reflect.Type
- func (i GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutput() GetPeeringAttachmentFilterOutput
- func (i GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterOutput
- type GetPeeringAttachmentFilterArray
- func (GetPeeringAttachmentFilterArray) ElementType() reflect.Type
- func (i GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutput() GetPeeringAttachmentFilterArrayOutput
- func (i GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterArrayOutput
- type GetPeeringAttachmentFilterArrayInput
- type GetPeeringAttachmentFilterArrayOutput
- func (GetPeeringAttachmentFilterArrayOutput) ElementType() reflect.Type
- func (o GetPeeringAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetPeeringAttachmentFilterOutput
- func (o GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutput() GetPeeringAttachmentFilterArrayOutput
- func (o GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterArrayOutput
- type GetPeeringAttachmentFilterInput
- type GetPeeringAttachmentFilterOutput
- func (GetPeeringAttachmentFilterOutput) ElementType() reflect.Type
- func (o GetPeeringAttachmentFilterOutput) Name() pulumi.StringOutput
- func (o GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutput() GetPeeringAttachmentFilterOutput
- func (o GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterOutput
- func (o GetPeeringAttachmentFilterOutput) Values() pulumi.StringArrayOutput
- type GetRouteTableFilter
- type GetRouteTableFilterArgs
- type GetRouteTableFilterArray
- type GetRouteTableFilterArrayInput
- type GetRouteTableFilterArrayOutput
- func (GetRouteTableFilterArrayOutput) ElementType() reflect.Type
- func (o GetRouteTableFilterArrayOutput) Index(i pulumi.IntInput) GetRouteTableFilterOutput
- func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput
- func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput
- type GetRouteTableFilterInput
- type GetRouteTableFilterOutput
- func (GetRouteTableFilterOutput) ElementType() reflect.Type
- func (o GetRouteTableFilterOutput) Name() pulumi.StringOutput
- func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput
- func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput
- func (o GetRouteTableFilterOutput) Values() pulumi.StringArrayOutput
- type GetTransitGatewayFilter
- type GetTransitGatewayFilterArgs
- type GetTransitGatewayFilterArray
- func (GetTransitGatewayFilterArray) ElementType() reflect.Type
- func (i GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutput() GetTransitGatewayFilterArrayOutput
- func (i GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayFilterArrayOutput
- type GetTransitGatewayFilterArrayInput
- type GetTransitGatewayFilterArrayOutput
- func (GetTransitGatewayFilterArrayOutput) ElementType() reflect.Type
- func (o GetTransitGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetTransitGatewayFilterOutput
- func (o GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutput() GetTransitGatewayFilterArrayOutput
- func (o GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayFilterArrayOutput
- type GetTransitGatewayFilterInput
- type GetTransitGatewayFilterOutput
- func (GetTransitGatewayFilterOutput) ElementType() reflect.Type
- func (o GetTransitGatewayFilterOutput) Name() pulumi.StringOutput
- func (o GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutput() GetTransitGatewayFilterOutput
- func (o GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutputWithContext(ctx context.Context) GetTransitGatewayFilterOutput
- func (o GetTransitGatewayFilterOutput) Values() pulumi.StringArrayOutput
- type GetVpcAttachmentFilter
- type GetVpcAttachmentFilterArgs
- type GetVpcAttachmentFilterArray
- func (GetVpcAttachmentFilterArray) ElementType() reflect.Type
- func (i GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutput() GetVpcAttachmentFilterArrayOutput
- func (i GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpcAttachmentFilterArrayOutput
- type GetVpcAttachmentFilterArrayInput
- type GetVpcAttachmentFilterArrayOutput
- func (GetVpcAttachmentFilterArrayOutput) ElementType() reflect.Type
- func (o GetVpcAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetVpcAttachmentFilterOutput
- func (o GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutput() GetVpcAttachmentFilterArrayOutput
- func (o GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpcAttachmentFilterArrayOutput
- type GetVpcAttachmentFilterInput
- type GetVpcAttachmentFilterOutput
- func (GetVpcAttachmentFilterOutput) ElementType() reflect.Type
- func (o GetVpcAttachmentFilterOutput) Name() pulumi.StringOutput
- func (o GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutput() GetVpcAttachmentFilterOutput
- func (o GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutputWithContext(ctx context.Context) GetVpcAttachmentFilterOutput
- func (o GetVpcAttachmentFilterOutput) Values() pulumi.StringArrayOutput
- type GetVpnAttachmentArgs
- type GetVpnAttachmentFilter
- type GetVpnAttachmentFilterArgs
- type GetVpnAttachmentFilterArray
- func (GetVpnAttachmentFilterArray) ElementType() reflect.Type
- func (i GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutput() GetVpnAttachmentFilterArrayOutput
- func (i GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpnAttachmentFilterArrayOutput
- type GetVpnAttachmentFilterArrayInput
- type GetVpnAttachmentFilterArrayOutput
- func (GetVpnAttachmentFilterArrayOutput) ElementType() reflect.Type
- func (o GetVpnAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetVpnAttachmentFilterOutput
- func (o GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutput() GetVpnAttachmentFilterArrayOutput
- func (o GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpnAttachmentFilterArrayOutput
- type GetVpnAttachmentFilterInput
- type GetVpnAttachmentFilterOutput
- func (GetVpnAttachmentFilterOutput) ElementType() reflect.Type
- func (o GetVpnAttachmentFilterOutput) Name() pulumi.StringOutput
- func (o GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutput() GetVpnAttachmentFilterOutput
- func (o GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutputWithContext(ctx context.Context) GetVpnAttachmentFilterOutput
- func (o GetVpnAttachmentFilterOutput) Values() pulumi.StringArrayOutput
- type GetVpnAttachmentResult
- type LookupPeeringAttachmentArgs
- type LookupPeeringAttachmentResult
- type LookupRouteTableArgs
- type LookupRouteTableResult
- type LookupTransitGatewayArgs
- type LookupTransitGatewayResult
- type LookupVpcAttachmentArgs
- type LookupVpcAttachmentResult
- type PeeringAttachment
- func (*PeeringAttachment) ElementType() reflect.Type
- func (i *PeeringAttachment) ToPeeringAttachmentOutput() PeeringAttachmentOutput
- func (i *PeeringAttachment) ToPeeringAttachmentOutputWithContext(ctx context.Context) PeeringAttachmentOutput
- func (i *PeeringAttachment) ToPeeringAttachmentPtrOutput() PeeringAttachmentPtrOutput
- func (i *PeeringAttachment) ToPeeringAttachmentPtrOutputWithContext(ctx context.Context) PeeringAttachmentPtrOutput
- type PeeringAttachmentArgs
- type PeeringAttachmentArray
- type PeeringAttachmentArrayInput
- type PeeringAttachmentArrayOutput
- func (PeeringAttachmentArrayOutput) ElementType() reflect.Type
- func (o PeeringAttachmentArrayOutput) Index(i pulumi.IntInput) PeeringAttachmentOutput
- func (o PeeringAttachmentArrayOutput) ToPeeringAttachmentArrayOutput() PeeringAttachmentArrayOutput
- func (o PeeringAttachmentArrayOutput) ToPeeringAttachmentArrayOutputWithContext(ctx context.Context) PeeringAttachmentArrayOutput
- type PeeringAttachmentInput
- type PeeringAttachmentMap
- type PeeringAttachmentMapInput
- type PeeringAttachmentMapOutput
- func (PeeringAttachmentMapOutput) ElementType() reflect.Type
- func (o PeeringAttachmentMapOutput) MapIndex(k pulumi.StringInput) PeeringAttachmentOutput
- func (o PeeringAttachmentMapOutput) ToPeeringAttachmentMapOutput() PeeringAttachmentMapOutput
- func (o PeeringAttachmentMapOutput) ToPeeringAttachmentMapOutputWithContext(ctx context.Context) PeeringAttachmentMapOutput
- type PeeringAttachmentOutput
- func (PeeringAttachmentOutput) ElementType() reflect.Type
- func (o PeeringAttachmentOutput) ToPeeringAttachmentOutput() PeeringAttachmentOutput
- func (o PeeringAttachmentOutput) ToPeeringAttachmentOutputWithContext(ctx context.Context) PeeringAttachmentOutput
- func (o PeeringAttachmentOutput) ToPeeringAttachmentPtrOutput() PeeringAttachmentPtrOutput
- func (o PeeringAttachmentOutput) ToPeeringAttachmentPtrOutputWithContext(ctx context.Context) PeeringAttachmentPtrOutput
- type PeeringAttachmentPtrInput
- type PeeringAttachmentPtrOutput
- type PeeringAttachmentState
- type PrefixListReference
- func (*PrefixListReference) ElementType() reflect.Type
- func (i *PrefixListReference) ToPrefixListReferenceOutput() PrefixListReferenceOutput
- func (i *PrefixListReference) ToPrefixListReferenceOutputWithContext(ctx context.Context) PrefixListReferenceOutput
- func (i *PrefixListReference) ToPrefixListReferencePtrOutput() PrefixListReferencePtrOutput
- func (i *PrefixListReference) ToPrefixListReferencePtrOutputWithContext(ctx context.Context) PrefixListReferencePtrOutput
- type PrefixListReferenceArgs
- type PrefixListReferenceArray
- type PrefixListReferenceArrayInput
- type PrefixListReferenceArrayOutput
- func (PrefixListReferenceArrayOutput) ElementType() reflect.Type
- func (o PrefixListReferenceArrayOutput) Index(i pulumi.IntInput) PrefixListReferenceOutput
- func (o PrefixListReferenceArrayOutput) ToPrefixListReferenceArrayOutput() PrefixListReferenceArrayOutput
- func (o PrefixListReferenceArrayOutput) ToPrefixListReferenceArrayOutputWithContext(ctx context.Context) PrefixListReferenceArrayOutput
- type PrefixListReferenceInput
- type PrefixListReferenceMap
- type PrefixListReferenceMapInput
- type PrefixListReferenceMapOutput
- func (PrefixListReferenceMapOutput) ElementType() reflect.Type
- func (o PrefixListReferenceMapOutput) MapIndex(k pulumi.StringInput) PrefixListReferenceOutput
- func (o PrefixListReferenceMapOutput) ToPrefixListReferenceMapOutput() PrefixListReferenceMapOutput
- func (o PrefixListReferenceMapOutput) ToPrefixListReferenceMapOutputWithContext(ctx context.Context) PrefixListReferenceMapOutput
- type PrefixListReferenceOutput
- func (PrefixListReferenceOutput) ElementType() reflect.Type
- func (o PrefixListReferenceOutput) ToPrefixListReferenceOutput() PrefixListReferenceOutput
- func (o PrefixListReferenceOutput) ToPrefixListReferenceOutputWithContext(ctx context.Context) PrefixListReferenceOutput
- func (o PrefixListReferenceOutput) ToPrefixListReferencePtrOutput() PrefixListReferencePtrOutput
- func (o PrefixListReferenceOutput) ToPrefixListReferencePtrOutputWithContext(ctx context.Context) PrefixListReferencePtrOutput
- type PrefixListReferencePtrInput
- type PrefixListReferencePtrOutput
- type PrefixListReferenceState
- type Route
- type RouteArgs
- type RouteArray
- type RouteArrayInput
- type RouteArrayOutput
- type RouteInput
- type RouteMap
- type RouteMapInput
- type RouteMapOutput
- type RouteOutput
- func (RouteOutput) ElementType() reflect.Type
- func (o RouteOutput) ToRouteOutput() RouteOutput
- func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput
- func (o RouteOutput) ToRoutePtrOutput() RoutePtrOutput
- func (o RouteOutput) ToRoutePtrOutputWithContext(ctx context.Context) RoutePtrOutput
- type RoutePtrInput
- type RoutePtrOutput
- type RouteState
- type RouteTable
- func (*RouteTable) ElementType() reflect.Type
- func (i *RouteTable) ToRouteTableOutput() RouteTableOutput
- func (i *RouteTable) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput
- func (i *RouteTable) ToRouteTablePtrOutput() RouteTablePtrOutput
- func (i *RouteTable) ToRouteTablePtrOutputWithContext(ctx context.Context) RouteTablePtrOutput
- type RouteTableArgs
- type RouteTableArray
- type RouteTableArrayInput
- type RouteTableArrayOutput
- func (RouteTableArrayOutput) ElementType() reflect.Type
- func (o RouteTableArrayOutput) Index(i pulumi.IntInput) RouteTableOutput
- func (o RouteTableArrayOutput) ToRouteTableArrayOutput() RouteTableArrayOutput
- func (o RouteTableArrayOutput) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput
- type RouteTableAssociation
- func (*RouteTableAssociation) ElementType() reflect.Type
- func (i *RouteTableAssociation) ToRouteTableAssociationOutput() RouteTableAssociationOutput
- func (i *RouteTableAssociation) ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput
- func (i *RouteTableAssociation) ToRouteTableAssociationPtrOutput() RouteTableAssociationPtrOutput
- func (i *RouteTableAssociation) ToRouteTableAssociationPtrOutputWithContext(ctx context.Context) RouteTableAssociationPtrOutput
- type RouteTableAssociationArgs
- type RouteTableAssociationArray
- func (RouteTableAssociationArray) ElementType() reflect.Type
- func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput
- func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput
- type RouteTableAssociationArrayInput
- type RouteTableAssociationArrayOutput
- func (RouteTableAssociationArrayOutput) ElementType() reflect.Type
- func (o RouteTableAssociationArrayOutput) Index(i pulumi.IntInput) RouteTableAssociationOutput
- func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput
- func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput
- type RouteTableAssociationInput
- type RouteTableAssociationMap
- type RouteTableAssociationMapInput
- type RouteTableAssociationMapOutput
- func (RouteTableAssociationMapOutput) ElementType() reflect.Type
- func (o RouteTableAssociationMapOutput) MapIndex(k pulumi.StringInput) RouteTableAssociationOutput
- func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput
- func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutputWithContext(ctx context.Context) RouteTableAssociationMapOutput
- type RouteTableAssociationOutput
- func (RouteTableAssociationOutput) ElementType() reflect.Type
- func (o RouteTableAssociationOutput) ToRouteTableAssociationOutput() RouteTableAssociationOutput
- func (o RouteTableAssociationOutput) ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput
- func (o RouteTableAssociationOutput) ToRouteTableAssociationPtrOutput() RouteTableAssociationPtrOutput
- func (o RouteTableAssociationOutput) ToRouteTableAssociationPtrOutputWithContext(ctx context.Context) RouteTableAssociationPtrOutput
- type RouteTableAssociationPtrInput
- type RouteTableAssociationPtrOutput
- func (RouteTableAssociationPtrOutput) ElementType() reflect.Type
- func (o RouteTableAssociationPtrOutput) ToRouteTableAssociationPtrOutput() RouteTableAssociationPtrOutput
- func (o RouteTableAssociationPtrOutput) ToRouteTableAssociationPtrOutputWithContext(ctx context.Context) RouteTableAssociationPtrOutput
- type RouteTableAssociationState
- type RouteTableInput
- type RouteTableMap
- type RouteTableMapInput
- type RouteTableMapOutput
- func (RouteTableMapOutput) ElementType() reflect.Type
- func (o RouteTableMapOutput) MapIndex(k pulumi.StringInput) RouteTableOutput
- func (o RouteTableMapOutput) ToRouteTableMapOutput() RouteTableMapOutput
- func (o RouteTableMapOutput) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput
- type RouteTableOutput
- func (RouteTableOutput) ElementType() reflect.Type
- func (o RouteTableOutput) ToRouteTableOutput() RouteTableOutput
- func (o RouteTableOutput) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput
- func (o RouteTableOutput) ToRouteTablePtrOutput() RouteTablePtrOutput
- func (o RouteTableOutput) ToRouteTablePtrOutputWithContext(ctx context.Context) RouteTablePtrOutput
- type RouteTablePropagation
- func (*RouteTablePropagation) ElementType() reflect.Type
- func (i *RouteTablePropagation) ToRouteTablePropagationOutput() RouteTablePropagationOutput
- func (i *RouteTablePropagation) ToRouteTablePropagationOutputWithContext(ctx context.Context) RouteTablePropagationOutput
- func (i *RouteTablePropagation) ToRouteTablePropagationPtrOutput() RouteTablePropagationPtrOutput
- func (i *RouteTablePropagation) ToRouteTablePropagationPtrOutputWithContext(ctx context.Context) RouteTablePropagationPtrOutput
- type RouteTablePropagationArgs
- type RouteTablePropagationArray
- func (RouteTablePropagationArray) ElementType() reflect.Type
- func (i RouteTablePropagationArray) ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput
- func (i RouteTablePropagationArray) ToRouteTablePropagationArrayOutputWithContext(ctx context.Context) RouteTablePropagationArrayOutput
- type RouteTablePropagationArrayInput
- type RouteTablePropagationArrayOutput
- func (RouteTablePropagationArrayOutput) ElementType() reflect.Type
- func (o RouteTablePropagationArrayOutput) Index(i pulumi.IntInput) RouteTablePropagationOutput
- func (o RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput
- func (o RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutputWithContext(ctx context.Context) RouteTablePropagationArrayOutput
- type RouteTablePropagationInput
- type RouteTablePropagationMap
- type RouteTablePropagationMapInput
- type RouteTablePropagationMapOutput
- func (RouteTablePropagationMapOutput) ElementType() reflect.Type
- func (o RouteTablePropagationMapOutput) MapIndex(k pulumi.StringInput) RouteTablePropagationOutput
- func (o RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput
- func (o RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutputWithContext(ctx context.Context) RouteTablePropagationMapOutput
- type RouteTablePropagationOutput
- func (RouteTablePropagationOutput) ElementType() reflect.Type
- func (o RouteTablePropagationOutput) ToRouteTablePropagationOutput() RouteTablePropagationOutput
- func (o RouteTablePropagationOutput) ToRouteTablePropagationOutputWithContext(ctx context.Context) RouteTablePropagationOutput
- func (o RouteTablePropagationOutput) ToRouteTablePropagationPtrOutput() RouteTablePropagationPtrOutput
- func (o RouteTablePropagationOutput) ToRouteTablePropagationPtrOutputWithContext(ctx context.Context) RouteTablePropagationPtrOutput
- type RouteTablePropagationPtrInput
- type RouteTablePropagationPtrOutput
- func (RouteTablePropagationPtrOutput) ElementType() reflect.Type
- func (o RouteTablePropagationPtrOutput) ToRouteTablePropagationPtrOutput() RouteTablePropagationPtrOutput
- func (o RouteTablePropagationPtrOutput) ToRouteTablePropagationPtrOutputWithContext(ctx context.Context) RouteTablePropagationPtrOutput
- type RouteTablePropagationState
- type RouteTablePtrInput
- type RouteTablePtrOutput
- type RouteTableState
- type TransitGateway
- func (*TransitGateway) ElementType() reflect.Type
- func (i *TransitGateway) ToTransitGatewayOutput() TransitGatewayOutput
- func (i *TransitGateway) ToTransitGatewayOutputWithContext(ctx context.Context) TransitGatewayOutput
- func (i *TransitGateway) ToTransitGatewayPtrOutput() TransitGatewayPtrOutput
- func (i *TransitGateway) ToTransitGatewayPtrOutputWithContext(ctx context.Context) TransitGatewayPtrOutput
- type TransitGatewayArgs
- type TransitGatewayArray
- type TransitGatewayArrayInput
- type TransitGatewayArrayOutput
- func (TransitGatewayArrayOutput) ElementType() reflect.Type
- func (o TransitGatewayArrayOutput) Index(i pulumi.IntInput) TransitGatewayOutput
- func (o TransitGatewayArrayOutput) ToTransitGatewayArrayOutput() TransitGatewayArrayOutput
- func (o TransitGatewayArrayOutput) ToTransitGatewayArrayOutputWithContext(ctx context.Context) TransitGatewayArrayOutput
- type TransitGatewayInput
- type TransitGatewayMap
- type TransitGatewayMapInput
- type TransitGatewayMapOutput
- func (TransitGatewayMapOutput) ElementType() reflect.Type
- func (o TransitGatewayMapOutput) MapIndex(k pulumi.StringInput) TransitGatewayOutput
- func (o TransitGatewayMapOutput) ToTransitGatewayMapOutput() TransitGatewayMapOutput
- func (o TransitGatewayMapOutput) ToTransitGatewayMapOutputWithContext(ctx context.Context) TransitGatewayMapOutput
- type TransitGatewayOutput
- func (TransitGatewayOutput) ElementType() reflect.Type
- func (o TransitGatewayOutput) ToTransitGatewayOutput() TransitGatewayOutput
- func (o TransitGatewayOutput) ToTransitGatewayOutputWithContext(ctx context.Context) TransitGatewayOutput
- func (o TransitGatewayOutput) ToTransitGatewayPtrOutput() TransitGatewayPtrOutput
- func (o TransitGatewayOutput) ToTransitGatewayPtrOutputWithContext(ctx context.Context) TransitGatewayPtrOutput
- type TransitGatewayPtrInput
- type TransitGatewayPtrOutput
- type TransitGatewayState
- type VpcAttachment
- func (*VpcAttachment) ElementType() reflect.Type
- func (i *VpcAttachment) ToVpcAttachmentOutput() VpcAttachmentOutput
- func (i *VpcAttachment) ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput
- func (i *VpcAttachment) ToVpcAttachmentPtrOutput() VpcAttachmentPtrOutput
- func (i *VpcAttachment) ToVpcAttachmentPtrOutputWithContext(ctx context.Context) VpcAttachmentPtrOutput
- type VpcAttachmentAccepter
- func (*VpcAttachmentAccepter) ElementType() reflect.Type
- func (i *VpcAttachmentAccepter) ToVpcAttachmentAccepterOutput() VpcAttachmentAccepterOutput
- func (i *VpcAttachmentAccepter) ToVpcAttachmentAccepterOutputWithContext(ctx context.Context) VpcAttachmentAccepterOutput
- func (i *VpcAttachmentAccepter) ToVpcAttachmentAccepterPtrOutput() VpcAttachmentAccepterPtrOutput
- func (i *VpcAttachmentAccepter) ToVpcAttachmentAccepterPtrOutputWithContext(ctx context.Context) VpcAttachmentAccepterPtrOutput
- type VpcAttachmentAccepterArgs
- type VpcAttachmentAccepterArray
- func (VpcAttachmentAccepterArray) ElementType() reflect.Type
- func (i VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutput() VpcAttachmentAccepterArrayOutput
- func (i VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutputWithContext(ctx context.Context) VpcAttachmentAccepterArrayOutput
- type VpcAttachmentAccepterArrayInput
- type VpcAttachmentAccepterArrayOutput
- func (VpcAttachmentAccepterArrayOutput) ElementType() reflect.Type
- func (o VpcAttachmentAccepterArrayOutput) Index(i pulumi.IntInput) VpcAttachmentAccepterOutput
- func (o VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutput() VpcAttachmentAccepterArrayOutput
- func (o VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutputWithContext(ctx context.Context) VpcAttachmentAccepterArrayOutput
- type VpcAttachmentAccepterInput
- type VpcAttachmentAccepterMap
- type VpcAttachmentAccepterMapInput
- type VpcAttachmentAccepterMapOutput
- func (VpcAttachmentAccepterMapOutput) ElementType() reflect.Type
- func (o VpcAttachmentAccepterMapOutput) MapIndex(k pulumi.StringInput) VpcAttachmentAccepterOutput
- func (o VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutput() VpcAttachmentAccepterMapOutput
- func (o VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutputWithContext(ctx context.Context) VpcAttachmentAccepterMapOutput
- type VpcAttachmentAccepterOutput
- func (VpcAttachmentAccepterOutput) ElementType() reflect.Type
- func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutput() VpcAttachmentAccepterOutput
- func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutputWithContext(ctx context.Context) VpcAttachmentAccepterOutput
- func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterPtrOutput() VpcAttachmentAccepterPtrOutput
- func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterPtrOutputWithContext(ctx context.Context) VpcAttachmentAccepterPtrOutput
- type VpcAttachmentAccepterPtrInput
- type VpcAttachmentAccepterPtrOutput
- func (VpcAttachmentAccepterPtrOutput) ElementType() reflect.Type
- func (o VpcAttachmentAccepterPtrOutput) ToVpcAttachmentAccepterPtrOutput() VpcAttachmentAccepterPtrOutput
- func (o VpcAttachmentAccepterPtrOutput) ToVpcAttachmentAccepterPtrOutputWithContext(ctx context.Context) VpcAttachmentAccepterPtrOutput
- type VpcAttachmentAccepterState
- type VpcAttachmentArgs
- type VpcAttachmentArray
- type VpcAttachmentArrayInput
- type VpcAttachmentArrayOutput
- func (VpcAttachmentArrayOutput) ElementType() reflect.Type
- func (o VpcAttachmentArrayOutput) Index(i pulumi.IntInput) VpcAttachmentOutput
- func (o VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput
- func (o VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutputWithContext(ctx context.Context) VpcAttachmentArrayOutput
- type VpcAttachmentInput
- type VpcAttachmentMap
- type VpcAttachmentMapInput
- type VpcAttachmentMapOutput
- func (VpcAttachmentMapOutput) ElementType() reflect.Type
- func (o VpcAttachmentMapOutput) MapIndex(k pulumi.StringInput) VpcAttachmentOutput
- func (o VpcAttachmentMapOutput) ToVpcAttachmentMapOutput() VpcAttachmentMapOutput
- func (o VpcAttachmentMapOutput) ToVpcAttachmentMapOutputWithContext(ctx context.Context) VpcAttachmentMapOutput
- type VpcAttachmentOutput
- func (VpcAttachmentOutput) ElementType() reflect.Type
- func (o VpcAttachmentOutput) ToVpcAttachmentOutput() VpcAttachmentOutput
- func (o VpcAttachmentOutput) ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput
- func (o VpcAttachmentOutput) ToVpcAttachmentPtrOutput() VpcAttachmentPtrOutput
- func (o VpcAttachmentOutput) ToVpcAttachmentPtrOutputWithContext(ctx context.Context) VpcAttachmentPtrOutput
- type VpcAttachmentPtrInput
- type VpcAttachmentPtrOutput
- type VpcAttachmentState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetDirectConnectGatewayAttachmentArgs ¶
type GetDirectConnectGatewayAttachmentArgs struct { // Identifier of the Direct Connect Gateway. DxGatewayId *string `pulumi:"dxGatewayId"` // Configuration block(s) for filtering. Detailed below. Filters []GetDirectConnectGatewayAttachmentFilter `pulumi:"filters"` // A map of tags, each pair of which must exactly match a pair on the desired Transit Gateway Direct Connect Gateway Attachment. Tags map[string]string `pulumi:"tags"` // Identifier of the EC2 Transit Gateway. TransitGatewayId *string `pulumi:"transitGatewayId"` }
A collection of arguments for invoking getDirectConnectGatewayAttachment.
type GetDirectConnectGatewayAttachmentFilter ¶
type GetDirectConnectGatewayAttachmentFilter struct { // The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html). Name string `pulumi:"name"` // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. Values []string `pulumi:"values"` }
type GetDirectConnectGatewayAttachmentFilterArgs ¶
type GetDirectConnectGatewayAttachmentFilterArgs struct { // The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html). Name pulumi.StringInput `pulumi:"name"` // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetDirectConnectGatewayAttachmentFilterArgs) ElementType ¶
func (GetDirectConnectGatewayAttachmentFilterArgs) ElementType() reflect.Type
func (GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutput ¶
func (i GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutput() GetDirectConnectGatewayAttachmentFilterOutput
func (GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext ¶
func (i GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterOutput
type GetDirectConnectGatewayAttachmentFilterArray ¶
type GetDirectConnectGatewayAttachmentFilterArray []GetDirectConnectGatewayAttachmentFilterInput
func (GetDirectConnectGatewayAttachmentFilterArray) ElementType ¶
func (GetDirectConnectGatewayAttachmentFilterArray) ElementType() reflect.Type
func (GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutput ¶
func (i GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutput() GetDirectConnectGatewayAttachmentFilterArrayOutput
func (GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext ¶
func (i GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterArrayOutput
type GetDirectConnectGatewayAttachmentFilterArrayInput ¶
type GetDirectConnectGatewayAttachmentFilterArrayInput interface { pulumi.Input ToGetDirectConnectGatewayAttachmentFilterArrayOutput() GetDirectConnectGatewayAttachmentFilterArrayOutput ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(context.Context) GetDirectConnectGatewayAttachmentFilterArrayOutput }
GetDirectConnectGatewayAttachmentFilterArrayInput is an input type that accepts GetDirectConnectGatewayAttachmentFilterArray and GetDirectConnectGatewayAttachmentFilterArrayOutput values. You can construct a concrete instance of `GetDirectConnectGatewayAttachmentFilterArrayInput` via:
GetDirectConnectGatewayAttachmentFilterArray{ GetDirectConnectGatewayAttachmentFilterArgs{...} }
type GetDirectConnectGatewayAttachmentFilterArrayOutput ¶
type GetDirectConnectGatewayAttachmentFilterArrayOutput struct{ *pulumi.OutputState }
func (GetDirectConnectGatewayAttachmentFilterArrayOutput) ElementType ¶
func (GetDirectConnectGatewayAttachmentFilterArrayOutput) ElementType() reflect.Type
func (GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutput ¶
func (o GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutput() GetDirectConnectGatewayAttachmentFilterArrayOutput
func (GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext ¶
func (o GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterArrayOutput
type GetDirectConnectGatewayAttachmentFilterInput ¶
type GetDirectConnectGatewayAttachmentFilterInput interface { pulumi.Input ToGetDirectConnectGatewayAttachmentFilterOutput() GetDirectConnectGatewayAttachmentFilterOutput ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(context.Context) GetDirectConnectGatewayAttachmentFilterOutput }
GetDirectConnectGatewayAttachmentFilterInput is an input type that accepts GetDirectConnectGatewayAttachmentFilterArgs and GetDirectConnectGatewayAttachmentFilterOutput values. You can construct a concrete instance of `GetDirectConnectGatewayAttachmentFilterInput` via:
GetDirectConnectGatewayAttachmentFilterArgs{...}
type GetDirectConnectGatewayAttachmentFilterOutput ¶
type GetDirectConnectGatewayAttachmentFilterOutput struct{ *pulumi.OutputState }
func (GetDirectConnectGatewayAttachmentFilterOutput) ElementType ¶
func (GetDirectConnectGatewayAttachmentFilterOutput) ElementType() reflect.Type
func (GetDirectConnectGatewayAttachmentFilterOutput) Name ¶
func (o GetDirectConnectGatewayAttachmentFilterOutput) Name() pulumi.StringOutput
The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
func (GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutput ¶
func (o GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutput() GetDirectConnectGatewayAttachmentFilterOutput
func (GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext ¶
func (o GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterOutput
func (GetDirectConnectGatewayAttachmentFilterOutput) Values ¶
func (o GetDirectConnectGatewayAttachmentFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
type GetDirectConnectGatewayAttachmentResult ¶
type GetDirectConnectGatewayAttachmentResult struct { DxGatewayId *string `pulumi:"dxGatewayId"` Filters []GetDirectConnectGatewayAttachmentFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Key-value tags for the EC2 Transit Gateway Attachment Tags map[string]string `pulumi:"tags"` TransitGatewayId *string `pulumi:"transitGatewayId"` }
A collection of values returned by getDirectConnectGatewayAttachment.
func GetDirectConnectGatewayAttachment ¶
func GetDirectConnectGatewayAttachment(ctx *pulumi.Context, args *GetDirectConnectGatewayAttachmentArgs, opts ...pulumi.InvokeOption) (*GetDirectConnectGatewayAttachmentResult, error)
Get information on an EC2 Transit Gateway's attachment to a Direct Connect Gateway.
## Example Usage ### By Transit Gateway and Direct Connect Gateway Identifiers
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := aws_ec2_transit_gateway.Example.Id opt1 := aws_dx_gateway.Example.Id _, err := ec2transitgateway.GetDirectConnectGatewayAttachment(ctx, &ec2transitgateway.GetDirectConnectGatewayAttachmentArgs{ TransitGatewayId: &opt0, DxGatewayId: &opt1, }, nil) if err != nil { return err } return nil }) }
```
type GetPeeringAttachmentFilter ¶
type GetPeeringAttachmentFilter struct { // The name of the field to filter by, as defined by // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayPeeringAttachments.html). Name string `pulumi:"name"` // Set of values that are accepted for the given field. // An EC2 Transit Gateway Peering Attachment be selected if any one of the given values matches. Values []string `pulumi:"values"` }
type GetPeeringAttachmentFilterArgs ¶
type GetPeeringAttachmentFilterArgs struct { // The name of the field to filter by, as defined by // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayPeeringAttachments.html). Name pulumi.StringInput `pulumi:"name"` // Set of values that are accepted for the given field. // An EC2 Transit Gateway Peering Attachment be selected if any one of the given values matches. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetPeeringAttachmentFilterArgs) ElementType ¶
func (GetPeeringAttachmentFilterArgs) ElementType() reflect.Type
func (GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutput ¶
func (i GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutput() GetPeeringAttachmentFilterOutput
func (GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutputWithContext ¶
func (i GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterOutput
type GetPeeringAttachmentFilterArray ¶
type GetPeeringAttachmentFilterArray []GetPeeringAttachmentFilterInput
func (GetPeeringAttachmentFilterArray) ElementType ¶
func (GetPeeringAttachmentFilterArray) ElementType() reflect.Type
func (GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutput ¶
func (i GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutput() GetPeeringAttachmentFilterArrayOutput
func (GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutputWithContext ¶
func (i GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterArrayOutput
type GetPeeringAttachmentFilterArrayInput ¶
type GetPeeringAttachmentFilterArrayInput interface { pulumi.Input ToGetPeeringAttachmentFilterArrayOutput() GetPeeringAttachmentFilterArrayOutput ToGetPeeringAttachmentFilterArrayOutputWithContext(context.Context) GetPeeringAttachmentFilterArrayOutput }
GetPeeringAttachmentFilterArrayInput is an input type that accepts GetPeeringAttachmentFilterArray and GetPeeringAttachmentFilterArrayOutput values. You can construct a concrete instance of `GetPeeringAttachmentFilterArrayInput` via:
GetPeeringAttachmentFilterArray{ GetPeeringAttachmentFilterArgs{...} }
type GetPeeringAttachmentFilterArrayOutput ¶
type GetPeeringAttachmentFilterArrayOutput struct{ *pulumi.OutputState }
func (GetPeeringAttachmentFilterArrayOutput) ElementType ¶
func (GetPeeringAttachmentFilterArrayOutput) ElementType() reflect.Type
func (GetPeeringAttachmentFilterArrayOutput) Index ¶
func (o GetPeeringAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetPeeringAttachmentFilterOutput
func (GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutput ¶
func (o GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutput() GetPeeringAttachmentFilterArrayOutput
func (GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutputWithContext ¶
func (o GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterArrayOutput
type GetPeeringAttachmentFilterInput ¶
type GetPeeringAttachmentFilterInput interface { pulumi.Input ToGetPeeringAttachmentFilterOutput() GetPeeringAttachmentFilterOutput ToGetPeeringAttachmentFilterOutputWithContext(context.Context) GetPeeringAttachmentFilterOutput }
GetPeeringAttachmentFilterInput is an input type that accepts GetPeeringAttachmentFilterArgs and GetPeeringAttachmentFilterOutput values. You can construct a concrete instance of `GetPeeringAttachmentFilterInput` via:
GetPeeringAttachmentFilterArgs{...}
type GetPeeringAttachmentFilterOutput ¶
type GetPeeringAttachmentFilterOutput struct{ *pulumi.OutputState }
func (GetPeeringAttachmentFilterOutput) ElementType ¶
func (GetPeeringAttachmentFilterOutput) ElementType() reflect.Type
func (GetPeeringAttachmentFilterOutput) Name ¶
func (o GetPeeringAttachmentFilterOutput) Name() pulumi.StringOutput
The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayPeeringAttachments.html).
func (GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutput ¶
func (o GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutput() GetPeeringAttachmentFilterOutput
func (GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutputWithContext ¶
func (o GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterOutput
func (GetPeeringAttachmentFilterOutput) Values ¶
func (o GetPeeringAttachmentFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. An EC2 Transit Gateway Peering Attachment be selected if any one of the given values matches.
type GetRouteTableFilter ¶
type GetRouteTableFilterArgs ¶
type GetRouteTableFilterArgs struct { // Name of the filter. Name pulumi.StringInput `pulumi:"name"` // List of one or more values for the filter. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetRouteTableFilterArgs) ElementType ¶
func (GetRouteTableFilterArgs) ElementType() reflect.Type
func (GetRouteTableFilterArgs) ToGetRouteTableFilterOutput ¶
func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput
func (GetRouteTableFilterArgs) ToGetRouteTableFilterOutputWithContext ¶
func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput
type GetRouteTableFilterArray ¶
type GetRouteTableFilterArray []GetRouteTableFilterInput
func (GetRouteTableFilterArray) ElementType ¶
func (GetRouteTableFilterArray) ElementType() reflect.Type
func (GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutput ¶
func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput
func (GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutputWithContext ¶
func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput
type GetRouteTableFilterArrayInput ¶
type GetRouteTableFilterArrayInput interface { pulumi.Input ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput ToGetRouteTableFilterArrayOutputWithContext(context.Context) GetRouteTableFilterArrayOutput }
GetRouteTableFilterArrayInput is an input type that accepts GetRouteTableFilterArray and GetRouteTableFilterArrayOutput values. You can construct a concrete instance of `GetRouteTableFilterArrayInput` via:
GetRouteTableFilterArray{ GetRouteTableFilterArgs{...} }
type GetRouteTableFilterArrayOutput ¶
type GetRouteTableFilterArrayOutput struct{ *pulumi.OutputState }
func (GetRouteTableFilterArrayOutput) ElementType ¶
func (GetRouteTableFilterArrayOutput) ElementType() reflect.Type
func (GetRouteTableFilterArrayOutput) Index ¶
func (o GetRouteTableFilterArrayOutput) Index(i pulumi.IntInput) GetRouteTableFilterOutput
func (GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput ¶
func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput
func (GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext ¶
func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput
type GetRouteTableFilterInput ¶
type GetRouteTableFilterInput interface { pulumi.Input ToGetRouteTableFilterOutput() GetRouteTableFilterOutput ToGetRouteTableFilterOutputWithContext(context.Context) GetRouteTableFilterOutput }
GetRouteTableFilterInput is an input type that accepts GetRouteTableFilterArgs and GetRouteTableFilterOutput values. You can construct a concrete instance of `GetRouteTableFilterInput` via:
GetRouteTableFilterArgs{...}
type GetRouteTableFilterOutput ¶
type GetRouteTableFilterOutput struct{ *pulumi.OutputState }
func (GetRouteTableFilterOutput) ElementType ¶
func (GetRouteTableFilterOutput) ElementType() reflect.Type
func (GetRouteTableFilterOutput) Name ¶
func (o GetRouteTableFilterOutput) Name() pulumi.StringOutput
Name of the filter.
func (GetRouteTableFilterOutput) ToGetRouteTableFilterOutput ¶
func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput
func (GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext ¶
func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput
func (GetRouteTableFilterOutput) Values ¶
func (o GetRouteTableFilterOutput) Values() pulumi.StringArrayOutput
List of one or more values for the filter.
type GetTransitGatewayFilter ¶
type GetTransitGatewayFilterArgs ¶
type GetTransitGatewayFilterArgs struct { // Name of the filter. Name pulumi.StringInput `pulumi:"name"` // List of one or more values for the filter. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetTransitGatewayFilterArgs) ElementType ¶
func (GetTransitGatewayFilterArgs) ElementType() reflect.Type
func (GetTransitGatewayFilterArgs) ToGetTransitGatewayFilterOutput ¶
func (i GetTransitGatewayFilterArgs) ToGetTransitGatewayFilterOutput() GetTransitGatewayFilterOutput
func (GetTransitGatewayFilterArgs) ToGetTransitGatewayFilterOutputWithContext ¶
func (i GetTransitGatewayFilterArgs) ToGetTransitGatewayFilterOutputWithContext(ctx context.Context) GetTransitGatewayFilterOutput
type GetTransitGatewayFilterArray ¶
type GetTransitGatewayFilterArray []GetTransitGatewayFilterInput
func (GetTransitGatewayFilterArray) ElementType ¶
func (GetTransitGatewayFilterArray) ElementType() reflect.Type
func (GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutput ¶
func (i GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutput() GetTransitGatewayFilterArrayOutput
func (GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutputWithContext ¶
func (i GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayFilterArrayOutput
type GetTransitGatewayFilterArrayInput ¶
type GetTransitGatewayFilterArrayInput interface { pulumi.Input ToGetTransitGatewayFilterArrayOutput() GetTransitGatewayFilterArrayOutput ToGetTransitGatewayFilterArrayOutputWithContext(context.Context) GetTransitGatewayFilterArrayOutput }
GetTransitGatewayFilterArrayInput is an input type that accepts GetTransitGatewayFilterArray and GetTransitGatewayFilterArrayOutput values. You can construct a concrete instance of `GetTransitGatewayFilterArrayInput` via:
GetTransitGatewayFilterArray{ GetTransitGatewayFilterArgs{...} }
type GetTransitGatewayFilterArrayOutput ¶
type GetTransitGatewayFilterArrayOutput struct{ *pulumi.OutputState }
func (GetTransitGatewayFilterArrayOutput) ElementType ¶
func (GetTransitGatewayFilterArrayOutput) ElementType() reflect.Type
func (GetTransitGatewayFilterArrayOutput) Index ¶
func (o GetTransitGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetTransitGatewayFilterOutput
func (GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutput ¶
func (o GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutput() GetTransitGatewayFilterArrayOutput
func (GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutputWithContext ¶
func (o GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayFilterArrayOutput
type GetTransitGatewayFilterInput ¶
type GetTransitGatewayFilterInput interface { pulumi.Input ToGetTransitGatewayFilterOutput() GetTransitGatewayFilterOutput ToGetTransitGatewayFilterOutputWithContext(context.Context) GetTransitGatewayFilterOutput }
GetTransitGatewayFilterInput is an input type that accepts GetTransitGatewayFilterArgs and GetTransitGatewayFilterOutput values. You can construct a concrete instance of `GetTransitGatewayFilterInput` via:
GetTransitGatewayFilterArgs{...}
type GetTransitGatewayFilterOutput ¶
type GetTransitGatewayFilterOutput struct{ *pulumi.OutputState }
func (GetTransitGatewayFilterOutput) ElementType ¶
func (GetTransitGatewayFilterOutput) ElementType() reflect.Type
func (GetTransitGatewayFilterOutput) Name ¶
func (o GetTransitGatewayFilterOutput) Name() pulumi.StringOutput
Name of the filter.
func (GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutput ¶
func (o GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutput() GetTransitGatewayFilterOutput
func (GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutputWithContext ¶
func (o GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutputWithContext(ctx context.Context) GetTransitGatewayFilterOutput
func (GetTransitGatewayFilterOutput) Values ¶
func (o GetTransitGatewayFilterOutput) Values() pulumi.StringArrayOutput
List of one or more values for the filter.
type GetVpcAttachmentFilter ¶
type GetVpcAttachmentFilterArgs ¶
type GetVpcAttachmentFilterArgs struct { // Name of the filter. Name pulumi.StringInput `pulumi:"name"` // List of one or more values for the filter. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetVpcAttachmentFilterArgs) ElementType ¶
func (GetVpcAttachmentFilterArgs) ElementType() reflect.Type
func (GetVpcAttachmentFilterArgs) ToGetVpcAttachmentFilterOutput ¶
func (i GetVpcAttachmentFilterArgs) ToGetVpcAttachmentFilterOutput() GetVpcAttachmentFilterOutput
func (GetVpcAttachmentFilterArgs) ToGetVpcAttachmentFilterOutputWithContext ¶
func (i GetVpcAttachmentFilterArgs) ToGetVpcAttachmentFilterOutputWithContext(ctx context.Context) GetVpcAttachmentFilterOutput
type GetVpcAttachmentFilterArray ¶
type GetVpcAttachmentFilterArray []GetVpcAttachmentFilterInput
func (GetVpcAttachmentFilterArray) ElementType ¶
func (GetVpcAttachmentFilterArray) ElementType() reflect.Type
func (GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutput ¶
func (i GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutput() GetVpcAttachmentFilterArrayOutput
func (GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutputWithContext ¶
func (i GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpcAttachmentFilterArrayOutput
type GetVpcAttachmentFilterArrayInput ¶
type GetVpcAttachmentFilterArrayInput interface { pulumi.Input ToGetVpcAttachmentFilterArrayOutput() GetVpcAttachmentFilterArrayOutput ToGetVpcAttachmentFilterArrayOutputWithContext(context.Context) GetVpcAttachmentFilterArrayOutput }
GetVpcAttachmentFilterArrayInput is an input type that accepts GetVpcAttachmentFilterArray and GetVpcAttachmentFilterArrayOutput values. You can construct a concrete instance of `GetVpcAttachmentFilterArrayInput` via:
GetVpcAttachmentFilterArray{ GetVpcAttachmentFilterArgs{...} }
type GetVpcAttachmentFilterArrayOutput ¶
type GetVpcAttachmentFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpcAttachmentFilterArrayOutput) ElementType ¶
func (GetVpcAttachmentFilterArrayOutput) ElementType() reflect.Type
func (GetVpcAttachmentFilterArrayOutput) Index ¶
func (o GetVpcAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetVpcAttachmentFilterOutput
func (GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutput ¶
func (o GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutput() GetVpcAttachmentFilterArrayOutput
func (GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutputWithContext ¶
func (o GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpcAttachmentFilterArrayOutput
type GetVpcAttachmentFilterInput ¶
type GetVpcAttachmentFilterInput interface { pulumi.Input ToGetVpcAttachmentFilterOutput() GetVpcAttachmentFilterOutput ToGetVpcAttachmentFilterOutputWithContext(context.Context) GetVpcAttachmentFilterOutput }
GetVpcAttachmentFilterInput is an input type that accepts GetVpcAttachmentFilterArgs and GetVpcAttachmentFilterOutput values. You can construct a concrete instance of `GetVpcAttachmentFilterInput` via:
GetVpcAttachmentFilterArgs{...}
type GetVpcAttachmentFilterOutput ¶
type GetVpcAttachmentFilterOutput struct{ *pulumi.OutputState }
func (GetVpcAttachmentFilterOutput) ElementType ¶
func (GetVpcAttachmentFilterOutput) ElementType() reflect.Type
func (GetVpcAttachmentFilterOutput) Name ¶
func (o GetVpcAttachmentFilterOutput) Name() pulumi.StringOutput
Name of the filter.
func (GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutput ¶
func (o GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutput() GetVpcAttachmentFilterOutput
func (GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutputWithContext ¶
func (o GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutputWithContext(ctx context.Context) GetVpcAttachmentFilterOutput
func (GetVpcAttachmentFilterOutput) Values ¶
func (o GetVpcAttachmentFilterOutput) Values() pulumi.StringArrayOutput
List of one or more values for the filter.
type GetVpnAttachmentArgs ¶
type GetVpnAttachmentArgs struct { // Configuration block(s) for filtering. Detailed below. Filters []GetVpnAttachmentFilter `pulumi:"filters"` // A map of tags, each pair of which must exactly match a pair on the desired Transit Gateway VPN Attachment. Tags map[string]string `pulumi:"tags"` // Identifier of the EC2 Transit Gateway. TransitGatewayId *string `pulumi:"transitGatewayId"` // Identifier of the EC2 VPN Connection. VpnConnectionId *string `pulumi:"vpnConnectionId"` }
A collection of arguments for invoking getVpnAttachment.
type GetVpnAttachmentFilter ¶
type GetVpnAttachmentFilter struct { // The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html). Name string `pulumi:"name"` // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. Values []string `pulumi:"values"` }
type GetVpnAttachmentFilterArgs ¶
type GetVpnAttachmentFilterArgs struct { // The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html). Name pulumi.StringInput `pulumi:"name"` // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetVpnAttachmentFilterArgs) ElementType ¶
func (GetVpnAttachmentFilterArgs) ElementType() reflect.Type
func (GetVpnAttachmentFilterArgs) ToGetVpnAttachmentFilterOutput ¶
func (i GetVpnAttachmentFilterArgs) ToGetVpnAttachmentFilterOutput() GetVpnAttachmentFilterOutput
func (GetVpnAttachmentFilterArgs) ToGetVpnAttachmentFilterOutputWithContext ¶
func (i GetVpnAttachmentFilterArgs) ToGetVpnAttachmentFilterOutputWithContext(ctx context.Context) GetVpnAttachmentFilterOutput
type GetVpnAttachmentFilterArray ¶
type GetVpnAttachmentFilterArray []GetVpnAttachmentFilterInput
func (GetVpnAttachmentFilterArray) ElementType ¶
func (GetVpnAttachmentFilterArray) ElementType() reflect.Type
func (GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutput ¶
func (i GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutput() GetVpnAttachmentFilterArrayOutput
func (GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutputWithContext ¶
func (i GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpnAttachmentFilterArrayOutput
type GetVpnAttachmentFilterArrayInput ¶
type GetVpnAttachmentFilterArrayInput interface { pulumi.Input ToGetVpnAttachmentFilterArrayOutput() GetVpnAttachmentFilterArrayOutput ToGetVpnAttachmentFilterArrayOutputWithContext(context.Context) GetVpnAttachmentFilterArrayOutput }
GetVpnAttachmentFilterArrayInput is an input type that accepts GetVpnAttachmentFilterArray and GetVpnAttachmentFilterArrayOutput values. You can construct a concrete instance of `GetVpnAttachmentFilterArrayInput` via:
GetVpnAttachmentFilterArray{ GetVpnAttachmentFilterArgs{...} }
type GetVpnAttachmentFilterArrayOutput ¶
type GetVpnAttachmentFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpnAttachmentFilterArrayOutput) ElementType ¶
func (GetVpnAttachmentFilterArrayOutput) ElementType() reflect.Type
func (GetVpnAttachmentFilterArrayOutput) Index ¶
func (o GetVpnAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetVpnAttachmentFilterOutput
func (GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutput ¶
func (o GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutput() GetVpnAttachmentFilterArrayOutput
func (GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutputWithContext ¶
func (o GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpnAttachmentFilterArrayOutput
type GetVpnAttachmentFilterInput ¶
type GetVpnAttachmentFilterInput interface { pulumi.Input ToGetVpnAttachmentFilterOutput() GetVpnAttachmentFilterOutput ToGetVpnAttachmentFilterOutputWithContext(context.Context) GetVpnAttachmentFilterOutput }
GetVpnAttachmentFilterInput is an input type that accepts GetVpnAttachmentFilterArgs and GetVpnAttachmentFilterOutput values. You can construct a concrete instance of `GetVpnAttachmentFilterInput` via:
GetVpnAttachmentFilterArgs{...}
type GetVpnAttachmentFilterOutput ¶
type GetVpnAttachmentFilterOutput struct{ *pulumi.OutputState }
func (GetVpnAttachmentFilterOutput) ElementType ¶
func (GetVpnAttachmentFilterOutput) ElementType() reflect.Type
func (GetVpnAttachmentFilterOutput) Name ¶
func (o GetVpnAttachmentFilterOutput) Name() pulumi.StringOutput
The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
func (GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutput ¶
func (o GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutput() GetVpnAttachmentFilterOutput
func (GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutputWithContext ¶
func (o GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutputWithContext(ctx context.Context) GetVpnAttachmentFilterOutput
func (GetVpnAttachmentFilterOutput) Values ¶
func (o GetVpnAttachmentFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
type GetVpnAttachmentResult ¶
type GetVpnAttachmentResult struct { Filters []GetVpnAttachmentFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Key-value tags for the EC2 Transit Gateway VPN Attachment Tags map[string]string `pulumi:"tags"` TransitGatewayId *string `pulumi:"transitGatewayId"` VpnConnectionId *string `pulumi:"vpnConnectionId"` }
A collection of values returned by getVpnAttachment.
func GetVpnAttachment ¶
func GetVpnAttachment(ctx *pulumi.Context, args *GetVpnAttachmentArgs, opts ...pulumi.InvokeOption) (*GetVpnAttachmentResult, error)
Get information on an EC2 Transit Gateway VPN Attachment.
> EC2 Transit Gateway VPN Attachments are implicitly created by VPN Connections referencing an EC2 Transit Gateway so there is no managed resource. For ease, the [`ec2.VpnConnection` resource](https://www.terraform.io/docs/providers/aws/r/vpn_connection.html) includes a `transitGatewayAttachmentId` attribute which can replace some usage of this data source. For tagging the attachment, see the [`ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html).
## Example Usage ### By Transit Gateway and VPN Connection Identifiers
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := aws_ec2_transit_gateway.Example.Id opt1 := aws_vpn_connection.Example.Id _, err := ec2transitgateway.GetVpnAttachment(ctx, &ec2transitgateway.GetVpnAttachmentArgs{ TransitGatewayId: &opt0, VpnConnectionId: &opt1, }, nil) if err != nil { return err } return nil }) }
``` ### Filter
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.GetVpnAttachment(ctx, &ec2transitgateway.GetVpnAttachmentArgs{ Filters: []ec2transitgateway.GetVpnAttachmentFilter{ ec2transitgateway.GetVpnAttachmentFilter{ Name: "resource-id", Values: []string{ "some-resource", }, }, }, }, nil) if err != nil { return err } return nil }) }
```
type LookupPeeringAttachmentArgs ¶
type LookupPeeringAttachmentArgs struct { // One or more configuration blocks containing name-values filters. Detailed below. Filters []GetPeeringAttachmentFilter `pulumi:"filters"` // Identifier of the EC2 Transit Gateway Peering Attachment. Id *string `pulumi:"id"` // A mapping of tags, each pair of which must exactly match // a pair on the specific EC2 Transit Gateway Peering Attachment to retrieve. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getPeeringAttachment.
type LookupPeeringAttachmentResult ¶
type LookupPeeringAttachmentResult struct { Filters []GetPeeringAttachmentFilter `pulumi:"filters"` Id string `pulumi:"id"` // Identifier of the peer AWS account PeerAccountId string `pulumi:"peerAccountId"` // Identifier of the peer AWS region PeerRegion string `pulumi:"peerRegion"` // Identifier of the peer EC2 Transit Gateway PeerTransitGatewayId string `pulumi:"peerTransitGatewayId"` Tags map[string]string `pulumi:"tags"` // Identifier of the local EC2 Transit Gateway TransitGatewayId string `pulumi:"transitGatewayId"` }
A collection of values returned by getPeeringAttachment.
func LookupPeeringAttachment ¶
func LookupPeeringAttachment(ctx *pulumi.Context, args *LookupPeeringAttachmentArgs, opts ...pulumi.InvokeOption) (*LookupPeeringAttachmentResult, error)
Get information on an EC2 Transit Gateway Peering Attachment.
## Example Usage ### By Filter
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.LookupPeeringAttachment(ctx, &ec2transitgateway.LookupPeeringAttachmentArgs{ Filters: []ec2transitgateway.GetPeeringAttachmentFilter{ ec2transitgateway.GetPeeringAttachmentFilter{ Name: "transit-gateway-attachment-id", Values: []string{ "tgw-attach-12345678", }, }, }, }, nil) if err != nil { return err } return nil }) }
``` ### By Identifier
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "tgw-attach-12345678" _, err := ec2transitgateway.LookupPeeringAttachment(ctx, &ec2transitgateway.LookupPeeringAttachmentArgs{ Id: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type LookupRouteTableArgs ¶
type LookupRouteTableArgs struct { // One or more configuration blocks containing name-values filters. Detailed below. Filters []GetRouteTableFilter `pulumi:"filters"` // Identifier of the EC2 Transit Gateway Route Table. Id *string `pulumi:"id"` // Key-value tags for the EC2 Transit Gateway Route Table Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getRouteTable.
type LookupRouteTableResult ¶
type LookupRouteTableResult struct { // EC2 Transit Gateway Route Table Amazon Resource Name (ARN). Arn string `pulumi:"arn"` // Boolean whether this is the default association route table for the EC2 Transit Gateway DefaultAssociationRouteTable bool `pulumi:"defaultAssociationRouteTable"` // Boolean whether this is the default propagation route table for the EC2 Transit Gateway DefaultPropagationRouteTable bool `pulumi:"defaultPropagationRouteTable"` Filters []GetRouteTableFilter `pulumi:"filters"` // EC2 Transit Gateway Route Table identifier Id string `pulumi:"id"` // Key-value tags for the EC2 Transit Gateway Route Table Tags map[string]string `pulumi:"tags"` // EC2 Transit Gateway identifier TransitGatewayId string `pulumi:"transitGatewayId"` }
A collection of values returned by getRouteTable.
func LookupRouteTable ¶
func LookupRouteTable(ctx *pulumi.Context, args *LookupRouteTableArgs, opts ...pulumi.InvokeOption) (*LookupRouteTableResult, error)
Get information on an EC2 Transit Gateway Route Table.
## Example Usage ### By Filter
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.LookupRouteTable(ctx, &ec2transitgateway.LookupRouteTableArgs{ Filters: []ec2transitgateway.GetRouteTableFilter{ ec2transitgateway.GetRouteTableFilter{ Name: "default-association-route-table", Values: []string{ "true", }, }, ec2transitgateway.GetRouteTableFilter{ Name: "transit-gateway-id", Values: []string{ "tgw-12345678", }, }, }, }, nil) if err != nil { return err } return nil }) }
``` ### By Identifier
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "tgw-rtb-12345678" _, err := ec2transitgateway.LookupRouteTable(ctx, &ec2transitgateway.LookupRouteTableArgs{ Id: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type LookupTransitGatewayArgs ¶
type LookupTransitGatewayArgs struct { // One or more configuration blocks containing name-values filters. Detailed below. Filters []GetTransitGatewayFilter `pulumi:"filters"` // Identifier of the EC2 Transit Gateway. Id *string `pulumi:"id"` // Key-value tags for the EC2 Transit Gateway Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getTransitGateway.
type LookupTransitGatewayResult ¶
type LookupTransitGatewayResult struct { // Private Autonomous System Number (ASN) for the Amazon side of a BGP session AmazonSideAsn int `pulumi:"amazonSideAsn"` // EC2 Transit Gateway Amazon Resource Name (ARN) Arn string `pulumi:"arn"` // Identifier of the default association route table AssociationDefaultRouteTableId string `pulumi:"associationDefaultRouteTableId"` AutoAcceptSharedAttachments string `pulumi:"autoAcceptSharedAttachments"` // Whether resource attachments are automatically associated with the default association route table. DefaultRouteTableAssociation string `pulumi:"defaultRouteTableAssociation"` // Whether resource attachments automatically propagate routes to the default propagation route table. DefaultRouteTablePropagation string `pulumi:"defaultRouteTablePropagation"` // Description of the EC2 Transit Gateway Description string `pulumi:"description"` // Whether DNS support is enabled. DnsSupport string `pulumi:"dnsSupport"` Filters []GetTransitGatewayFilter `pulumi:"filters"` // EC2 Transit Gateway identifier Id string `pulumi:"id"` // Identifier of the AWS account that owns the EC2 Transit Gateway OwnerId string `pulumi:"ownerId"` // Identifier of the default propagation route table. PropagationDefaultRouteTableId string `pulumi:"propagationDefaultRouteTableId"` // Key-value tags for the EC2 Transit Gateway Tags map[string]string `pulumi:"tags"` // Whether VPN Equal Cost Multipath Protocol support is enabled. VpnEcmpSupport string `pulumi:"vpnEcmpSupport"` }
A collection of values returned by getTransitGateway.
func LookupTransitGateway ¶
func LookupTransitGateway(ctx *pulumi.Context, args *LookupTransitGatewayArgs, opts ...pulumi.InvokeOption) (*LookupTransitGatewayResult, error)
Get information on an EC2 Transit Gateway.
## Example Usage ### By Filter
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.LookupTransitGateway(ctx, &ec2transitgateway.LookupTransitGatewayArgs{ Filters: []ec2transitgateway.GetTransitGatewayFilter{ ec2transitgateway.GetTransitGatewayFilter{ Name: "options.amazon-side-asn", Values: []string{ "64512", }, }, }, }, nil) if err != nil { return err } return nil }) }
``` ### By Identifier
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "tgw-12345678" _, err := ec2transitgateway.LookupTransitGateway(ctx, &ec2transitgateway.LookupTransitGatewayArgs{ Id: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type LookupVpcAttachmentArgs ¶
type LookupVpcAttachmentArgs struct { // One or more configuration blocks containing name-values filters. Detailed below. Filters []GetVpcAttachmentFilter `pulumi:"filters"` // Identifier of the EC2 Transit Gateway VPC Attachment. Id *string `pulumi:"id"` // Key-value tags for the EC2 Transit Gateway VPC Attachment Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getVpcAttachment.
type LookupVpcAttachmentResult ¶
type LookupVpcAttachmentResult struct { // Whether Appliance Mode support is enabled. ApplianceModeSupport string `pulumi:"applianceModeSupport"` // Whether DNS support is enabled. DnsSupport string `pulumi:"dnsSupport"` Filters []GetVpcAttachmentFilter `pulumi:"filters"` // EC2 Transit Gateway VPC Attachment identifier Id string `pulumi:"id"` // Whether IPv6 support is enabled. Ipv6Support string `pulumi:"ipv6Support"` // Identifiers of EC2 Subnets. SubnetIds []string `pulumi:"subnetIds"` // Key-value tags for the EC2 Transit Gateway VPC Attachment Tags map[string]string `pulumi:"tags"` // EC2 Transit Gateway identifier TransitGatewayId string `pulumi:"transitGatewayId"` // Identifier of EC2 VPC. VpcId string `pulumi:"vpcId"` // Identifier of the AWS account that owns the EC2 VPC. VpcOwnerId string `pulumi:"vpcOwnerId"` }
A collection of values returned by getVpcAttachment.
func LookupVpcAttachment ¶
func LookupVpcAttachment(ctx *pulumi.Context, args *LookupVpcAttachmentArgs, opts ...pulumi.InvokeOption) (*LookupVpcAttachmentResult, error)
Get information on an EC2 Transit Gateway VPC Attachment.
## Example Usage ### By Filter
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.LookupVpcAttachment(ctx, &ec2transitgateway.LookupVpcAttachmentArgs{ Filters: []ec2transitgateway.GetVpcAttachmentFilter{ ec2transitgateway.GetVpcAttachmentFilter{ Name: "vpc-id", Values: []string{ "vpc-12345678", }, }, }, }, nil) if err != nil { return err } return nil }) }
``` ### By Identifier
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "tgw-attach-12345678" _, err := ec2transitgateway.LookupVpcAttachment(ctx, &ec2transitgateway.LookupVpcAttachmentArgs{ Id: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type PeeringAttachment ¶
type PeeringAttachment struct { pulumi.CustomResourceState // Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the current provider is currently connected to. PeerAccountId pulumi.StringOutput `pulumi:"peerAccountId"` // Region of EC2 Transit Gateway to peer with. PeerRegion pulumi.StringOutput `pulumi:"peerRegion"` // Identifier of EC2 Transit Gateway to peer with. PeerTransitGatewayId pulumi.StringOutput `pulumi:"peerTransitGatewayId"` // Key-value tags for the EC2 Transit Gateway Peering Attachment. Tags pulumi.StringMapOutput `pulumi:"tags"` // Identifier of EC2 Transit Gateway. TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"` }
Manages an EC2 Transit Gateway Peering Attachment. For examples of custom route table association and propagation, see the [EC2 Transit Gateway Networking Examples Guide](https://docs.aws.amazon.com/vpc/latest/tgw/TGW_Scenarios.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := providers.Newaws(ctx, "local", &providers.awsArgs{ Region: pulumi.String("us-east-1"), }) if err != nil { return err } _, err = providers.Newaws(ctx, "peer", &providers.awsArgs{ Region: pulumi.String("us-west-2"), }) if err != nil { return err } peerRegion, err := aws.GetRegion(ctx, nil, nil) if err != nil { return err } localTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, "localTransitGateway", &ec2transitgateway.TransitGatewayArgs{ Tags: pulumi.StringMap{ "Name": pulumi.String("Local TGW"), }, }, pulumi.Provider(aws.Local)) if err != nil { return err } peerTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, "peerTransitGateway", &ec2transitgateway.TransitGatewayArgs{ Tags: pulumi.StringMap{ "Name": pulumi.String("Peer TGW"), }, }, pulumi.Provider(aws.Peer)) if err != nil { return err } _, err = ec2transitgateway.NewPeeringAttachment(ctx, "example", &ec2transitgateway.PeeringAttachmentArgs{ PeerAccountId: peerTransitGateway.OwnerId, PeerRegion: pulumi.String(peerRegion.Name), PeerTransitGatewayId: peerTransitGateway.ID(), TransitGatewayId: localTransitGateway.ID(), Tags: pulumi.StringMap{ "Name": pulumi.String("TGW Peering Requestor"), }, }) if err != nil { return err } return nil }) }
```
## Import
`aws_ec2_transit_gateway_peering_attachment` can be imported by using the EC2 Transit Gateway Attachment identifier, e.g.
```sh
$ pulumi import aws:ec2transitgateway/peeringAttachment:PeeringAttachment example tgw-attach-12345678
```
func GetPeeringAttachment ¶
func GetPeeringAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PeeringAttachmentState, opts ...pulumi.ResourceOption) (*PeeringAttachment, error)
GetPeeringAttachment gets an existing PeeringAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPeeringAttachment ¶
func NewPeeringAttachment(ctx *pulumi.Context, name string, args *PeeringAttachmentArgs, opts ...pulumi.ResourceOption) (*PeeringAttachment, error)
NewPeeringAttachment registers a new resource with the given unique name, arguments, and options.
func (*PeeringAttachment) ElementType ¶ added in v3.13.0
func (*PeeringAttachment) ElementType() reflect.Type
func (*PeeringAttachment) ToPeeringAttachmentOutput ¶ added in v3.13.0
func (i *PeeringAttachment) ToPeeringAttachmentOutput() PeeringAttachmentOutput
func (*PeeringAttachment) ToPeeringAttachmentOutputWithContext ¶ added in v3.13.0
func (i *PeeringAttachment) ToPeeringAttachmentOutputWithContext(ctx context.Context) PeeringAttachmentOutput
func (*PeeringAttachment) ToPeeringAttachmentPtrOutput ¶ added in v3.25.0
func (i *PeeringAttachment) ToPeeringAttachmentPtrOutput() PeeringAttachmentPtrOutput
func (*PeeringAttachment) ToPeeringAttachmentPtrOutputWithContext ¶ added in v3.25.0
func (i *PeeringAttachment) ToPeeringAttachmentPtrOutputWithContext(ctx context.Context) PeeringAttachmentPtrOutput
type PeeringAttachmentArgs ¶
type PeeringAttachmentArgs struct { // Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the current provider is currently connected to. PeerAccountId pulumi.StringPtrInput // Region of EC2 Transit Gateway to peer with. PeerRegion pulumi.StringInput // Identifier of EC2 Transit Gateway to peer with. PeerTransitGatewayId pulumi.StringInput // Key-value tags for the EC2 Transit Gateway Peering Attachment. Tags pulumi.StringMapInput // Identifier of EC2 Transit Gateway. TransitGatewayId pulumi.StringInput }
The set of arguments for constructing a PeeringAttachment resource.
func (PeeringAttachmentArgs) ElementType ¶
func (PeeringAttachmentArgs) ElementType() reflect.Type
type PeeringAttachmentArray ¶ added in v3.25.0
type PeeringAttachmentArray []PeeringAttachmentInput
func (PeeringAttachmentArray) ElementType ¶ added in v3.25.0
func (PeeringAttachmentArray) ElementType() reflect.Type
func (PeeringAttachmentArray) ToPeeringAttachmentArrayOutput ¶ added in v3.25.0
func (i PeeringAttachmentArray) ToPeeringAttachmentArrayOutput() PeeringAttachmentArrayOutput
func (PeeringAttachmentArray) ToPeeringAttachmentArrayOutputWithContext ¶ added in v3.25.0
func (i PeeringAttachmentArray) ToPeeringAttachmentArrayOutputWithContext(ctx context.Context) PeeringAttachmentArrayOutput
type PeeringAttachmentArrayInput ¶ added in v3.25.0
type PeeringAttachmentArrayInput interface { pulumi.Input ToPeeringAttachmentArrayOutput() PeeringAttachmentArrayOutput ToPeeringAttachmentArrayOutputWithContext(context.Context) PeeringAttachmentArrayOutput }
PeeringAttachmentArrayInput is an input type that accepts PeeringAttachmentArray and PeeringAttachmentArrayOutput values. You can construct a concrete instance of `PeeringAttachmentArrayInput` via:
PeeringAttachmentArray{ PeeringAttachmentArgs{...} }
type PeeringAttachmentArrayOutput ¶ added in v3.25.0
type PeeringAttachmentArrayOutput struct{ *pulumi.OutputState }
func (PeeringAttachmentArrayOutput) ElementType ¶ added in v3.25.0
func (PeeringAttachmentArrayOutput) ElementType() reflect.Type
func (PeeringAttachmentArrayOutput) Index ¶ added in v3.25.0
func (o PeeringAttachmentArrayOutput) Index(i pulumi.IntInput) PeeringAttachmentOutput
func (PeeringAttachmentArrayOutput) ToPeeringAttachmentArrayOutput ¶ added in v3.25.0
func (o PeeringAttachmentArrayOutput) ToPeeringAttachmentArrayOutput() PeeringAttachmentArrayOutput
func (PeeringAttachmentArrayOutput) ToPeeringAttachmentArrayOutputWithContext ¶ added in v3.25.0
func (o PeeringAttachmentArrayOutput) ToPeeringAttachmentArrayOutputWithContext(ctx context.Context) PeeringAttachmentArrayOutput
type PeeringAttachmentInput ¶ added in v3.13.0
type PeeringAttachmentInput interface { pulumi.Input ToPeeringAttachmentOutput() PeeringAttachmentOutput ToPeeringAttachmentOutputWithContext(ctx context.Context) PeeringAttachmentOutput }
type PeeringAttachmentMap ¶ added in v3.25.0
type PeeringAttachmentMap map[string]PeeringAttachmentInput
func (PeeringAttachmentMap) ElementType ¶ added in v3.25.0
func (PeeringAttachmentMap) ElementType() reflect.Type
func (PeeringAttachmentMap) ToPeeringAttachmentMapOutput ¶ added in v3.25.0
func (i PeeringAttachmentMap) ToPeeringAttachmentMapOutput() PeeringAttachmentMapOutput
func (PeeringAttachmentMap) ToPeeringAttachmentMapOutputWithContext ¶ added in v3.25.0
func (i PeeringAttachmentMap) ToPeeringAttachmentMapOutputWithContext(ctx context.Context) PeeringAttachmentMapOutput
type PeeringAttachmentMapInput ¶ added in v3.25.0
type PeeringAttachmentMapInput interface { pulumi.Input ToPeeringAttachmentMapOutput() PeeringAttachmentMapOutput ToPeeringAttachmentMapOutputWithContext(context.Context) PeeringAttachmentMapOutput }
PeeringAttachmentMapInput is an input type that accepts PeeringAttachmentMap and PeeringAttachmentMapOutput values. You can construct a concrete instance of `PeeringAttachmentMapInput` via:
PeeringAttachmentMap{ "key": PeeringAttachmentArgs{...} }
type PeeringAttachmentMapOutput ¶ added in v3.25.0
type PeeringAttachmentMapOutput struct{ *pulumi.OutputState }
func (PeeringAttachmentMapOutput) ElementType ¶ added in v3.25.0
func (PeeringAttachmentMapOutput) ElementType() reflect.Type
func (PeeringAttachmentMapOutput) MapIndex ¶ added in v3.25.0
func (o PeeringAttachmentMapOutput) MapIndex(k pulumi.StringInput) PeeringAttachmentOutput
func (PeeringAttachmentMapOutput) ToPeeringAttachmentMapOutput ¶ added in v3.25.0
func (o PeeringAttachmentMapOutput) ToPeeringAttachmentMapOutput() PeeringAttachmentMapOutput
func (PeeringAttachmentMapOutput) ToPeeringAttachmentMapOutputWithContext ¶ added in v3.25.0
func (o PeeringAttachmentMapOutput) ToPeeringAttachmentMapOutputWithContext(ctx context.Context) PeeringAttachmentMapOutput
type PeeringAttachmentOutput ¶ added in v3.13.0
type PeeringAttachmentOutput struct {
*pulumi.OutputState
}
func (PeeringAttachmentOutput) ElementType ¶ added in v3.13.0
func (PeeringAttachmentOutput) ElementType() reflect.Type
func (PeeringAttachmentOutput) ToPeeringAttachmentOutput ¶ added in v3.13.0
func (o PeeringAttachmentOutput) ToPeeringAttachmentOutput() PeeringAttachmentOutput
func (PeeringAttachmentOutput) ToPeeringAttachmentOutputWithContext ¶ added in v3.13.0
func (o PeeringAttachmentOutput) ToPeeringAttachmentOutputWithContext(ctx context.Context) PeeringAttachmentOutput
func (PeeringAttachmentOutput) ToPeeringAttachmentPtrOutput ¶ added in v3.25.0
func (o PeeringAttachmentOutput) ToPeeringAttachmentPtrOutput() PeeringAttachmentPtrOutput
func (PeeringAttachmentOutput) ToPeeringAttachmentPtrOutputWithContext ¶ added in v3.25.0
func (o PeeringAttachmentOutput) ToPeeringAttachmentPtrOutputWithContext(ctx context.Context) PeeringAttachmentPtrOutput
type PeeringAttachmentPtrInput ¶ added in v3.25.0
type PeeringAttachmentPtrInput interface { pulumi.Input ToPeeringAttachmentPtrOutput() PeeringAttachmentPtrOutput ToPeeringAttachmentPtrOutputWithContext(ctx context.Context) PeeringAttachmentPtrOutput }
type PeeringAttachmentPtrOutput ¶ added in v3.25.0
type PeeringAttachmentPtrOutput struct {
*pulumi.OutputState
}
func (PeeringAttachmentPtrOutput) ElementType ¶ added in v3.25.0
func (PeeringAttachmentPtrOutput) ElementType() reflect.Type
func (PeeringAttachmentPtrOutput) ToPeeringAttachmentPtrOutput ¶ added in v3.25.0
func (o PeeringAttachmentPtrOutput) ToPeeringAttachmentPtrOutput() PeeringAttachmentPtrOutput
func (PeeringAttachmentPtrOutput) ToPeeringAttachmentPtrOutputWithContext ¶ added in v3.25.0
func (o PeeringAttachmentPtrOutput) ToPeeringAttachmentPtrOutputWithContext(ctx context.Context) PeeringAttachmentPtrOutput
type PeeringAttachmentState ¶
type PeeringAttachmentState struct { // Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the current provider is currently connected to. PeerAccountId pulumi.StringPtrInput // Region of EC2 Transit Gateway to peer with. PeerRegion pulumi.StringPtrInput // Identifier of EC2 Transit Gateway to peer with. PeerTransitGatewayId pulumi.StringPtrInput // Key-value tags for the EC2 Transit Gateway Peering Attachment. Tags pulumi.StringMapInput // Identifier of EC2 Transit Gateway. TransitGatewayId pulumi.StringPtrInput }
func (PeeringAttachmentState) ElementType ¶
func (PeeringAttachmentState) ElementType() reflect.Type
type PrefixListReference ¶ added in v3.28.0
type PrefixListReference struct { pulumi.CustomResourceState // Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`. Blackhole pulumi.BoolPtrOutput `pulumi:"blackhole"` // Identifier of EC2 Prefix List. PrefixListId pulumi.StringOutput `pulumi:"prefixListId"` PrefixListOwnerId pulumi.StringOutput `pulumi:"prefixListOwnerId"` // Identifier of EC2 Transit Gateway Attachment. TransitGatewayAttachmentId pulumi.StringPtrOutput `pulumi:"transitGatewayAttachmentId"` // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringOutput `pulumi:"transitGatewayRouteTableId"` }
Manages an EC2 Transit Gateway Prefix List Reference.
## Example Usage ### Attachment Routing
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.NewPrefixListReference(ctx, "example", &ec2transitgateway.PrefixListReferenceArgs{ PrefixListId: pulumi.Any(aws_ec2_managed_prefix_list.Example.Id), TransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id), TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway.Example.Association_default_route_table_id), }) if err != nil { return err } return nil }) }
``` ### Blackhole Routing
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.NewPrefixListReference(ctx, "example", &ec2transitgateway.PrefixListReferenceArgs{ Blackhole: pulumi.Bool(true), PrefixListId: pulumi.Any(aws_ec2_managed_prefix_list.Example.Id), TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway.Example.Association_default_route_table_id), }) if err != nil { return err } return nil }) }
```
## Import
`aws_ec2_transit_gateway_prefix_list_reference` can be imported by using the EC2 Transit Gateway Route Table identifier and EC2 Prefix List identifier, separated by an underscore (`_`), e.g. console
```sh
$ pulumi import aws:ec2transitgateway/prefixListReference:PrefixListReference example tgw-rtb-12345678_pl-12345678
```
func GetPrefixListReference ¶ added in v3.28.0
func GetPrefixListReference(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PrefixListReferenceState, opts ...pulumi.ResourceOption) (*PrefixListReference, error)
GetPrefixListReference gets an existing PrefixListReference resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPrefixListReference ¶ added in v3.28.0
func NewPrefixListReference(ctx *pulumi.Context, name string, args *PrefixListReferenceArgs, opts ...pulumi.ResourceOption) (*PrefixListReference, error)
NewPrefixListReference registers a new resource with the given unique name, arguments, and options.
func (*PrefixListReference) ElementType ¶ added in v3.28.0
func (*PrefixListReference) ElementType() reflect.Type
func (*PrefixListReference) ToPrefixListReferenceOutput ¶ added in v3.28.0
func (i *PrefixListReference) ToPrefixListReferenceOutput() PrefixListReferenceOutput
func (*PrefixListReference) ToPrefixListReferenceOutputWithContext ¶ added in v3.28.0
func (i *PrefixListReference) ToPrefixListReferenceOutputWithContext(ctx context.Context) PrefixListReferenceOutput
func (*PrefixListReference) ToPrefixListReferencePtrOutput ¶ added in v3.28.0
func (i *PrefixListReference) ToPrefixListReferencePtrOutput() PrefixListReferencePtrOutput
func (*PrefixListReference) ToPrefixListReferencePtrOutputWithContext ¶ added in v3.28.0
func (i *PrefixListReference) ToPrefixListReferencePtrOutputWithContext(ctx context.Context) PrefixListReferencePtrOutput
type PrefixListReferenceArgs ¶ added in v3.28.0
type PrefixListReferenceArgs struct { // Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`. Blackhole pulumi.BoolPtrInput // Identifier of EC2 Prefix List. PrefixListId pulumi.StringInput // Identifier of EC2 Transit Gateway Attachment. TransitGatewayAttachmentId pulumi.StringPtrInput // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringInput }
The set of arguments for constructing a PrefixListReference resource.
func (PrefixListReferenceArgs) ElementType ¶ added in v3.28.0
func (PrefixListReferenceArgs) ElementType() reflect.Type
type PrefixListReferenceArray ¶ added in v3.28.0
type PrefixListReferenceArray []PrefixListReferenceInput
func (PrefixListReferenceArray) ElementType ¶ added in v3.28.0
func (PrefixListReferenceArray) ElementType() reflect.Type
func (PrefixListReferenceArray) ToPrefixListReferenceArrayOutput ¶ added in v3.28.0
func (i PrefixListReferenceArray) ToPrefixListReferenceArrayOutput() PrefixListReferenceArrayOutput
func (PrefixListReferenceArray) ToPrefixListReferenceArrayOutputWithContext ¶ added in v3.28.0
func (i PrefixListReferenceArray) ToPrefixListReferenceArrayOutputWithContext(ctx context.Context) PrefixListReferenceArrayOutput
type PrefixListReferenceArrayInput ¶ added in v3.28.0
type PrefixListReferenceArrayInput interface { pulumi.Input ToPrefixListReferenceArrayOutput() PrefixListReferenceArrayOutput ToPrefixListReferenceArrayOutputWithContext(context.Context) PrefixListReferenceArrayOutput }
PrefixListReferenceArrayInput is an input type that accepts PrefixListReferenceArray and PrefixListReferenceArrayOutput values. You can construct a concrete instance of `PrefixListReferenceArrayInput` via:
PrefixListReferenceArray{ PrefixListReferenceArgs{...} }
type PrefixListReferenceArrayOutput ¶ added in v3.28.0
type PrefixListReferenceArrayOutput struct{ *pulumi.OutputState }
func (PrefixListReferenceArrayOutput) ElementType ¶ added in v3.28.0
func (PrefixListReferenceArrayOutput) ElementType() reflect.Type
func (PrefixListReferenceArrayOutput) Index ¶ added in v3.28.0
func (o PrefixListReferenceArrayOutput) Index(i pulumi.IntInput) PrefixListReferenceOutput
func (PrefixListReferenceArrayOutput) ToPrefixListReferenceArrayOutput ¶ added in v3.28.0
func (o PrefixListReferenceArrayOutput) ToPrefixListReferenceArrayOutput() PrefixListReferenceArrayOutput
func (PrefixListReferenceArrayOutput) ToPrefixListReferenceArrayOutputWithContext ¶ added in v3.28.0
func (o PrefixListReferenceArrayOutput) ToPrefixListReferenceArrayOutputWithContext(ctx context.Context) PrefixListReferenceArrayOutput
type PrefixListReferenceInput ¶ added in v3.28.0
type PrefixListReferenceInput interface { pulumi.Input ToPrefixListReferenceOutput() PrefixListReferenceOutput ToPrefixListReferenceOutputWithContext(ctx context.Context) PrefixListReferenceOutput }
type PrefixListReferenceMap ¶ added in v3.28.0
type PrefixListReferenceMap map[string]PrefixListReferenceInput
func (PrefixListReferenceMap) ElementType ¶ added in v3.28.0
func (PrefixListReferenceMap) ElementType() reflect.Type
func (PrefixListReferenceMap) ToPrefixListReferenceMapOutput ¶ added in v3.28.0
func (i PrefixListReferenceMap) ToPrefixListReferenceMapOutput() PrefixListReferenceMapOutput
func (PrefixListReferenceMap) ToPrefixListReferenceMapOutputWithContext ¶ added in v3.28.0
func (i PrefixListReferenceMap) ToPrefixListReferenceMapOutputWithContext(ctx context.Context) PrefixListReferenceMapOutput
type PrefixListReferenceMapInput ¶ added in v3.28.0
type PrefixListReferenceMapInput interface { pulumi.Input ToPrefixListReferenceMapOutput() PrefixListReferenceMapOutput ToPrefixListReferenceMapOutputWithContext(context.Context) PrefixListReferenceMapOutput }
PrefixListReferenceMapInput is an input type that accepts PrefixListReferenceMap and PrefixListReferenceMapOutput values. You can construct a concrete instance of `PrefixListReferenceMapInput` via:
PrefixListReferenceMap{ "key": PrefixListReferenceArgs{...} }
type PrefixListReferenceMapOutput ¶ added in v3.28.0
type PrefixListReferenceMapOutput struct{ *pulumi.OutputState }
func (PrefixListReferenceMapOutput) ElementType ¶ added in v3.28.0
func (PrefixListReferenceMapOutput) ElementType() reflect.Type
func (PrefixListReferenceMapOutput) MapIndex ¶ added in v3.28.0
func (o PrefixListReferenceMapOutput) MapIndex(k pulumi.StringInput) PrefixListReferenceOutput
func (PrefixListReferenceMapOutput) ToPrefixListReferenceMapOutput ¶ added in v3.28.0
func (o PrefixListReferenceMapOutput) ToPrefixListReferenceMapOutput() PrefixListReferenceMapOutput
func (PrefixListReferenceMapOutput) ToPrefixListReferenceMapOutputWithContext ¶ added in v3.28.0
func (o PrefixListReferenceMapOutput) ToPrefixListReferenceMapOutputWithContext(ctx context.Context) PrefixListReferenceMapOutput
type PrefixListReferenceOutput ¶ added in v3.28.0
type PrefixListReferenceOutput struct {
*pulumi.OutputState
}
func (PrefixListReferenceOutput) ElementType ¶ added in v3.28.0
func (PrefixListReferenceOutput) ElementType() reflect.Type
func (PrefixListReferenceOutput) ToPrefixListReferenceOutput ¶ added in v3.28.0
func (o PrefixListReferenceOutput) ToPrefixListReferenceOutput() PrefixListReferenceOutput
func (PrefixListReferenceOutput) ToPrefixListReferenceOutputWithContext ¶ added in v3.28.0
func (o PrefixListReferenceOutput) ToPrefixListReferenceOutputWithContext(ctx context.Context) PrefixListReferenceOutput
func (PrefixListReferenceOutput) ToPrefixListReferencePtrOutput ¶ added in v3.28.0
func (o PrefixListReferenceOutput) ToPrefixListReferencePtrOutput() PrefixListReferencePtrOutput
func (PrefixListReferenceOutput) ToPrefixListReferencePtrOutputWithContext ¶ added in v3.28.0
func (o PrefixListReferenceOutput) ToPrefixListReferencePtrOutputWithContext(ctx context.Context) PrefixListReferencePtrOutput
type PrefixListReferencePtrInput ¶ added in v3.28.0
type PrefixListReferencePtrInput interface { pulumi.Input ToPrefixListReferencePtrOutput() PrefixListReferencePtrOutput ToPrefixListReferencePtrOutputWithContext(ctx context.Context) PrefixListReferencePtrOutput }
type PrefixListReferencePtrOutput ¶ added in v3.28.0
type PrefixListReferencePtrOutput struct {
*pulumi.OutputState
}
func (PrefixListReferencePtrOutput) ElementType ¶ added in v3.28.0
func (PrefixListReferencePtrOutput) ElementType() reflect.Type
func (PrefixListReferencePtrOutput) ToPrefixListReferencePtrOutput ¶ added in v3.28.0
func (o PrefixListReferencePtrOutput) ToPrefixListReferencePtrOutput() PrefixListReferencePtrOutput
func (PrefixListReferencePtrOutput) ToPrefixListReferencePtrOutputWithContext ¶ added in v3.28.0
func (o PrefixListReferencePtrOutput) ToPrefixListReferencePtrOutputWithContext(ctx context.Context) PrefixListReferencePtrOutput
type PrefixListReferenceState ¶ added in v3.28.0
type PrefixListReferenceState struct { // Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`. Blackhole pulumi.BoolPtrInput // Identifier of EC2 Prefix List. PrefixListId pulumi.StringPtrInput PrefixListOwnerId pulumi.StringPtrInput // Identifier of EC2 Transit Gateway Attachment. TransitGatewayAttachmentId pulumi.StringPtrInput // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringPtrInput }
func (PrefixListReferenceState) ElementType ¶ added in v3.28.0
func (PrefixListReferenceState) ElementType() reflect.Type
type Route ¶
type Route struct { pulumi.CustomResourceState // Indicates whether to drop traffic that matches this route (default to `false`). Blackhole pulumi.BoolPtrOutput `pulumi:"blackhole"` // IPv4 or IPv6 RFC1924 CIDR used for destination matches. Routing decisions are based on the most specific match. DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"` // Identifier of EC2 Transit Gateway Attachment (required if `blackhole` is set to false). TransitGatewayAttachmentId pulumi.StringPtrOutput `pulumi:"transitGatewayAttachmentId"` // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringOutput `pulumi:"transitGatewayRouteTableId"` }
Manages an EC2 Transit Gateway Route.
## Example Usage ### Standard usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.NewRoute(ctx, "example", &ec2transitgateway.RouteArgs{ DestinationCidrBlock: pulumi.String("0.0.0.0/0"), TransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id), TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway.Example.Association_default_route_table_id), }) if err != nil { return err } return nil }) }
``` ### Blackhole route
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.NewRoute(ctx, "example", &ec2transitgateway.RouteArgs{ DestinationCidrBlock: pulumi.String("0.0.0.0/0"), Blackhole: pulumi.Bool(true), TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway.Example.Association_default_route_table_id), }) if err != nil { return err } return nil }) }
```
## Import
`aws_ec2_transit_gateway_route` can be imported by using the EC2 Transit Gateway Route Table, an underscore, and the destination, e.g.
```sh
$ pulumi import aws:ec2transitgateway/route:Route example tgw-rtb-12345678_0.0.0.0/0
```
func GetRoute ¶
func GetRoute(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RouteState, opts ...pulumi.ResourceOption) (*Route, error)
GetRoute gets an existing Route resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRoute ¶
func NewRoute(ctx *pulumi.Context, name string, args *RouteArgs, opts ...pulumi.ResourceOption) (*Route, error)
NewRoute registers a new resource with the given unique name, arguments, and options.
func (*Route) ElementType ¶ added in v3.13.0
func (*Route) ToRouteOutput ¶ added in v3.13.0
func (i *Route) ToRouteOutput() RouteOutput
func (*Route) ToRouteOutputWithContext ¶ added in v3.13.0
func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput
func (*Route) ToRoutePtrOutput ¶ added in v3.25.0
func (i *Route) ToRoutePtrOutput() RoutePtrOutput
func (*Route) ToRoutePtrOutputWithContext ¶ added in v3.25.0
func (i *Route) ToRoutePtrOutputWithContext(ctx context.Context) RoutePtrOutput
type RouteArgs ¶
type RouteArgs struct { // Indicates whether to drop traffic that matches this route (default to `false`). Blackhole pulumi.BoolPtrInput // IPv4 or IPv6 RFC1924 CIDR used for destination matches. Routing decisions are based on the most specific match. DestinationCidrBlock pulumi.StringInput // Identifier of EC2 Transit Gateway Attachment (required if `blackhole` is set to false). TransitGatewayAttachmentId pulumi.StringPtrInput // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringInput }
The set of arguments for constructing a Route resource.
func (RouteArgs) ElementType ¶
type RouteArray ¶ added in v3.25.0
type RouteArray []RouteInput
func (RouteArray) ElementType ¶ added in v3.25.0
func (RouteArray) ElementType() reflect.Type
func (RouteArray) ToRouteArrayOutput ¶ added in v3.25.0
func (i RouteArray) ToRouteArrayOutput() RouteArrayOutput
func (RouteArray) ToRouteArrayOutputWithContext ¶ added in v3.25.0
func (i RouteArray) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput
type RouteArrayInput ¶ added in v3.25.0
type RouteArrayInput interface { pulumi.Input ToRouteArrayOutput() RouteArrayOutput ToRouteArrayOutputWithContext(context.Context) RouteArrayOutput }
RouteArrayInput is an input type that accepts RouteArray and RouteArrayOutput values. You can construct a concrete instance of `RouteArrayInput` via:
RouteArray{ RouteArgs{...} }
type RouteArrayOutput ¶ added in v3.25.0
type RouteArrayOutput struct{ *pulumi.OutputState }
func (RouteArrayOutput) ElementType ¶ added in v3.25.0
func (RouteArrayOutput) ElementType() reflect.Type
func (RouteArrayOutput) Index ¶ added in v3.25.0
func (o RouteArrayOutput) Index(i pulumi.IntInput) RouteOutput
func (RouteArrayOutput) ToRouteArrayOutput ¶ added in v3.25.0
func (o RouteArrayOutput) ToRouteArrayOutput() RouteArrayOutput
func (RouteArrayOutput) ToRouteArrayOutputWithContext ¶ added in v3.25.0
func (o RouteArrayOutput) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput
type RouteInput ¶ added in v3.13.0
type RouteInput interface { pulumi.Input ToRouteOutput() RouteOutput ToRouteOutputWithContext(ctx context.Context) RouteOutput }
type RouteMap ¶ added in v3.25.0
type RouteMap map[string]RouteInput
func (RouteMap) ElementType ¶ added in v3.25.0
func (RouteMap) ToRouteMapOutput ¶ added in v3.25.0
func (i RouteMap) ToRouteMapOutput() RouteMapOutput
func (RouteMap) ToRouteMapOutputWithContext ¶ added in v3.25.0
func (i RouteMap) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput
type RouteMapInput ¶ added in v3.25.0
type RouteMapInput interface { pulumi.Input ToRouteMapOutput() RouteMapOutput ToRouteMapOutputWithContext(context.Context) RouteMapOutput }
RouteMapInput is an input type that accepts RouteMap and RouteMapOutput values. You can construct a concrete instance of `RouteMapInput` via:
RouteMap{ "key": RouteArgs{...} }
type RouteMapOutput ¶ added in v3.25.0
type RouteMapOutput struct{ *pulumi.OutputState }
func (RouteMapOutput) ElementType ¶ added in v3.25.0
func (RouteMapOutput) ElementType() reflect.Type
func (RouteMapOutput) MapIndex ¶ added in v3.25.0
func (o RouteMapOutput) MapIndex(k pulumi.StringInput) RouteOutput
func (RouteMapOutput) ToRouteMapOutput ¶ added in v3.25.0
func (o RouteMapOutput) ToRouteMapOutput() RouteMapOutput
func (RouteMapOutput) ToRouteMapOutputWithContext ¶ added in v3.25.0
func (o RouteMapOutput) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput
type RouteOutput ¶ added in v3.13.0
type RouteOutput struct {
*pulumi.OutputState
}
func (RouteOutput) ElementType ¶ added in v3.13.0
func (RouteOutput) ElementType() reflect.Type
func (RouteOutput) ToRouteOutput ¶ added in v3.13.0
func (o RouteOutput) ToRouteOutput() RouteOutput
func (RouteOutput) ToRouteOutputWithContext ¶ added in v3.13.0
func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput
func (RouteOutput) ToRoutePtrOutput ¶ added in v3.25.0
func (o RouteOutput) ToRoutePtrOutput() RoutePtrOutput
func (RouteOutput) ToRoutePtrOutputWithContext ¶ added in v3.25.0
func (o RouteOutput) ToRoutePtrOutputWithContext(ctx context.Context) RoutePtrOutput
type RoutePtrInput ¶ added in v3.25.0
type RoutePtrInput interface { pulumi.Input ToRoutePtrOutput() RoutePtrOutput ToRoutePtrOutputWithContext(ctx context.Context) RoutePtrOutput }
type RoutePtrOutput ¶ added in v3.25.0
type RoutePtrOutput struct {
*pulumi.OutputState
}
func (RoutePtrOutput) ElementType ¶ added in v3.25.0
func (RoutePtrOutput) ElementType() reflect.Type
func (RoutePtrOutput) ToRoutePtrOutput ¶ added in v3.25.0
func (o RoutePtrOutput) ToRoutePtrOutput() RoutePtrOutput
func (RoutePtrOutput) ToRoutePtrOutputWithContext ¶ added in v3.25.0
func (o RoutePtrOutput) ToRoutePtrOutputWithContext(ctx context.Context) RoutePtrOutput
type RouteState ¶
type RouteState struct { // Indicates whether to drop traffic that matches this route (default to `false`). Blackhole pulumi.BoolPtrInput // IPv4 or IPv6 RFC1924 CIDR used for destination matches. Routing decisions are based on the most specific match. DestinationCidrBlock pulumi.StringPtrInput // Identifier of EC2 Transit Gateway Attachment (required if `blackhole` is set to false). TransitGatewayAttachmentId pulumi.StringPtrInput // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringPtrInput }
func (RouteState) ElementType ¶
func (RouteState) ElementType() reflect.Type
type RouteTable ¶
type RouteTable struct { pulumi.CustomResourceState // EC2 Transit Gateway Route Table Amazon Resource Name (ARN). Arn pulumi.StringOutput `pulumi:"arn"` // Boolean whether this is the default association route table for the EC2 Transit Gateway. DefaultAssociationRouteTable pulumi.BoolOutput `pulumi:"defaultAssociationRouteTable"` // Boolean whether this is the default propagation route table for the EC2 Transit Gateway. DefaultPropagationRouteTable pulumi.BoolOutput `pulumi:"defaultPropagationRouteTable"` // Key-value tags for the EC2 Transit Gateway Route Table. Tags pulumi.StringMapOutput `pulumi:"tags"` // Identifier of EC2 Transit Gateway. TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"` }
Manages an EC2 Transit Gateway Route Table.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.NewRouteTable(ctx, "example", &ec2transitgateway.RouteTableArgs{ TransitGatewayId: pulumi.Any(aws_ec2_transit_gateway.Example.Id), }) if err != nil { return err } return nil }) }
```
## Import
`aws_ec2_transit_gateway_route_table` can be imported by using the EC2 Transit Gateway Route Table identifier, e.g.
```sh
$ pulumi import aws:ec2transitgateway/routeTable:RouteTable example tgw-rtb-12345678
```
func GetRouteTable ¶
func GetRouteTable(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RouteTableState, opts ...pulumi.ResourceOption) (*RouteTable, error)
GetRouteTable gets an existing RouteTable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRouteTable ¶
func NewRouteTable(ctx *pulumi.Context, name string, args *RouteTableArgs, opts ...pulumi.ResourceOption) (*RouteTable, error)
NewRouteTable registers a new resource with the given unique name, arguments, and options.
func (*RouteTable) ElementType ¶ added in v3.13.0
func (*RouteTable) ElementType() reflect.Type
func (*RouteTable) ToRouteTableOutput ¶ added in v3.13.0
func (i *RouteTable) ToRouteTableOutput() RouteTableOutput
func (*RouteTable) ToRouteTableOutputWithContext ¶ added in v3.13.0
func (i *RouteTable) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput
func (*RouteTable) ToRouteTablePtrOutput ¶ added in v3.25.0
func (i *RouteTable) ToRouteTablePtrOutput() RouteTablePtrOutput
func (*RouteTable) ToRouteTablePtrOutputWithContext ¶ added in v3.25.0
func (i *RouteTable) ToRouteTablePtrOutputWithContext(ctx context.Context) RouteTablePtrOutput
type RouteTableArgs ¶
type RouteTableArgs struct { // Key-value tags for the EC2 Transit Gateway Route Table. Tags pulumi.StringMapInput // Identifier of EC2 Transit Gateway. TransitGatewayId pulumi.StringInput }
The set of arguments for constructing a RouteTable resource.
func (RouteTableArgs) ElementType ¶
func (RouteTableArgs) ElementType() reflect.Type
type RouteTableArray ¶ added in v3.25.0
type RouteTableArray []RouteTableInput
func (RouteTableArray) ElementType ¶ added in v3.25.0
func (RouteTableArray) ElementType() reflect.Type
func (RouteTableArray) ToRouteTableArrayOutput ¶ added in v3.25.0
func (i RouteTableArray) ToRouteTableArrayOutput() RouteTableArrayOutput
func (RouteTableArray) ToRouteTableArrayOutputWithContext ¶ added in v3.25.0
func (i RouteTableArray) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput
type RouteTableArrayInput ¶ added in v3.25.0
type RouteTableArrayInput interface { pulumi.Input ToRouteTableArrayOutput() RouteTableArrayOutput ToRouteTableArrayOutputWithContext(context.Context) RouteTableArrayOutput }
RouteTableArrayInput is an input type that accepts RouteTableArray and RouteTableArrayOutput values. You can construct a concrete instance of `RouteTableArrayInput` via:
RouteTableArray{ RouteTableArgs{...} }
type RouteTableArrayOutput ¶ added in v3.25.0
type RouteTableArrayOutput struct{ *pulumi.OutputState }
func (RouteTableArrayOutput) ElementType ¶ added in v3.25.0
func (RouteTableArrayOutput) ElementType() reflect.Type
func (RouteTableArrayOutput) Index ¶ added in v3.25.0
func (o RouteTableArrayOutput) Index(i pulumi.IntInput) RouteTableOutput
func (RouteTableArrayOutput) ToRouteTableArrayOutput ¶ added in v3.25.0
func (o RouteTableArrayOutput) ToRouteTableArrayOutput() RouteTableArrayOutput
func (RouteTableArrayOutput) ToRouteTableArrayOutputWithContext ¶ added in v3.25.0
func (o RouteTableArrayOutput) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput
type RouteTableAssociation ¶
type RouteTableAssociation struct { pulumi.CustomResourceState // Identifier of the resource ResourceId pulumi.StringOutput `pulumi:"resourceId"` // Type of the resource ResourceType pulumi.StringOutput `pulumi:"resourceType"` // Identifier of EC2 Transit Gateway Attachment. TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"` // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringOutput `pulumi:"transitGatewayRouteTableId"` }
Manages an EC2 Transit Gateway Route Table association.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.NewRouteTableAssociation(ctx, "example", &ec2transitgateway.RouteTableAssociationArgs{ TransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id), TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway_route_table.Example.Id), }) if err != nil { return err } return nil }) }
```
## Import
`aws_ec2_transit_gateway_route_table_association` can be imported by using the EC2 Transit Gateway Route Table identifier, an underscore, and the EC2 Transit Gateway Attachment identifier, e.g.
```sh
$ pulumi import aws:ec2transitgateway/routeTableAssociation:RouteTableAssociation example tgw-rtb-12345678_tgw-attach-87654321
```
func GetRouteTableAssociation ¶
func GetRouteTableAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RouteTableAssociationState, opts ...pulumi.ResourceOption) (*RouteTableAssociation, error)
GetRouteTableAssociation gets an existing RouteTableAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRouteTableAssociation ¶
func NewRouteTableAssociation(ctx *pulumi.Context, name string, args *RouteTableAssociationArgs, opts ...pulumi.ResourceOption) (*RouteTableAssociation, error)
NewRouteTableAssociation registers a new resource with the given unique name, arguments, and options.
func (*RouteTableAssociation) ElementType ¶ added in v3.13.0
func (*RouteTableAssociation) ElementType() reflect.Type
func (*RouteTableAssociation) ToRouteTableAssociationOutput ¶ added in v3.13.0
func (i *RouteTableAssociation) ToRouteTableAssociationOutput() RouteTableAssociationOutput
func (*RouteTableAssociation) ToRouteTableAssociationOutputWithContext ¶ added in v3.13.0
func (i *RouteTableAssociation) ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput
func (*RouteTableAssociation) ToRouteTableAssociationPtrOutput ¶ added in v3.25.0
func (i *RouteTableAssociation) ToRouteTableAssociationPtrOutput() RouteTableAssociationPtrOutput
func (*RouteTableAssociation) ToRouteTableAssociationPtrOutputWithContext ¶ added in v3.25.0
func (i *RouteTableAssociation) ToRouteTableAssociationPtrOutputWithContext(ctx context.Context) RouteTableAssociationPtrOutput
type RouteTableAssociationArgs ¶
type RouteTableAssociationArgs struct { // Identifier of EC2 Transit Gateway Attachment. TransitGatewayAttachmentId pulumi.StringInput // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringInput }
The set of arguments for constructing a RouteTableAssociation resource.
func (RouteTableAssociationArgs) ElementType ¶
func (RouteTableAssociationArgs) ElementType() reflect.Type
type RouteTableAssociationArray ¶ added in v3.25.0
type RouteTableAssociationArray []RouteTableAssociationInput
func (RouteTableAssociationArray) ElementType ¶ added in v3.25.0
func (RouteTableAssociationArray) ElementType() reflect.Type
func (RouteTableAssociationArray) ToRouteTableAssociationArrayOutput ¶ added in v3.25.0
func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput
func (RouteTableAssociationArray) ToRouteTableAssociationArrayOutputWithContext ¶ added in v3.25.0
func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput
type RouteTableAssociationArrayInput ¶ added in v3.25.0
type RouteTableAssociationArrayInput interface { pulumi.Input ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput ToRouteTableAssociationArrayOutputWithContext(context.Context) RouteTableAssociationArrayOutput }
RouteTableAssociationArrayInput is an input type that accepts RouteTableAssociationArray and RouteTableAssociationArrayOutput values. You can construct a concrete instance of `RouteTableAssociationArrayInput` via:
RouteTableAssociationArray{ RouteTableAssociationArgs{...} }
type RouteTableAssociationArrayOutput ¶ added in v3.25.0
type RouteTableAssociationArrayOutput struct{ *pulumi.OutputState }
func (RouteTableAssociationArrayOutput) ElementType ¶ added in v3.25.0
func (RouteTableAssociationArrayOutput) ElementType() reflect.Type
func (RouteTableAssociationArrayOutput) Index ¶ added in v3.25.0
func (o RouteTableAssociationArrayOutput) Index(i pulumi.IntInput) RouteTableAssociationOutput
func (RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput ¶ added in v3.25.0
func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput
func (RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutputWithContext ¶ added in v3.25.0
func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput
type RouteTableAssociationInput ¶ added in v3.13.0
type RouteTableAssociationInput interface { pulumi.Input ToRouteTableAssociationOutput() RouteTableAssociationOutput ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput }
type RouteTableAssociationMap ¶ added in v3.25.0
type RouteTableAssociationMap map[string]RouteTableAssociationInput
func (RouteTableAssociationMap) ElementType ¶ added in v3.25.0
func (RouteTableAssociationMap) ElementType() reflect.Type
func (RouteTableAssociationMap) ToRouteTableAssociationMapOutput ¶ added in v3.25.0
func (i RouteTableAssociationMap) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput
func (RouteTableAssociationMap) ToRouteTableAssociationMapOutputWithContext ¶ added in v3.25.0
func (i RouteTableAssociationMap) ToRouteTableAssociationMapOutputWithContext(ctx context.Context) RouteTableAssociationMapOutput
type RouteTableAssociationMapInput ¶ added in v3.25.0
type RouteTableAssociationMapInput interface { pulumi.Input ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput ToRouteTableAssociationMapOutputWithContext(context.Context) RouteTableAssociationMapOutput }
RouteTableAssociationMapInput is an input type that accepts RouteTableAssociationMap and RouteTableAssociationMapOutput values. You can construct a concrete instance of `RouteTableAssociationMapInput` via:
RouteTableAssociationMap{ "key": RouteTableAssociationArgs{...} }
type RouteTableAssociationMapOutput ¶ added in v3.25.0
type RouteTableAssociationMapOutput struct{ *pulumi.OutputState }
func (RouteTableAssociationMapOutput) ElementType ¶ added in v3.25.0
func (RouteTableAssociationMapOutput) ElementType() reflect.Type
func (RouteTableAssociationMapOutput) MapIndex ¶ added in v3.25.0
func (o RouteTableAssociationMapOutput) MapIndex(k pulumi.StringInput) RouteTableAssociationOutput
func (RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput ¶ added in v3.25.0
func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput
func (RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutputWithContext ¶ added in v3.25.0
func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutputWithContext(ctx context.Context) RouteTableAssociationMapOutput
type RouteTableAssociationOutput ¶ added in v3.13.0
type RouteTableAssociationOutput struct {
*pulumi.OutputState
}
func (RouteTableAssociationOutput) ElementType ¶ added in v3.13.0
func (RouteTableAssociationOutput) ElementType() reflect.Type
func (RouteTableAssociationOutput) ToRouteTableAssociationOutput ¶ added in v3.13.0
func (o RouteTableAssociationOutput) ToRouteTableAssociationOutput() RouteTableAssociationOutput
func (RouteTableAssociationOutput) ToRouteTableAssociationOutputWithContext ¶ added in v3.13.0
func (o RouteTableAssociationOutput) ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput
func (RouteTableAssociationOutput) ToRouteTableAssociationPtrOutput ¶ added in v3.25.0
func (o RouteTableAssociationOutput) ToRouteTableAssociationPtrOutput() RouteTableAssociationPtrOutput
func (RouteTableAssociationOutput) ToRouteTableAssociationPtrOutputWithContext ¶ added in v3.25.0
func (o RouteTableAssociationOutput) ToRouteTableAssociationPtrOutputWithContext(ctx context.Context) RouteTableAssociationPtrOutput
type RouteTableAssociationPtrInput ¶ added in v3.25.0
type RouteTableAssociationPtrInput interface { pulumi.Input ToRouteTableAssociationPtrOutput() RouteTableAssociationPtrOutput ToRouteTableAssociationPtrOutputWithContext(ctx context.Context) RouteTableAssociationPtrOutput }
type RouteTableAssociationPtrOutput ¶ added in v3.25.0
type RouteTableAssociationPtrOutput struct {
*pulumi.OutputState
}
func (RouteTableAssociationPtrOutput) ElementType ¶ added in v3.25.0
func (RouteTableAssociationPtrOutput) ElementType() reflect.Type
func (RouteTableAssociationPtrOutput) ToRouteTableAssociationPtrOutput ¶ added in v3.25.0
func (o RouteTableAssociationPtrOutput) ToRouteTableAssociationPtrOutput() RouteTableAssociationPtrOutput
func (RouteTableAssociationPtrOutput) ToRouteTableAssociationPtrOutputWithContext ¶ added in v3.25.0
func (o RouteTableAssociationPtrOutput) ToRouteTableAssociationPtrOutputWithContext(ctx context.Context) RouteTableAssociationPtrOutput
type RouteTableAssociationState ¶
type RouteTableAssociationState struct { // Identifier of the resource ResourceId pulumi.StringPtrInput // Type of the resource ResourceType pulumi.StringPtrInput // Identifier of EC2 Transit Gateway Attachment. TransitGatewayAttachmentId pulumi.StringPtrInput // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringPtrInput }
func (RouteTableAssociationState) ElementType ¶
func (RouteTableAssociationState) ElementType() reflect.Type
type RouteTableInput ¶ added in v3.13.0
type RouteTableInput interface { pulumi.Input ToRouteTableOutput() RouteTableOutput ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput }
type RouteTableMap ¶ added in v3.25.0
type RouteTableMap map[string]RouteTableInput
func (RouteTableMap) ElementType ¶ added in v3.25.0
func (RouteTableMap) ElementType() reflect.Type
func (RouteTableMap) ToRouteTableMapOutput ¶ added in v3.25.0
func (i RouteTableMap) ToRouteTableMapOutput() RouteTableMapOutput
func (RouteTableMap) ToRouteTableMapOutputWithContext ¶ added in v3.25.0
func (i RouteTableMap) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput
type RouteTableMapInput ¶ added in v3.25.0
type RouteTableMapInput interface { pulumi.Input ToRouteTableMapOutput() RouteTableMapOutput ToRouteTableMapOutputWithContext(context.Context) RouteTableMapOutput }
RouteTableMapInput is an input type that accepts RouteTableMap and RouteTableMapOutput values. You can construct a concrete instance of `RouteTableMapInput` via:
RouteTableMap{ "key": RouteTableArgs{...} }
type RouteTableMapOutput ¶ added in v3.25.0
type RouteTableMapOutput struct{ *pulumi.OutputState }
func (RouteTableMapOutput) ElementType ¶ added in v3.25.0
func (RouteTableMapOutput) ElementType() reflect.Type
func (RouteTableMapOutput) MapIndex ¶ added in v3.25.0
func (o RouteTableMapOutput) MapIndex(k pulumi.StringInput) RouteTableOutput
func (RouteTableMapOutput) ToRouteTableMapOutput ¶ added in v3.25.0
func (o RouteTableMapOutput) ToRouteTableMapOutput() RouteTableMapOutput
func (RouteTableMapOutput) ToRouteTableMapOutputWithContext ¶ added in v3.25.0
func (o RouteTableMapOutput) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput
type RouteTableOutput ¶ added in v3.13.0
type RouteTableOutput struct {
*pulumi.OutputState
}
func (RouteTableOutput) ElementType ¶ added in v3.13.0
func (RouteTableOutput) ElementType() reflect.Type
func (RouteTableOutput) ToRouteTableOutput ¶ added in v3.13.0
func (o RouteTableOutput) ToRouteTableOutput() RouteTableOutput
func (RouteTableOutput) ToRouteTableOutputWithContext ¶ added in v3.13.0
func (o RouteTableOutput) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput
func (RouteTableOutput) ToRouteTablePtrOutput ¶ added in v3.25.0
func (o RouteTableOutput) ToRouteTablePtrOutput() RouteTablePtrOutput
func (RouteTableOutput) ToRouteTablePtrOutputWithContext ¶ added in v3.25.0
func (o RouteTableOutput) ToRouteTablePtrOutputWithContext(ctx context.Context) RouteTablePtrOutput
type RouteTablePropagation ¶
type RouteTablePropagation struct { pulumi.CustomResourceState // Identifier of the resource ResourceId pulumi.StringOutput `pulumi:"resourceId"` // Type of the resource ResourceType pulumi.StringOutput `pulumi:"resourceType"` // Identifier of EC2 Transit Gateway Attachment. TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"` // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringOutput `pulumi:"transitGatewayRouteTableId"` }
Manages an EC2 Transit Gateway Route Table propagation.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.NewRouteTablePropagation(ctx, "example", &ec2transitgateway.RouteTablePropagationArgs{ TransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id), TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway_route_table.Example.Id), }) if err != nil { return err } return nil }) }
```
## Import
`aws_ec2_transit_gateway_route_table_propagation` can be imported by using the EC2 Transit Gateway Route Table identifier, an underscore, and the EC2 Transit Gateway Attachment identifier, e.g.
```sh
$ pulumi import aws:ec2transitgateway/routeTablePropagation:RouteTablePropagation example tgw-rtb-12345678_tgw-attach-87654321
```
func GetRouteTablePropagation ¶
func GetRouteTablePropagation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RouteTablePropagationState, opts ...pulumi.ResourceOption) (*RouteTablePropagation, error)
GetRouteTablePropagation gets an existing RouteTablePropagation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRouteTablePropagation ¶
func NewRouteTablePropagation(ctx *pulumi.Context, name string, args *RouteTablePropagationArgs, opts ...pulumi.ResourceOption) (*RouteTablePropagation, error)
NewRouteTablePropagation registers a new resource with the given unique name, arguments, and options.
func (*RouteTablePropagation) ElementType ¶ added in v3.13.0
func (*RouteTablePropagation) ElementType() reflect.Type
func (*RouteTablePropagation) ToRouteTablePropagationOutput ¶ added in v3.13.0
func (i *RouteTablePropagation) ToRouteTablePropagationOutput() RouteTablePropagationOutput
func (*RouteTablePropagation) ToRouteTablePropagationOutputWithContext ¶ added in v3.13.0
func (i *RouteTablePropagation) ToRouteTablePropagationOutputWithContext(ctx context.Context) RouteTablePropagationOutput
func (*RouteTablePropagation) ToRouteTablePropagationPtrOutput ¶ added in v3.25.0
func (i *RouteTablePropagation) ToRouteTablePropagationPtrOutput() RouteTablePropagationPtrOutput
func (*RouteTablePropagation) ToRouteTablePropagationPtrOutputWithContext ¶ added in v3.25.0
func (i *RouteTablePropagation) ToRouteTablePropagationPtrOutputWithContext(ctx context.Context) RouteTablePropagationPtrOutput
type RouteTablePropagationArgs ¶
type RouteTablePropagationArgs struct { // Identifier of EC2 Transit Gateway Attachment. TransitGatewayAttachmentId pulumi.StringInput // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringInput }
The set of arguments for constructing a RouteTablePropagation resource.
func (RouteTablePropagationArgs) ElementType ¶
func (RouteTablePropagationArgs) ElementType() reflect.Type
type RouteTablePropagationArray ¶ added in v3.25.0
type RouteTablePropagationArray []RouteTablePropagationInput
func (RouteTablePropagationArray) ElementType ¶ added in v3.25.0
func (RouteTablePropagationArray) ElementType() reflect.Type
func (RouteTablePropagationArray) ToRouteTablePropagationArrayOutput ¶ added in v3.25.0
func (i RouteTablePropagationArray) ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput
func (RouteTablePropagationArray) ToRouteTablePropagationArrayOutputWithContext ¶ added in v3.25.0
func (i RouteTablePropagationArray) ToRouteTablePropagationArrayOutputWithContext(ctx context.Context) RouteTablePropagationArrayOutput
type RouteTablePropagationArrayInput ¶ added in v3.25.0
type RouteTablePropagationArrayInput interface { pulumi.Input ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput ToRouteTablePropagationArrayOutputWithContext(context.Context) RouteTablePropagationArrayOutput }
RouteTablePropagationArrayInput is an input type that accepts RouteTablePropagationArray and RouteTablePropagationArrayOutput values. You can construct a concrete instance of `RouteTablePropagationArrayInput` via:
RouteTablePropagationArray{ RouteTablePropagationArgs{...} }
type RouteTablePropagationArrayOutput ¶ added in v3.25.0
type RouteTablePropagationArrayOutput struct{ *pulumi.OutputState }
func (RouteTablePropagationArrayOutput) ElementType ¶ added in v3.25.0
func (RouteTablePropagationArrayOutput) ElementType() reflect.Type
func (RouteTablePropagationArrayOutput) Index ¶ added in v3.25.0
func (o RouteTablePropagationArrayOutput) Index(i pulumi.IntInput) RouteTablePropagationOutput
func (RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutput ¶ added in v3.25.0
func (o RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput
func (RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutputWithContext ¶ added in v3.25.0
func (o RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutputWithContext(ctx context.Context) RouteTablePropagationArrayOutput
type RouteTablePropagationInput ¶ added in v3.13.0
type RouteTablePropagationInput interface { pulumi.Input ToRouteTablePropagationOutput() RouteTablePropagationOutput ToRouteTablePropagationOutputWithContext(ctx context.Context) RouteTablePropagationOutput }
type RouteTablePropagationMap ¶ added in v3.25.0
type RouteTablePropagationMap map[string]RouteTablePropagationInput
func (RouteTablePropagationMap) ElementType ¶ added in v3.25.0
func (RouteTablePropagationMap) ElementType() reflect.Type
func (RouteTablePropagationMap) ToRouteTablePropagationMapOutput ¶ added in v3.25.0
func (i RouteTablePropagationMap) ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput
func (RouteTablePropagationMap) ToRouteTablePropagationMapOutputWithContext ¶ added in v3.25.0
func (i RouteTablePropagationMap) ToRouteTablePropagationMapOutputWithContext(ctx context.Context) RouteTablePropagationMapOutput
type RouteTablePropagationMapInput ¶ added in v3.25.0
type RouteTablePropagationMapInput interface { pulumi.Input ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput ToRouteTablePropagationMapOutputWithContext(context.Context) RouteTablePropagationMapOutput }
RouteTablePropagationMapInput is an input type that accepts RouteTablePropagationMap and RouteTablePropagationMapOutput values. You can construct a concrete instance of `RouteTablePropagationMapInput` via:
RouteTablePropagationMap{ "key": RouteTablePropagationArgs{...} }
type RouteTablePropagationMapOutput ¶ added in v3.25.0
type RouteTablePropagationMapOutput struct{ *pulumi.OutputState }
func (RouteTablePropagationMapOutput) ElementType ¶ added in v3.25.0
func (RouteTablePropagationMapOutput) ElementType() reflect.Type
func (RouteTablePropagationMapOutput) MapIndex ¶ added in v3.25.0
func (o RouteTablePropagationMapOutput) MapIndex(k pulumi.StringInput) RouteTablePropagationOutput
func (RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutput ¶ added in v3.25.0
func (o RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput
func (RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutputWithContext ¶ added in v3.25.0
func (o RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutputWithContext(ctx context.Context) RouteTablePropagationMapOutput
type RouteTablePropagationOutput ¶ added in v3.13.0
type RouteTablePropagationOutput struct {
*pulumi.OutputState
}
func (RouteTablePropagationOutput) ElementType ¶ added in v3.13.0
func (RouteTablePropagationOutput) ElementType() reflect.Type
func (RouteTablePropagationOutput) ToRouteTablePropagationOutput ¶ added in v3.13.0
func (o RouteTablePropagationOutput) ToRouteTablePropagationOutput() RouteTablePropagationOutput
func (RouteTablePropagationOutput) ToRouteTablePropagationOutputWithContext ¶ added in v3.13.0
func (o RouteTablePropagationOutput) ToRouteTablePropagationOutputWithContext(ctx context.Context) RouteTablePropagationOutput
func (RouteTablePropagationOutput) ToRouteTablePropagationPtrOutput ¶ added in v3.25.0
func (o RouteTablePropagationOutput) ToRouteTablePropagationPtrOutput() RouteTablePropagationPtrOutput
func (RouteTablePropagationOutput) ToRouteTablePropagationPtrOutputWithContext ¶ added in v3.25.0
func (o RouteTablePropagationOutput) ToRouteTablePropagationPtrOutputWithContext(ctx context.Context) RouteTablePropagationPtrOutput
type RouteTablePropagationPtrInput ¶ added in v3.25.0
type RouteTablePropagationPtrInput interface { pulumi.Input ToRouteTablePropagationPtrOutput() RouteTablePropagationPtrOutput ToRouteTablePropagationPtrOutputWithContext(ctx context.Context) RouteTablePropagationPtrOutput }
type RouteTablePropagationPtrOutput ¶ added in v3.25.0
type RouteTablePropagationPtrOutput struct {
*pulumi.OutputState
}
func (RouteTablePropagationPtrOutput) ElementType ¶ added in v3.25.0
func (RouteTablePropagationPtrOutput) ElementType() reflect.Type
func (RouteTablePropagationPtrOutput) ToRouteTablePropagationPtrOutput ¶ added in v3.25.0
func (o RouteTablePropagationPtrOutput) ToRouteTablePropagationPtrOutput() RouteTablePropagationPtrOutput
func (RouteTablePropagationPtrOutput) ToRouteTablePropagationPtrOutputWithContext ¶ added in v3.25.0
func (o RouteTablePropagationPtrOutput) ToRouteTablePropagationPtrOutputWithContext(ctx context.Context) RouteTablePropagationPtrOutput
type RouteTablePropagationState ¶
type RouteTablePropagationState struct { // Identifier of the resource ResourceId pulumi.StringPtrInput // Type of the resource ResourceType pulumi.StringPtrInput // Identifier of EC2 Transit Gateway Attachment. TransitGatewayAttachmentId pulumi.StringPtrInput // Identifier of EC2 Transit Gateway Route Table. TransitGatewayRouteTableId pulumi.StringPtrInput }
func (RouteTablePropagationState) ElementType ¶
func (RouteTablePropagationState) ElementType() reflect.Type
type RouteTablePtrInput ¶ added in v3.25.0
type RouteTablePtrInput interface { pulumi.Input ToRouteTablePtrOutput() RouteTablePtrOutput ToRouteTablePtrOutputWithContext(ctx context.Context) RouteTablePtrOutput }
type RouteTablePtrOutput ¶ added in v3.25.0
type RouteTablePtrOutput struct {
*pulumi.OutputState
}
func (RouteTablePtrOutput) ElementType ¶ added in v3.25.0
func (RouteTablePtrOutput) ElementType() reflect.Type
func (RouteTablePtrOutput) ToRouteTablePtrOutput ¶ added in v3.25.0
func (o RouteTablePtrOutput) ToRouteTablePtrOutput() RouteTablePtrOutput
func (RouteTablePtrOutput) ToRouteTablePtrOutputWithContext ¶ added in v3.25.0
func (o RouteTablePtrOutput) ToRouteTablePtrOutputWithContext(ctx context.Context) RouteTablePtrOutput
type RouteTableState ¶
type RouteTableState struct { // EC2 Transit Gateway Route Table Amazon Resource Name (ARN). Arn pulumi.StringPtrInput // Boolean whether this is the default association route table for the EC2 Transit Gateway. DefaultAssociationRouteTable pulumi.BoolPtrInput // Boolean whether this is the default propagation route table for the EC2 Transit Gateway. DefaultPropagationRouteTable pulumi.BoolPtrInput // Key-value tags for the EC2 Transit Gateway Route Table. Tags pulumi.StringMapInput // Identifier of EC2 Transit Gateway. TransitGatewayId pulumi.StringPtrInput }
func (RouteTableState) ElementType ¶
func (RouteTableState) ElementType() reflect.Type
type TransitGateway ¶
type TransitGateway struct { pulumi.CustomResourceState // Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is `64512` to `65534` for 16-bit ASNs and `4200000000` to `4294967294` for 32-bit ASNs. Default value: `64512`. AmazonSideAsn pulumi.IntPtrOutput `pulumi:"amazonSideAsn"` // EC2 Transit Gateway Amazon Resource Name (ARN) Arn pulumi.StringOutput `pulumi:"arn"` // Identifier of the default association route table AssociationDefaultRouteTableId pulumi.StringOutput `pulumi:"associationDefaultRouteTableId"` AutoAcceptSharedAttachments pulumi.StringPtrOutput `pulumi:"autoAcceptSharedAttachments"` // Whether resource attachments are automatically associated with the default association route table. Valid values: `disable`, `enable`. Default value: `enable`. DefaultRouteTableAssociation pulumi.StringPtrOutput `pulumi:"defaultRouteTableAssociation"` // Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: `disable`, `enable`. Default value: `enable`. DefaultRouteTablePropagation pulumi.StringPtrOutput `pulumi:"defaultRouteTablePropagation"` // Description of the EC2 Transit Gateway. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`. DnsSupport pulumi.StringPtrOutput `pulumi:"dnsSupport"` // Identifier of the AWS account that owns the EC2 Transit Gateway OwnerId pulumi.StringOutput `pulumi:"ownerId"` // Identifier of the default propagation route table PropagationDefaultRouteTableId pulumi.StringOutput `pulumi:"propagationDefaultRouteTableId"` // Key-value tags for the EC2 Transit Gateway. Tags pulumi.StringMapOutput `pulumi:"tags"` // Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: `disable`, `enable`. Default value: `enable`. VpnEcmpSupport pulumi.StringPtrOutput `pulumi:"vpnEcmpSupport"` }
Manages an EC2 Transit Gateway.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.NewTransitGateway(ctx, "example", &ec2transitgateway.TransitGatewayArgs{ Description: pulumi.String("example"), }) if err != nil { return err } return nil }) }
```
## Import
`aws_ec2_transit_gateway` can be imported by using the EC2 Transit Gateway identifier, e.g.
```sh
$ pulumi import aws:ec2transitgateway/transitGateway:TransitGateway example tgw-12345678
```
func GetTransitGateway ¶
func GetTransitGateway(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TransitGatewayState, opts ...pulumi.ResourceOption) (*TransitGateway, error)
GetTransitGateway gets an existing TransitGateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTransitGateway ¶
func NewTransitGateway(ctx *pulumi.Context, name string, args *TransitGatewayArgs, opts ...pulumi.ResourceOption) (*TransitGateway, error)
NewTransitGateway registers a new resource with the given unique name, arguments, and options.
func (*TransitGateway) ElementType ¶ added in v3.13.0
func (*TransitGateway) ElementType() reflect.Type
func (*TransitGateway) ToTransitGatewayOutput ¶ added in v3.13.0
func (i *TransitGateway) ToTransitGatewayOutput() TransitGatewayOutput
func (*TransitGateway) ToTransitGatewayOutputWithContext ¶ added in v3.13.0
func (i *TransitGateway) ToTransitGatewayOutputWithContext(ctx context.Context) TransitGatewayOutput
func (*TransitGateway) ToTransitGatewayPtrOutput ¶ added in v3.25.0
func (i *TransitGateway) ToTransitGatewayPtrOutput() TransitGatewayPtrOutput
func (*TransitGateway) ToTransitGatewayPtrOutputWithContext ¶ added in v3.25.0
func (i *TransitGateway) ToTransitGatewayPtrOutputWithContext(ctx context.Context) TransitGatewayPtrOutput
type TransitGatewayArgs ¶
type TransitGatewayArgs struct { // Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is `64512` to `65534` for 16-bit ASNs and `4200000000` to `4294967294` for 32-bit ASNs. Default value: `64512`. AmazonSideAsn pulumi.IntPtrInput AutoAcceptSharedAttachments pulumi.StringPtrInput // Whether resource attachments are automatically associated with the default association route table. Valid values: `disable`, `enable`. Default value: `enable`. DefaultRouteTableAssociation pulumi.StringPtrInput // Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: `disable`, `enable`. Default value: `enable`. DefaultRouteTablePropagation pulumi.StringPtrInput // Description of the EC2 Transit Gateway. Description pulumi.StringPtrInput // Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`. DnsSupport pulumi.StringPtrInput // Key-value tags for the EC2 Transit Gateway. Tags pulumi.StringMapInput // Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: `disable`, `enable`. Default value: `enable`. VpnEcmpSupport pulumi.StringPtrInput }
The set of arguments for constructing a TransitGateway resource.
func (TransitGatewayArgs) ElementType ¶
func (TransitGatewayArgs) ElementType() reflect.Type
type TransitGatewayArray ¶ added in v3.25.0
type TransitGatewayArray []TransitGatewayInput
func (TransitGatewayArray) ElementType ¶ added in v3.25.0
func (TransitGatewayArray) ElementType() reflect.Type
func (TransitGatewayArray) ToTransitGatewayArrayOutput ¶ added in v3.25.0
func (i TransitGatewayArray) ToTransitGatewayArrayOutput() TransitGatewayArrayOutput
func (TransitGatewayArray) ToTransitGatewayArrayOutputWithContext ¶ added in v3.25.0
func (i TransitGatewayArray) ToTransitGatewayArrayOutputWithContext(ctx context.Context) TransitGatewayArrayOutput
type TransitGatewayArrayInput ¶ added in v3.25.0
type TransitGatewayArrayInput interface { pulumi.Input ToTransitGatewayArrayOutput() TransitGatewayArrayOutput ToTransitGatewayArrayOutputWithContext(context.Context) TransitGatewayArrayOutput }
TransitGatewayArrayInput is an input type that accepts TransitGatewayArray and TransitGatewayArrayOutput values. You can construct a concrete instance of `TransitGatewayArrayInput` via:
TransitGatewayArray{ TransitGatewayArgs{...} }
type TransitGatewayArrayOutput ¶ added in v3.25.0
type TransitGatewayArrayOutput struct{ *pulumi.OutputState }
func (TransitGatewayArrayOutput) ElementType ¶ added in v3.25.0
func (TransitGatewayArrayOutput) ElementType() reflect.Type
func (TransitGatewayArrayOutput) Index ¶ added in v3.25.0
func (o TransitGatewayArrayOutput) Index(i pulumi.IntInput) TransitGatewayOutput
func (TransitGatewayArrayOutput) ToTransitGatewayArrayOutput ¶ added in v3.25.0
func (o TransitGatewayArrayOutput) ToTransitGatewayArrayOutput() TransitGatewayArrayOutput
func (TransitGatewayArrayOutput) ToTransitGatewayArrayOutputWithContext ¶ added in v3.25.0
func (o TransitGatewayArrayOutput) ToTransitGatewayArrayOutputWithContext(ctx context.Context) TransitGatewayArrayOutput
type TransitGatewayInput ¶ added in v3.13.0
type TransitGatewayInput interface { pulumi.Input ToTransitGatewayOutput() TransitGatewayOutput ToTransitGatewayOutputWithContext(ctx context.Context) TransitGatewayOutput }
type TransitGatewayMap ¶ added in v3.25.0
type TransitGatewayMap map[string]TransitGatewayInput
func (TransitGatewayMap) ElementType ¶ added in v3.25.0
func (TransitGatewayMap) ElementType() reflect.Type
func (TransitGatewayMap) ToTransitGatewayMapOutput ¶ added in v3.25.0
func (i TransitGatewayMap) ToTransitGatewayMapOutput() TransitGatewayMapOutput
func (TransitGatewayMap) ToTransitGatewayMapOutputWithContext ¶ added in v3.25.0
func (i TransitGatewayMap) ToTransitGatewayMapOutputWithContext(ctx context.Context) TransitGatewayMapOutput
type TransitGatewayMapInput ¶ added in v3.25.0
type TransitGatewayMapInput interface { pulumi.Input ToTransitGatewayMapOutput() TransitGatewayMapOutput ToTransitGatewayMapOutputWithContext(context.Context) TransitGatewayMapOutput }
TransitGatewayMapInput is an input type that accepts TransitGatewayMap and TransitGatewayMapOutput values. You can construct a concrete instance of `TransitGatewayMapInput` via:
TransitGatewayMap{ "key": TransitGatewayArgs{...} }
type TransitGatewayMapOutput ¶ added in v3.25.0
type TransitGatewayMapOutput struct{ *pulumi.OutputState }
func (TransitGatewayMapOutput) ElementType ¶ added in v3.25.0
func (TransitGatewayMapOutput) ElementType() reflect.Type
func (TransitGatewayMapOutput) MapIndex ¶ added in v3.25.0
func (o TransitGatewayMapOutput) MapIndex(k pulumi.StringInput) TransitGatewayOutput
func (TransitGatewayMapOutput) ToTransitGatewayMapOutput ¶ added in v3.25.0
func (o TransitGatewayMapOutput) ToTransitGatewayMapOutput() TransitGatewayMapOutput
func (TransitGatewayMapOutput) ToTransitGatewayMapOutputWithContext ¶ added in v3.25.0
func (o TransitGatewayMapOutput) ToTransitGatewayMapOutputWithContext(ctx context.Context) TransitGatewayMapOutput
type TransitGatewayOutput ¶ added in v3.13.0
type TransitGatewayOutput struct {
*pulumi.OutputState
}
func (TransitGatewayOutput) ElementType ¶ added in v3.13.0
func (TransitGatewayOutput) ElementType() reflect.Type
func (TransitGatewayOutput) ToTransitGatewayOutput ¶ added in v3.13.0
func (o TransitGatewayOutput) ToTransitGatewayOutput() TransitGatewayOutput
func (TransitGatewayOutput) ToTransitGatewayOutputWithContext ¶ added in v3.13.0
func (o TransitGatewayOutput) ToTransitGatewayOutputWithContext(ctx context.Context) TransitGatewayOutput
func (TransitGatewayOutput) ToTransitGatewayPtrOutput ¶ added in v3.25.0
func (o TransitGatewayOutput) ToTransitGatewayPtrOutput() TransitGatewayPtrOutput
func (TransitGatewayOutput) ToTransitGatewayPtrOutputWithContext ¶ added in v3.25.0
func (o TransitGatewayOutput) ToTransitGatewayPtrOutputWithContext(ctx context.Context) TransitGatewayPtrOutput
type TransitGatewayPtrInput ¶ added in v3.25.0
type TransitGatewayPtrInput interface { pulumi.Input ToTransitGatewayPtrOutput() TransitGatewayPtrOutput ToTransitGatewayPtrOutputWithContext(ctx context.Context) TransitGatewayPtrOutput }
type TransitGatewayPtrOutput ¶ added in v3.25.0
type TransitGatewayPtrOutput struct {
*pulumi.OutputState
}
func (TransitGatewayPtrOutput) ElementType ¶ added in v3.25.0
func (TransitGatewayPtrOutput) ElementType() reflect.Type
func (TransitGatewayPtrOutput) ToTransitGatewayPtrOutput ¶ added in v3.25.0
func (o TransitGatewayPtrOutput) ToTransitGatewayPtrOutput() TransitGatewayPtrOutput
func (TransitGatewayPtrOutput) ToTransitGatewayPtrOutputWithContext ¶ added in v3.25.0
func (o TransitGatewayPtrOutput) ToTransitGatewayPtrOutputWithContext(ctx context.Context) TransitGatewayPtrOutput
type TransitGatewayState ¶
type TransitGatewayState struct { // Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is `64512` to `65534` for 16-bit ASNs and `4200000000` to `4294967294` for 32-bit ASNs. Default value: `64512`. AmazonSideAsn pulumi.IntPtrInput // EC2 Transit Gateway Amazon Resource Name (ARN) Arn pulumi.StringPtrInput // Identifier of the default association route table AssociationDefaultRouteTableId pulumi.StringPtrInput AutoAcceptSharedAttachments pulumi.StringPtrInput // Whether resource attachments are automatically associated with the default association route table. Valid values: `disable`, `enable`. Default value: `enable`. DefaultRouteTableAssociation pulumi.StringPtrInput // Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: `disable`, `enable`. Default value: `enable`. DefaultRouteTablePropagation pulumi.StringPtrInput // Description of the EC2 Transit Gateway. Description pulumi.StringPtrInput // Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`. DnsSupport pulumi.StringPtrInput // Identifier of the AWS account that owns the EC2 Transit Gateway OwnerId pulumi.StringPtrInput // Identifier of the default propagation route table PropagationDefaultRouteTableId pulumi.StringPtrInput // Key-value tags for the EC2 Transit Gateway. Tags pulumi.StringMapInput // Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: `disable`, `enable`. Default value: `enable`. VpnEcmpSupport pulumi.StringPtrInput }
func (TransitGatewayState) ElementType ¶
func (TransitGatewayState) ElementType() reflect.Type
type VpcAttachment ¶
type VpcAttachment struct { pulumi.CustomResourceState // Whether Appliance Mode support is enabled. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. Valid values: `disable`, `enable`. Default value: `disable`. ApplianceModeSupport pulumi.StringPtrOutput `pulumi:"applianceModeSupport"` // Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`. DnsSupport pulumi.StringPtrOutput `pulumi:"dnsSupport"` // Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Default value: `disable`. Ipv6Support pulumi.StringPtrOutput `pulumi:"ipv6Support"` // Identifiers of EC2 Subnets. SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"` // Key-value tags for the EC2 Transit Gateway VPC Attachment. Tags pulumi.StringMapOutput `pulumi:"tags"` // Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`. TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrOutput `pulumi:"transitGatewayDefaultRouteTableAssociation"` // Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`. TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrOutput `pulumi:"transitGatewayDefaultRouteTablePropagation"` // Identifier of EC2 Transit Gateway. TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"` // Identifier of EC2 VPC. VpcId pulumi.StringOutput `pulumi:"vpcId"` // Identifier of the AWS account that owns the EC2 VPC. VpcOwnerId pulumi.StringOutput `pulumi:"vpcOwnerId"` }
Manages an EC2 Transit Gateway VPC Attachment. For examples of custom route table association and propagation, see the EC2 Transit Gateway Networking Examples Guide.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.NewVpcAttachment(ctx, "example", &ec2transitgateway.VpcAttachmentArgs{ SubnetIds: pulumi.StringArray{ pulumi.Any(aws_subnet.Example.Id), }, TransitGatewayId: pulumi.Any(aws_ec2_transit_gateway.Example.Id), VpcId: pulumi.Any(aws_vpc.Example.Id), }) if err != nil { return err } return nil }) }
```
## Import
`aws_ec2_transit_gateway_vpc_attachment` can be imported by using the EC2 Transit Gateway Attachment identifier, e.g.
```sh
$ pulumi import aws:ec2transitgateway/vpcAttachment:VpcAttachment example tgw-attach-12345678
```
func GetVpcAttachment ¶
func GetVpcAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcAttachmentState, opts ...pulumi.ResourceOption) (*VpcAttachment, error)
GetVpcAttachment gets an existing VpcAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVpcAttachment ¶
func NewVpcAttachment(ctx *pulumi.Context, name string, args *VpcAttachmentArgs, opts ...pulumi.ResourceOption) (*VpcAttachment, error)
NewVpcAttachment registers a new resource with the given unique name, arguments, and options.
func (*VpcAttachment) ElementType ¶ added in v3.13.0
func (*VpcAttachment) ElementType() reflect.Type
func (*VpcAttachment) ToVpcAttachmentOutput ¶ added in v3.13.0
func (i *VpcAttachment) ToVpcAttachmentOutput() VpcAttachmentOutput
func (*VpcAttachment) ToVpcAttachmentOutputWithContext ¶ added in v3.13.0
func (i *VpcAttachment) ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput
func (*VpcAttachment) ToVpcAttachmentPtrOutput ¶ added in v3.25.0
func (i *VpcAttachment) ToVpcAttachmentPtrOutput() VpcAttachmentPtrOutput
func (*VpcAttachment) ToVpcAttachmentPtrOutputWithContext ¶ added in v3.25.0
func (i *VpcAttachment) ToVpcAttachmentPtrOutputWithContext(ctx context.Context) VpcAttachmentPtrOutput
type VpcAttachmentAccepter ¶
type VpcAttachmentAccepter struct { pulumi.CustomResourceState // Whether Appliance Mode support is enabled. Valid values: `disable`, `enable`. ApplianceModeSupport pulumi.StringOutput `pulumi:"applianceModeSupport"` // Whether DNS support is enabled. Valid values: `disable`, `enable`. DnsSupport pulumi.StringOutput `pulumi:"dnsSupport"` // Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Ipv6Support pulumi.StringOutput `pulumi:"ipv6Support"` // Identifiers of EC2 Subnets. SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"` // Key-value tags for the EC2 Transit Gateway VPC Attachment. Tags pulumi.StringMapOutput `pulumi:"tags"` // The ID of the EC2 Transit Gateway Attachment to manage. TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"` // Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: `true`. TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrOutput `pulumi:"transitGatewayDefaultRouteTableAssociation"` // Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: `true`. TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrOutput `pulumi:"transitGatewayDefaultRouteTablePropagation"` // Identifier of EC2 Transit Gateway. TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"` // Identifier of EC2 VPC. VpcId pulumi.StringOutput `pulumi:"vpcId"` // Identifier of the AWS account that owns the EC2 VPC. VpcOwnerId pulumi.StringOutput `pulumi:"vpcOwnerId"` }
Manages the accepter's side of an EC2 Transit Gateway VPC Attachment.
When a cross-account (requester's AWS account differs from the accepter's AWS account) EC2 Transit Gateway VPC Attachment is created, an EC2 Transit Gateway VPC Attachment resource is automatically created in the accepter's account. The requester can use the `ec2transitgateway.VpcAttachment` resource to manage its side of the connection and the accepter can use the `ec2transitgateway.VpcAttachmentAccepter` resource to "adopt" its side of the connection into management.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.NewVpcAttachmentAccepter(ctx, "example", &ec2transitgateway.VpcAttachmentAccepterArgs{ TransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id), Tags: pulumi.StringMap{ "Name": pulumi.String("Example cross-account attachment"), }, }) if err != nil { return err } return nil }) }
```
## Import
`aws_ec2_transit_gateway_vpc_attachment_accepter` can be imported by using the EC2 Transit Gateway Attachment identifier, e.g.
```sh
$ pulumi import aws:ec2transitgateway/vpcAttachmentAccepter:VpcAttachmentAccepter example tgw-attach-12345678
```
func GetVpcAttachmentAccepter ¶
func GetVpcAttachmentAccepter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcAttachmentAccepterState, opts ...pulumi.ResourceOption) (*VpcAttachmentAccepter, error)
GetVpcAttachmentAccepter gets an existing VpcAttachmentAccepter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVpcAttachmentAccepter ¶
func NewVpcAttachmentAccepter(ctx *pulumi.Context, name string, args *VpcAttachmentAccepterArgs, opts ...pulumi.ResourceOption) (*VpcAttachmentAccepter, error)
NewVpcAttachmentAccepter registers a new resource with the given unique name, arguments, and options.
func (*VpcAttachmentAccepter) ElementType ¶ added in v3.13.0
func (*VpcAttachmentAccepter) ElementType() reflect.Type
func (*VpcAttachmentAccepter) ToVpcAttachmentAccepterOutput ¶ added in v3.13.0
func (i *VpcAttachmentAccepter) ToVpcAttachmentAccepterOutput() VpcAttachmentAccepterOutput
func (*VpcAttachmentAccepter) ToVpcAttachmentAccepterOutputWithContext ¶ added in v3.13.0
func (i *VpcAttachmentAccepter) ToVpcAttachmentAccepterOutputWithContext(ctx context.Context) VpcAttachmentAccepterOutput
func (*VpcAttachmentAccepter) ToVpcAttachmentAccepterPtrOutput ¶ added in v3.25.0
func (i *VpcAttachmentAccepter) ToVpcAttachmentAccepterPtrOutput() VpcAttachmentAccepterPtrOutput
func (*VpcAttachmentAccepter) ToVpcAttachmentAccepterPtrOutputWithContext ¶ added in v3.25.0
func (i *VpcAttachmentAccepter) ToVpcAttachmentAccepterPtrOutputWithContext(ctx context.Context) VpcAttachmentAccepterPtrOutput
type VpcAttachmentAccepterArgs ¶
type VpcAttachmentAccepterArgs struct { // Key-value tags for the EC2 Transit Gateway VPC Attachment. Tags pulumi.StringMapInput // The ID of the EC2 Transit Gateway Attachment to manage. TransitGatewayAttachmentId pulumi.StringInput // Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: `true`. TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrInput // Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: `true`. TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrInput }
The set of arguments for constructing a VpcAttachmentAccepter resource.
func (VpcAttachmentAccepterArgs) ElementType ¶
func (VpcAttachmentAccepterArgs) ElementType() reflect.Type
type VpcAttachmentAccepterArray ¶ added in v3.25.0
type VpcAttachmentAccepterArray []VpcAttachmentAccepterInput
func (VpcAttachmentAccepterArray) ElementType ¶ added in v3.25.0
func (VpcAttachmentAccepterArray) ElementType() reflect.Type
func (VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutput ¶ added in v3.25.0
func (i VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutput() VpcAttachmentAccepterArrayOutput
func (VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutputWithContext ¶ added in v3.25.0
func (i VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutputWithContext(ctx context.Context) VpcAttachmentAccepterArrayOutput
type VpcAttachmentAccepterArrayInput ¶ added in v3.25.0
type VpcAttachmentAccepterArrayInput interface { pulumi.Input ToVpcAttachmentAccepterArrayOutput() VpcAttachmentAccepterArrayOutput ToVpcAttachmentAccepterArrayOutputWithContext(context.Context) VpcAttachmentAccepterArrayOutput }
VpcAttachmentAccepterArrayInput is an input type that accepts VpcAttachmentAccepterArray and VpcAttachmentAccepterArrayOutput values. You can construct a concrete instance of `VpcAttachmentAccepterArrayInput` via:
VpcAttachmentAccepterArray{ VpcAttachmentAccepterArgs{...} }
type VpcAttachmentAccepterArrayOutput ¶ added in v3.25.0
type VpcAttachmentAccepterArrayOutput struct{ *pulumi.OutputState }
func (VpcAttachmentAccepterArrayOutput) ElementType ¶ added in v3.25.0
func (VpcAttachmentAccepterArrayOutput) ElementType() reflect.Type
func (VpcAttachmentAccepterArrayOutput) Index ¶ added in v3.25.0
func (o VpcAttachmentAccepterArrayOutput) Index(i pulumi.IntInput) VpcAttachmentAccepterOutput
func (VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutput ¶ added in v3.25.0
func (o VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutput() VpcAttachmentAccepterArrayOutput
func (VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutputWithContext ¶ added in v3.25.0
func (o VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutputWithContext(ctx context.Context) VpcAttachmentAccepterArrayOutput
type VpcAttachmentAccepterInput ¶ added in v3.13.0
type VpcAttachmentAccepterInput interface { pulumi.Input ToVpcAttachmentAccepterOutput() VpcAttachmentAccepterOutput ToVpcAttachmentAccepterOutputWithContext(ctx context.Context) VpcAttachmentAccepterOutput }
type VpcAttachmentAccepterMap ¶ added in v3.25.0
type VpcAttachmentAccepterMap map[string]VpcAttachmentAccepterInput
func (VpcAttachmentAccepterMap) ElementType ¶ added in v3.25.0
func (VpcAttachmentAccepterMap) ElementType() reflect.Type
func (VpcAttachmentAccepterMap) ToVpcAttachmentAccepterMapOutput ¶ added in v3.25.0
func (i VpcAttachmentAccepterMap) ToVpcAttachmentAccepterMapOutput() VpcAttachmentAccepterMapOutput
func (VpcAttachmentAccepterMap) ToVpcAttachmentAccepterMapOutputWithContext ¶ added in v3.25.0
func (i VpcAttachmentAccepterMap) ToVpcAttachmentAccepterMapOutputWithContext(ctx context.Context) VpcAttachmentAccepterMapOutput
type VpcAttachmentAccepterMapInput ¶ added in v3.25.0
type VpcAttachmentAccepterMapInput interface { pulumi.Input ToVpcAttachmentAccepterMapOutput() VpcAttachmentAccepterMapOutput ToVpcAttachmentAccepterMapOutputWithContext(context.Context) VpcAttachmentAccepterMapOutput }
VpcAttachmentAccepterMapInput is an input type that accepts VpcAttachmentAccepterMap and VpcAttachmentAccepterMapOutput values. You can construct a concrete instance of `VpcAttachmentAccepterMapInput` via:
VpcAttachmentAccepterMap{ "key": VpcAttachmentAccepterArgs{...} }
type VpcAttachmentAccepterMapOutput ¶ added in v3.25.0
type VpcAttachmentAccepterMapOutput struct{ *pulumi.OutputState }
func (VpcAttachmentAccepterMapOutput) ElementType ¶ added in v3.25.0
func (VpcAttachmentAccepterMapOutput) ElementType() reflect.Type
func (VpcAttachmentAccepterMapOutput) MapIndex ¶ added in v3.25.0
func (o VpcAttachmentAccepterMapOutput) MapIndex(k pulumi.StringInput) VpcAttachmentAccepterOutput
func (VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutput ¶ added in v3.25.0
func (o VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutput() VpcAttachmentAccepterMapOutput
func (VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutputWithContext ¶ added in v3.25.0
func (o VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutputWithContext(ctx context.Context) VpcAttachmentAccepterMapOutput
type VpcAttachmentAccepterOutput ¶ added in v3.13.0
type VpcAttachmentAccepterOutput struct {
*pulumi.OutputState
}
func (VpcAttachmentAccepterOutput) ElementType ¶ added in v3.13.0
func (VpcAttachmentAccepterOutput) ElementType() reflect.Type
func (VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutput ¶ added in v3.13.0
func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutput() VpcAttachmentAccepterOutput
func (VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutputWithContext ¶ added in v3.13.0
func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutputWithContext(ctx context.Context) VpcAttachmentAccepterOutput
func (VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterPtrOutput ¶ added in v3.25.0
func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterPtrOutput() VpcAttachmentAccepterPtrOutput
func (VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterPtrOutputWithContext ¶ added in v3.25.0
func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterPtrOutputWithContext(ctx context.Context) VpcAttachmentAccepterPtrOutput
type VpcAttachmentAccepterPtrInput ¶ added in v3.25.0
type VpcAttachmentAccepterPtrInput interface { pulumi.Input ToVpcAttachmentAccepterPtrOutput() VpcAttachmentAccepterPtrOutput ToVpcAttachmentAccepterPtrOutputWithContext(ctx context.Context) VpcAttachmentAccepterPtrOutput }
type VpcAttachmentAccepterPtrOutput ¶ added in v3.25.0
type VpcAttachmentAccepterPtrOutput struct {
*pulumi.OutputState
}
func (VpcAttachmentAccepterPtrOutput) ElementType ¶ added in v3.25.0
func (VpcAttachmentAccepterPtrOutput) ElementType() reflect.Type
func (VpcAttachmentAccepterPtrOutput) ToVpcAttachmentAccepterPtrOutput ¶ added in v3.25.0
func (o VpcAttachmentAccepterPtrOutput) ToVpcAttachmentAccepterPtrOutput() VpcAttachmentAccepterPtrOutput
func (VpcAttachmentAccepterPtrOutput) ToVpcAttachmentAccepterPtrOutputWithContext ¶ added in v3.25.0
func (o VpcAttachmentAccepterPtrOutput) ToVpcAttachmentAccepterPtrOutputWithContext(ctx context.Context) VpcAttachmentAccepterPtrOutput
type VpcAttachmentAccepterState ¶
type VpcAttachmentAccepterState struct { // Whether Appliance Mode support is enabled. Valid values: `disable`, `enable`. ApplianceModeSupport pulumi.StringPtrInput // Whether DNS support is enabled. Valid values: `disable`, `enable`. DnsSupport pulumi.StringPtrInput // Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Ipv6Support pulumi.StringPtrInput // Identifiers of EC2 Subnets. SubnetIds pulumi.StringArrayInput // Key-value tags for the EC2 Transit Gateway VPC Attachment. Tags pulumi.StringMapInput // The ID of the EC2 Transit Gateway Attachment to manage. TransitGatewayAttachmentId pulumi.StringPtrInput // Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: `true`. TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrInput // Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: `true`. TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrInput // Identifier of EC2 Transit Gateway. TransitGatewayId pulumi.StringPtrInput // Identifier of EC2 VPC. VpcId pulumi.StringPtrInput // Identifier of the AWS account that owns the EC2 VPC. VpcOwnerId pulumi.StringPtrInput }
func (VpcAttachmentAccepterState) ElementType ¶
func (VpcAttachmentAccepterState) ElementType() reflect.Type
type VpcAttachmentArgs ¶
type VpcAttachmentArgs struct { // Whether Appliance Mode support is enabled. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. Valid values: `disable`, `enable`. Default value: `disable`. ApplianceModeSupport pulumi.StringPtrInput // Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`. DnsSupport pulumi.StringPtrInput // Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Default value: `disable`. Ipv6Support pulumi.StringPtrInput // Identifiers of EC2 Subnets. SubnetIds pulumi.StringArrayInput // Key-value tags for the EC2 Transit Gateway VPC Attachment. Tags pulumi.StringMapInput // Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`. TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrInput // Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`. TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrInput // Identifier of EC2 Transit Gateway. TransitGatewayId pulumi.StringInput // Identifier of EC2 VPC. VpcId pulumi.StringInput }
The set of arguments for constructing a VpcAttachment resource.
func (VpcAttachmentArgs) ElementType ¶
func (VpcAttachmentArgs) ElementType() reflect.Type
type VpcAttachmentArray ¶ added in v3.25.0
type VpcAttachmentArray []VpcAttachmentInput
func (VpcAttachmentArray) ElementType ¶ added in v3.25.0
func (VpcAttachmentArray) ElementType() reflect.Type
func (VpcAttachmentArray) ToVpcAttachmentArrayOutput ¶ added in v3.25.0
func (i VpcAttachmentArray) ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput
func (VpcAttachmentArray) ToVpcAttachmentArrayOutputWithContext ¶ added in v3.25.0
func (i VpcAttachmentArray) ToVpcAttachmentArrayOutputWithContext(ctx context.Context) VpcAttachmentArrayOutput
type VpcAttachmentArrayInput ¶ added in v3.25.0
type VpcAttachmentArrayInput interface { pulumi.Input ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput ToVpcAttachmentArrayOutputWithContext(context.Context) VpcAttachmentArrayOutput }
VpcAttachmentArrayInput is an input type that accepts VpcAttachmentArray and VpcAttachmentArrayOutput values. You can construct a concrete instance of `VpcAttachmentArrayInput` via:
VpcAttachmentArray{ VpcAttachmentArgs{...} }
type VpcAttachmentArrayOutput ¶ added in v3.25.0
type VpcAttachmentArrayOutput struct{ *pulumi.OutputState }
func (VpcAttachmentArrayOutput) ElementType ¶ added in v3.25.0
func (VpcAttachmentArrayOutput) ElementType() reflect.Type
func (VpcAttachmentArrayOutput) Index ¶ added in v3.25.0
func (o VpcAttachmentArrayOutput) Index(i pulumi.IntInput) VpcAttachmentOutput
func (VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutput ¶ added in v3.25.0
func (o VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput
func (VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutputWithContext ¶ added in v3.25.0
func (o VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutputWithContext(ctx context.Context) VpcAttachmentArrayOutput
type VpcAttachmentInput ¶ added in v3.13.0
type VpcAttachmentInput interface { pulumi.Input ToVpcAttachmentOutput() VpcAttachmentOutput ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput }
type VpcAttachmentMap ¶ added in v3.25.0
type VpcAttachmentMap map[string]VpcAttachmentInput
func (VpcAttachmentMap) ElementType ¶ added in v3.25.0
func (VpcAttachmentMap) ElementType() reflect.Type
func (VpcAttachmentMap) ToVpcAttachmentMapOutput ¶ added in v3.25.0
func (i VpcAttachmentMap) ToVpcAttachmentMapOutput() VpcAttachmentMapOutput
func (VpcAttachmentMap) ToVpcAttachmentMapOutputWithContext ¶ added in v3.25.0
func (i VpcAttachmentMap) ToVpcAttachmentMapOutputWithContext(ctx context.Context) VpcAttachmentMapOutput
type VpcAttachmentMapInput ¶ added in v3.25.0
type VpcAttachmentMapInput interface { pulumi.Input ToVpcAttachmentMapOutput() VpcAttachmentMapOutput ToVpcAttachmentMapOutputWithContext(context.Context) VpcAttachmentMapOutput }
VpcAttachmentMapInput is an input type that accepts VpcAttachmentMap and VpcAttachmentMapOutput values. You can construct a concrete instance of `VpcAttachmentMapInput` via:
VpcAttachmentMap{ "key": VpcAttachmentArgs{...} }
type VpcAttachmentMapOutput ¶ added in v3.25.0
type VpcAttachmentMapOutput struct{ *pulumi.OutputState }
func (VpcAttachmentMapOutput) ElementType ¶ added in v3.25.0
func (VpcAttachmentMapOutput) ElementType() reflect.Type
func (VpcAttachmentMapOutput) MapIndex ¶ added in v3.25.0
func (o VpcAttachmentMapOutput) MapIndex(k pulumi.StringInput) VpcAttachmentOutput
func (VpcAttachmentMapOutput) ToVpcAttachmentMapOutput ¶ added in v3.25.0
func (o VpcAttachmentMapOutput) ToVpcAttachmentMapOutput() VpcAttachmentMapOutput
func (VpcAttachmentMapOutput) ToVpcAttachmentMapOutputWithContext ¶ added in v3.25.0
func (o VpcAttachmentMapOutput) ToVpcAttachmentMapOutputWithContext(ctx context.Context) VpcAttachmentMapOutput
type VpcAttachmentOutput ¶ added in v3.13.0
type VpcAttachmentOutput struct {
*pulumi.OutputState
}
func (VpcAttachmentOutput) ElementType ¶ added in v3.13.0
func (VpcAttachmentOutput) ElementType() reflect.Type
func (VpcAttachmentOutput) ToVpcAttachmentOutput ¶ added in v3.13.0
func (o VpcAttachmentOutput) ToVpcAttachmentOutput() VpcAttachmentOutput
func (VpcAttachmentOutput) ToVpcAttachmentOutputWithContext ¶ added in v3.13.0
func (o VpcAttachmentOutput) ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput
func (VpcAttachmentOutput) ToVpcAttachmentPtrOutput ¶ added in v3.25.0
func (o VpcAttachmentOutput) ToVpcAttachmentPtrOutput() VpcAttachmentPtrOutput
func (VpcAttachmentOutput) ToVpcAttachmentPtrOutputWithContext ¶ added in v3.25.0
func (o VpcAttachmentOutput) ToVpcAttachmentPtrOutputWithContext(ctx context.Context) VpcAttachmentPtrOutput
type VpcAttachmentPtrInput ¶ added in v3.25.0
type VpcAttachmentPtrInput interface { pulumi.Input ToVpcAttachmentPtrOutput() VpcAttachmentPtrOutput ToVpcAttachmentPtrOutputWithContext(ctx context.Context) VpcAttachmentPtrOutput }
type VpcAttachmentPtrOutput ¶ added in v3.25.0
type VpcAttachmentPtrOutput struct {
*pulumi.OutputState
}
func (VpcAttachmentPtrOutput) ElementType ¶ added in v3.25.0
func (VpcAttachmentPtrOutput) ElementType() reflect.Type
func (VpcAttachmentPtrOutput) ToVpcAttachmentPtrOutput ¶ added in v3.25.0
func (o VpcAttachmentPtrOutput) ToVpcAttachmentPtrOutput() VpcAttachmentPtrOutput
func (VpcAttachmentPtrOutput) ToVpcAttachmentPtrOutputWithContext ¶ added in v3.25.0
func (o VpcAttachmentPtrOutput) ToVpcAttachmentPtrOutputWithContext(ctx context.Context) VpcAttachmentPtrOutput
type VpcAttachmentState ¶
type VpcAttachmentState struct { // Whether Appliance Mode support is enabled. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. Valid values: `disable`, `enable`. Default value: `disable`. ApplianceModeSupport pulumi.StringPtrInput // Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`. DnsSupport pulumi.StringPtrInput // Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Default value: `disable`. Ipv6Support pulumi.StringPtrInput // Identifiers of EC2 Subnets. SubnetIds pulumi.StringArrayInput // Key-value tags for the EC2 Transit Gateway VPC Attachment. Tags pulumi.StringMapInput // Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`. TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrInput // Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`. TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrInput // Identifier of EC2 Transit Gateway. TransitGatewayId pulumi.StringPtrInput // Identifier of EC2 VPC. VpcId pulumi.StringPtrInput // Identifier of the AWS account that owns the EC2 VPC. VpcOwnerId pulumi.StringPtrInput }
func (VpcAttachmentState) ElementType ¶
func (VpcAttachmentState) ElementType() reflect.Type
Source Files ¶
- getDirectConnectGatewayAttachment.go
- getPeeringAttachment.go
- getRouteTable.go
- getTransitGateway.go
- getVpcAttachment.go
- getVpnAttachment.go
- init.go
- peeringAttachment.go
- prefixListReference.go
- pulumiTypes.go
- route.go
- routeTable.go
- routeTableAssociation.go
- routeTablePropagation.go
- transitGateway.go
- vpcAttachment.go
- vpcAttachmentAccepter.go