WorkforcePoolIamMember.reference constructor

WorkforcePoolIamMember.reference(
  1. String urn
)

Creates a typed reference to an existing WorkforcePoolIamMember resource.

Implementation

WorkforcePoolIamMember.reference(String urn)
  : super(
      'gcp:iam/workforcePoolIamMember:WorkforcePoolIamMember',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  condition = registerOutput<WorkforcePoolIamMemberCondition?>('condition', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return WorkforcePoolIamMemberCondition.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  etag = registerOutput<String>('etag');
  location = registerOutput<String>('location');
  member = registerOutput<String>('member');
  role = registerOutput<String>('role');
  workforcePoolId = registerOutput<String>('workforcePoolId');
}