ResourceSet.reference constructor

ResourceSet.reference(
  1. String urn
)

Creates a typed reference to an existing ResourceSet resource.

Implementation

ResourceSet.reference(String urn)
  : super(
      'aws:route53recoveryreadiness/resourceSet:ResourceSet',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  arn = registerOutput<String>('arn');
  resourceSetName = registerOutput<String>('resourceSetName');
  resourceSetType = registerOutput<String>('resourceSetType');
  resources = registerOutput<List<ResourceSetResource>>('resources', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ResourceSetResource>(guardedValue, (value) => ResourceSetResource.fromMap((value as Map).cast<String, dynamic>())); });
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}