StorageLensConfiguration constructor
StorageLensConfiguration(
- String name, {
- StorageLensConfigurationArgs? args,
- CustomResourceOptions? options,
Creates a new StorageLensConfiguration.
name The Pulumi resource name.
args Arguments used to configure this StorageLensConfiguration. The set of arguments for StorageLensConfiguration.
options Resource options controlling this resource's behavior.
Implementation
StorageLensConfiguration(
String name, {
StorageLensConfigurationArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:s3control/storageLensConfiguration:StorageLensConfiguration',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
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>(); });
}