Class CfnTransitGatewayRegistration
Registers a transit gateway in your global network.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayRegistration : CfnResource, IInspectable
Syntax (vb)
Public Class CfnTransitGatewayRegistration
Inherits CfnResource
Implements IInspectable
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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnTransitGatewayRegistration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnTransitGatewayRegistration(Construct, String, ICfnTransitGatewayRegistrationProps) |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
GlobalNetworkId | The ID of the global network. |
TransitGatewayArn | The Amazon Resource Name (ARN) of the transit gateway. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnTransitGatewayRegistration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnTransitGatewayRegistration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnTransitGatewayRegistration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnTransitGatewayRegistration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnTransitGatewayRegistration(Construct, String, ICfnTransitGatewayRegistrationProps)
public CfnTransitGatewayRegistration(Construct scope, string id, ICfnTransitGatewayRegistrationProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnTransitGatewayRegistrationProps
Resource properties.
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
GlobalNetworkId
The ID of the global network.
public virtual string GlobalNetworkId { get; set; }
Property Value
System.String
TransitGatewayArn
The Amazon Resource Name (ARN) of the transit gateway.
public virtual string TransitGatewayArn { get; set; }
Property Value
System.String
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>