Class CfnTransitGatewayRegistration
Registers a transit gateway in your global network.
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayRegistration : CfnResource, IInspectable, ITransitGatewayRegistrationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnTransitGatewayRegistration Inherits CfnResource Implements IInspectable, ITransitGatewayRegistrationRef, IConstruct, IDependable, IEnvironmentAware
Remarks
Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the AWS Transit Gateways for Global Networks User Guide . The transit gateway can be in any of the supported AWS Regions, 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.
CloudformationResource: AWS::NetworkManager::TransitGatewayRegistration
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkManager;
var cfnTransitGatewayRegistration = new CfnTransitGatewayRegistration(this, "MyCfnTransitGatewayRegistration", new CfnTransitGatewayRegistrationProps {
GlobalNetworkId = "globalNetworkId",
TransitGatewayArn = "transitGatewayArn"
});
Synopsis
Constructors
| CfnTransitGatewayRegistration(Construct, string, ICfnTransitGatewayRegistrationProps) | Create a new |
Properties
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Registers a transit gateway in your global network. |
| GlobalNetworkId | The ID of the global network. |
| TransitGatewayArn | The Amazon Resource Name (ARN) of the transit gateway. |
| TransitGatewayRegistrationRef | A reference to a TransitGatewayRegistration resource. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnTransitGatewayRegistration(object) | Checks whether the given object is a CfnTransitGatewayRegistration. |
| RenderProperties(IDictionary<string, object>) | Registers a transit gateway in your global network. |
Constructors
CfnTransitGatewayRegistration(Construct, string, ICfnTransitGatewayRegistrationProps)
Create a new AWS::NetworkManager::TransitGatewayRegistration.
public CfnTransitGatewayRegistration(Construct scope, string id, ICfnTransitGatewayRegistrationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnTransitGatewayRegistrationProps
Resource properties.
Remarks
Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the AWS Transit Gateways for Global Networks User Guide . The transit gateway can be in any of the supported AWS Regions, 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.
CloudformationResource: AWS::NetworkManager::TransitGatewayRegistration
ExampleMetadata: fixture=_generated
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the AWS Transit Gateways for Global Networks User Guide . The transit gateway can be in any of the supported AWS Regions, 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.
CloudformationResource: AWS::NetworkManager::TransitGatewayRegistration
ExampleMetadata: fixture=_generated
CfnProperties
Registers a transit gateway in your global network.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the AWS Transit Gateways for Global Networks User Guide . The transit gateway can be in any of the supported AWS Regions, 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.
CloudformationResource: AWS::NetworkManager::TransitGatewayRegistration
ExampleMetadata: fixture=_generated
GlobalNetworkId
The ID of the global network.
public virtual string GlobalNetworkId { get; set; }
Property Value
Remarks
Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the AWS Transit Gateways for Global Networks User Guide . The transit gateway can be in any of the supported AWS Regions, 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.
CloudformationResource: AWS::NetworkManager::TransitGatewayRegistration
ExampleMetadata: fixture=_generated
TransitGatewayArn
The Amazon Resource Name (ARN) of the transit gateway.
public virtual string TransitGatewayArn { get; set; }
Property Value
Remarks
Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the AWS Transit Gateways for Global Networks User Guide . The transit gateway can be in any of the supported AWS Regions, 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.
CloudformationResource: AWS::NetworkManager::TransitGatewayRegistration
ExampleMetadata: fixture=_generated
TransitGatewayRegistrationRef
A reference to a TransitGatewayRegistration resource.
public virtual ITransitGatewayRegistrationReference TransitGatewayRegistrationRef { get; }
Property Value
ITransitGatewayRegistrationReference
Remarks
Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the AWS Transit Gateways for Global Networks User Guide . The transit gateway can be in any of the supported AWS Regions, 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.
CloudformationResource: AWS::NetworkManager::TransitGatewayRegistration
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the AWS Transit Gateways for Global Networks User Guide . The transit gateway can be in any of the supported AWS Regions, 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.
CloudformationResource: AWS::NetworkManager::TransitGatewayRegistration
ExampleMetadata: fixture=_generated
IsCfnTransitGatewayRegistration(object)
Checks whether the given object is a CfnTransitGatewayRegistration.
public static bool IsCfnTransitGatewayRegistration(object x)
Parameters
- x object
Returns
Remarks
Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the AWS Transit Gateways for Global Networks User Guide . The transit gateway can be in any of the supported AWS Regions, 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.
CloudformationResource: AWS::NetworkManager::TransitGatewayRegistration
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Registers a transit gateway in your global network.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the AWS Transit Gateways for Global Networks User Guide . The transit gateway can be in any of the supported AWS Regions, 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.
CloudformationResource: AWS::NetworkManager::TransitGatewayRegistration
ExampleMetadata: fixture=_generated