GroupPolicyAttachmentsExclusive.reference constructor

GroupPolicyAttachmentsExclusive.reference(
  1. String urn
)

Creates a typed reference to an existing GroupPolicyAttachmentsExclusive resource.

Implementation

GroupPolicyAttachmentsExclusive.reference(String urn)
  : super(
      'aws:iam/groupPolicyAttachmentsExclusive:GroupPolicyAttachmentsExclusive',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  groupName = registerOutput<String>('groupName');
  policyArns = registerOutput<List<String>>('policyArns', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
}