RouteServerVpcAssociation.reference constructor
RouteServerVpcAssociation.reference(
- String urn
Creates a typed reference to an existing RouteServerVpcAssociation resource.
Implementation
RouteServerVpcAssociation.reference(String urn)
: super(
'aws:vpc/routeServerVpcAssociation:RouteServerVpcAssociation',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
region = registerOutput<String>('region');
routeServerId = registerOutput<String>('routeServerId');
timeouts = registerOutput<RouteServerVpcAssociationTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return RouteServerVpcAssociationTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
vpcId = registerOutput<String>('vpcId');
}