AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::NetworkManager::CustomerGatewayAssociation

CfnCustomerGatewayAssociation

Specifies an association between a customer gateway, a device, and optionally, a link. If you specify a link, it must be associated with the specified device. The customer gateway must be connected to a VPN attachment on a transit gateway that's registered in your global network. You cannot associate a customer gateway with more than one device and link.

Import

import { CfnCustomerGatewayAssociation } from 'aws-cdk-lib/aws-networkmanager';

Or use the module namespace:

import * as networkmanager from 'aws-cdk-lib/aws-networkmanager';
// networkmanager.CfnCustomerGatewayAssociation

Properties

Configuration passed to the constructor as CfnCustomerGatewayAssociationProps.

customerGatewayArnRequired
string

The Amazon Resource Name (ARN) of the customer gateway.

deviceIdRequired
string

The ID of the device.

globalNetworkIdRequired
string

The ID of the global network.

linkIdOptional
string

The ID of the link.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter