We recommend new projects start with resources from the AWS provider.
aws-native.networkmanager.TransitGatewayRegistration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::NetworkManager::TransitGatewayRegistration type registers a transit gateway in your global network. The transit gateway can be in any AWS Region, but it must be owned by the same AWS account that owns the global network. You cannot register a transit gateway in more than one global network.
Create TransitGatewayRegistration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitGatewayRegistration(name: string, args: TransitGatewayRegistrationArgs, opts?: CustomResourceOptions);
@overload
def TransitGatewayRegistration(resource_name: str,
args: TransitGatewayRegistrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitGatewayRegistration(resource_name: str,
opts: Optional[ResourceOptions] = None,
global_network_id: Optional[str] = None,
transit_gateway_arn: Optional[str] = None)
func NewTransitGatewayRegistration(ctx *Context, name string, args TransitGatewayRegistrationArgs, opts ...ResourceOption) (*TransitGatewayRegistration, error)
public TransitGatewayRegistration(string name, TransitGatewayRegistrationArgs args, CustomResourceOptions? opts = null)
public TransitGatewayRegistration(String name, TransitGatewayRegistrationArgs args)
public TransitGatewayRegistration(String name, TransitGatewayRegistrationArgs args, CustomResourceOptions options)
type: aws-native:networkmanager:TransitGatewayRegistration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TransitGatewayRegistrationArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. TransitGatewayRegistrationArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TransitGatewayRegistrationArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TransitGatewayRegistrationArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. TransitGatewayRegistrationArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TransitGatewayRegistration 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 TransitGatewayRegistration resource accepts the following input properties:
- Global
Network Id This property is required. string - The ID of the global network.
- Transit
Gateway Arn This property is required. string - The Amazon Resource Name (ARN) of the transit gateway.
- Global
Network Id This property is required. string - The ID of the global network.
- Transit
Gateway Arn This property is required. string - The Amazon Resource Name (ARN) of the transit gateway.
- global
Network Id This property is required. String - The ID of the global network.
- transit
Gateway Arn This property is required. String - The Amazon Resource Name (ARN) of the transit gateway.
- global
Network Id This property is required. string - The ID of the global network.
- transit
Gateway Arn This property is required. string - The Amazon Resource Name (ARN) of the transit gateway.
- global_
network_ id This property is required. str - The ID of the global network.
- transit_
gateway_ arn This property is required. str - The Amazon Resource Name (ARN) of the transit gateway.
- global
Network Id This property is required. String - The ID of the global network.
- transit
Gateway Arn This property is required. String - The Amazon Resource Name (ARN) of the transit gateway.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitGatewayRegistration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed 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.