CfnCustomerGatewayAssociationProps
Struct External
Properties for defining a CfnCustomerGatewayAssociation.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmanager as networkmanager } from 'aws-cdk-lib';
const cfnCustomerGatewayAssociationProps: networkmanager.CfnCustomerGatewayAssociationProps = {
customerGatewayArn: 'customerGatewayArn',
deviceId: 'deviceId',
globalNetworkId: 'globalNetworkId',
// the properties below are optional
linkId: 'linkId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkmanager as networkmanager
cfn_customer_gateway_association_props = networkmanager.CfnCustomerGatewayAssociationProps(
customer_gateway_arn="customerGatewayArn",
device_id="deviceId",
global_network_id="globalNetworkId",
# the properties below are optional
link_id="linkId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkmanager.*;
CfnCustomerGatewayAssociationProps cfnCustomerGatewayAssociationProps = CfnCustomerGatewayAssociationProps.builder()
.customerGatewayArn("customerGatewayArn")
.deviceId("deviceId")
.globalNetworkId("globalNetworkId")
// the properties below are optional
.linkId("linkId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 cfnCustomerGatewayAssociationProps = new CfnCustomerGatewayAssociationProps {
CustomerGatewayArn = "customerGatewayArn",
DeviceId = "deviceId",
GlobalNetworkId = "globalNetworkId",
// the properties below are optional
LinkId = "linkId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnCustomerGatewayAssociationProps := &CfnCustomerGatewayAssociationProps{
CustomerGatewayArn: jsii.String("customerGatewayArn"),
DeviceId: jsii.String("deviceId"),
GlobalNetworkId: jsii.String("globalNetworkId"),
// the properties below are optional
LinkId: jsii.String("linkId"),
}
Properties
customerGatewayArnstringcustomer_gateway_arnstrcustomerGatewayArnStringCustomerGatewayArnstringCustomerGatewayArn*string required #The Amazon Resource Name (ARN) of the customer gateway.
The ID of the device.
globalNetworkIdstringglobal_network_idstrglobalNetworkIdStringGlobalNetworkIdstringGlobalNetworkId*string required #The ID of the global network.
linkIdoptionalstringlink_idoptionalstrlinkIdoptionalStringLinkIdoptionalstringLinkIdoptional*string #The ID of the link.