RolePolicyAttachmentsExclusive.reference constructor
RolePolicyAttachmentsExclusive.reference(
- String urn
Creates a typed reference to an existing RolePolicyAttachmentsExclusive resource.
Implementation
RolePolicyAttachmentsExclusive.reference(String urn)
: super(
'aws:iam/rolePolicyAttachmentsExclusive:RolePolicyAttachmentsExclusive',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
policyArns = registerOutput<List<String>>('policyArns', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
roleName = registerOutput<String>('roleName');
}