AggregateAuthorization.reference constructor
AggregateAuthorization.reference(
- String urn
Creates a typed reference to an existing AggregateAuthorization resource.
Implementation
AggregateAuthorization.reference(String urn)
: super(
'aws:cfg/aggregateAuthorization:AggregateAuthorization',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
accountId = registerOutput<String>('accountId');
arn = registerOutput<String>('arn');
authorizedAwsRegion = registerOutput<String?>('authorizedAwsRegion');
region = registerOutput<String?>('region');
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>(); });
}