CustomerGatewayAssociation.reference constructor
CustomerGatewayAssociation.reference(
- String urn
Creates a typed reference to an existing CustomerGatewayAssociation resource.
Implementation
CustomerGatewayAssociation.reference(String urn)
: super(
'aws:networkmanager/customerGatewayAssociation:CustomerGatewayAssociation',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
customerGatewayArn = registerOutput<String>('customerGatewayArn');
deviceId = registerOutput<String>('deviceId');
globalNetworkId = registerOutput<String>('globalNetworkId');
linkId = registerOutput<String?>('linkId');
}