We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
The AWS::EC2::TransitGatewayNetworkFunctionAttachment type
Create TransitGatewayNetworkFunctionAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitGatewayNetworkFunctionAttachment(name: string, args: TransitGatewayNetworkFunctionAttachmentArgs, opts?: CustomResourceOptions);@overload
def TransitGatewayNetworkFunctionAttachment(resource_name: str,
args: TransitGatewayNetworkFunctionAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitGatewayNetworkFunctionAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
transit_gateway_id: Optional[str] = None,
availability_zone_ids: Optional[Sequence[str]] = None,
availability_zones: Optional[Sequence[str]] = None,
service_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewTransitGatewayNetworkFunctionAttachment(ctx *Context, name string, args TransitGatewayNetworkFunctionAttachmentArgs, opts ...ResourceOption) (*TransitGatewayNetworkFunctionAttachment, error)public TransitGatewayNetworkFunctionAttachment(string name, TransitGatewayNetworkFunctionAttachmentArgs args, CustomResourceOptions? opts = null)
public TransitGatewayNetworkFunctionAttachment(String name, TransitGatewayNetworkFunctionAttachmentArgs args)
public TransitGatewayNetworkFunctionAttachment(String name, TransitGatewayNetworkFunctionAttachmentArgs args, CustomResourceOptions options)
type: aws-native:ec2:TransitGatewayNetworkFunctionAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_ec2_transit_gateway_network_function_attachment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TransitGatewayNetworkFunctionAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TransitGatewayNetworkFunctionAttachmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TransitGatewayNetworkFunctionAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitGatewayNetworkFunctionAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitGatewayNetworkFunctionAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TransitGatewayNetworkFunctionAttachment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TransitGatewayNetworkFunctionAttachment resource accepts the following input properties:
- Transit
Gateway stringId - The ID of the transit gateway.
- Availability
Zone List<string>Ids - The Availability Zone IDs for the attachment.
- Availability
Zones List<string> - The Availability Zones for the attachment.
- Service
Name string - The name of the network function service.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the attachment.
- Transit
Gateway stringId - The ID of the transit gateway.
- Availability
Zone []stringIds - The Availability Zone IDs for the attachment.
- Availability
Zones []string - The Availability Zones for the attachment.
- Service
Name string - The name of the network function service.
-
Tag
Args - The tags for the attachment.
- transit_
gateway_ stringid - The ID of the transit gateway.
- availability_
zone_ list(string)ids - The Availability Zone IDs for the attachment.
- availability_
zones list(string) - The Availability Zones for the attachment.
- service_
name string - The name of the network function service.
- list(object)
- The tags for the attachment.
- transit
Gateway StringId - The ID of the transit gateway.
- availability
Zone List<String>Ids - The Availability Zone IDs for the attachment.
- availability
Zones List<String> - The Availability Zones for the attachment.
- service
Name String - The name of the network function service.
- List<Tag>
- The tags for the attachment.
- transit
Gateway stringId - The ID of the transit gateway.
- availability
Zone string[]Ids - The Availability Zone IDs for the attachment.
- availability
Zones string[] - The Availability Zones for the attachment.
- service
Name string - The name of the network function service.
- Tag[]
- The tags for the attachment.
- transit_
gateway_ strid - The ID of the transit gateway.
- availability_
zone_ Sequence[str]ids - The Availability Zone IDs for the attachment.
- availability_
zones Sequence[str] - The Availability Zones for the attachment.
- service_
name str - The name of the network function service.
-
Sequence[Tag
Args] - The tags for the attachment.
- transit
Gateway StringId - The ID of the transit gateway.
- availability
Zone List<String>Ids - The Availability Zone IDs for the attachment.
- availability
Zones List<String> - The Availability Zones for the attachment.
- service
Name String - The name of the network function service.
- List<Property Map>
- The tags for the attachment.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitGatewayNetworkFunctionAttachment resource produces the following output properties:
- Creation
Time string - The creation time of the attachment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Id string - The resource ID of the network function.
- State string
- The state of the attachment.
- Transit
Gateway stringAttachment Id - The ID of the network function attachment.
- Creation
Time string - The creation time of the attachment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Id string - The resource ID of the network function.
- State string
- The state of the attachment.
- Transit
Gateway stringAttachment Id - The ID of the network function attachment.
- creation_
time string - The creation time of the attachment.
- id string
- The provider-assigned unique ID for this managed resource.
- resource_
id string - The resource ID of the network function.
- state string
- The state of the attachment.
- transit_
gateway_ stringattachment_ id - The ID of the network function attachment.
- creation
Time String - The creation time of the attachment.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Id String - The resource ID of the network function.
- state String
- The state of the attachment.
- transit
Gateway StringAttachment Id - The ID of the network function attachment.
- creation
Time string - The creation time of the attachment.
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Id string - The resource ID of the network function.
- state string
- The state of the attachment.
- transit
Gateway stringAttachment Id - The ID of the network function attachment.
- creation_
time str - The creation time of the attachment.
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
id str - The resource ID of the network function.
- state str
- The state of the attachment.
- transit_
gateway_ strattachment_ id - The ID of the network function attachment.
- creation
Time String - The creation time of the attachment.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Id String - The resource ID of the network function.
- state String
- The state of the attachment.
- transit
Gateway StringAttachment Id - The ID of the network function attachment.
Look up Existing TransitGatewayNetworkFunctionAttachment Resource
Get an existing TransitGatewayNetworkFunctionAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): TransitGatewayNetworkFunctionAttachment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> TransitGatewayNetworkFunctionAttachmentfunc GetTransitGatewayNetworkFunctionAttachment(ctx *Context, name string, id IDInput, state *TransitGatewayNetworkFunctionAttachmentState, opts ...ResourceOption) (*TransitGatewayNetworkFunctionAttachment, error)public static TransitGatewayNetworkFunctionAttachment Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static TransitGatewayNetworkFunctionAttachment get(String name, Output<String> id, CustomResourceOptions options)resources: existingTransitGatewayNetworkFunctionAttachment: type: aws-native:ec2:TransitGatewayNetworkFunctionAttachment get: id: ${id}import {
to = aws-native_ec2_transit_gateway_network_function_attachment.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state TransitGatewayNetworkFunctionAttachmentState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi