ConfigurationAggregator.reference constructor
ConfigurationAggregator.reference(
- String urn
Creates a typed reference to an existing ConfigurationAggregator resource.
Implementation
ConfigurationAggregator.reference(String urn)
: super(
'aws:cfg/configurationAggregator:ConfigurationAggregator',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
accountAggregationSource = registerOutput<ConfigurationAggregatorAccountAggregationSource?>('accountAggregationSource', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConfigurationAggregatorAccountAggregationSource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
arn = registerOutput<String>('arn');
this.name = registerOutput<String>('name');
organizationAggregationSource = registerOutput<ConfigurationAggregatorOrganizationAggregationSource?>('organizationAggregationSource', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConfigurationAggregatorOrganizationAggregationSource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
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>(); });
}