LoggingConfiguration constructor
LoggingConfiguration(
- String name, {
- LoggingConfigurationArgs? args,
- CustomResourceOptions? options,
Creates a new LoggingConfiguration.
name The Pulumi resource name.
args Arguments used to configure this LoggingConfiguration. The set of arguments for LoggingConfiguration.
options Resource options controlling this resource's behavior.
Implementation
LoggingConfiguration(
String name, {
LoggingConfigurationArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:ivschat/loggingConfiguration:LoggingConfiguration',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
destinationConfiguration = registerOutput<LoggingConfigurationDestinationConfiguration?>('destinationConfiguration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return LoggingConfigurationDestinationConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
this.name = registerOutput<String>('name');
region = registerOutput<String>('region');
state = registerOutput<String>('state');
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>(); });
}