import * as core from "@terrascript/core"; export interface TransitGatewayRegistrationArgs extends core.ResourceArgs { /** * (Required) The ID of the Global Network to register to. */ globalNetworkId: string | core.StringOut; /** * (Required) The ARN of the Transit Gateway to register. */ transitGatewayArn: string | core.StringOut; } export class TransitGatewayRegistration extends core.Resource { /** * (Required) The ID of the Global Network to register to. */ @core.attr(String) public globalNetworkId!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The ARN of the Transit Gateway to register. */ @core.attr(String) public transitGatewayArn!: string | core.StringOut; constructor(name: string, args?: TransitGatewayRegistrationArgs) { super(name, "aws_networkmanager_transit_gateway_registration", args); } public override getNamespace(): string { return "aws_networkmanager"; } }