ClusterPeering.reference constructor
ClusterPeering.reference(
- String urn
Creates a typed reference to an existing ClusterPeering resource.
Implementation
ClusterPeering.reference(String urn)
: super(
'aws:dsql/clusterPeering:ClusterPeering',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
clusters = registerOutput<List<String>>('clusters', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
identifier = registerOutput<String>('identifier');
region = registerOutput<String>('region');
timeouts = registerOutput<ClusterPeeringTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ClusterPeeringTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
witnessRegion = registerOutput<String>('witnessRegion');
}