StorageLensConfiguration.reference constructor
StorageLensConfiguration.reference(
- String urn
Creates a typed reference to an existing StorageLensConfiguration resource.
Implementation
StorageLensConfiguration.reference(String urn)
: super(
'aws:s3control/storageLensConfiguration:StorageLensConfiguration',
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');
configId = registerOutput<String>('configId');
region = registerOutput<String>('region');
storageLensConfiguration = registerOutput<StorageLensConfigurationStorageLensConfiguration>('storageLensConfiguration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return StorageLensConfigurationStorageLensConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
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>(); });
}