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 string
- The unique name of the resource.
- args TransitGatewayRegistrationArgs
- 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 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 string
- The unique name of the resource.
- args TransitGatewayRegistrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitGatewayRegistrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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
The TransitGatewayRegistration resource accepts the following input properties:
- Global
Network stringId - The ID of the global network.
- Transit
Gateway stringArn - The Amazon Resource Name (ARN) of the transit gateway.
- Global
Network stringId - The ID of the global network.
- Transit
Gateway stringArn - The Amazon Resource Name (ARN) of the transit gateway.
- global
Network StringId - The ID of the global network.
- transit
Gateway StringArn - The Amazon Resource Name (ARN) of the transit gateway.
- global
Network stringId - The ID of the global network.
- transit
Gateway stringArn - The Amazon Resource Name (ARN) of the transit gateway.
- global_
network_ strid - The ID of the global network.
- transit_
gateway_ strarn - The Amazon Resource Name (ARN) of the transit gateway.
- global
Network StringId - The ID of the global network.
- transit
Gateway StringArn - 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.