ConfigurationSet constructor
ConfigurationSet(
- String name, {
- ConfigurationSetArgs? args,
- CustomResourceOptions? options,
Creates a new ConfigurationSet.
name The Pulumi resource name.
args Arguments used to configure this ConfigurationSet. The set of arguments for ConfigurationSet.
options Resource options controlling this resource's behavior.
Implementation
ConfigurationSet(
String name, {
ConfigurationSetArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:sesv2/configurationSet:ConfigurationSet',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
configurationSetName = registerOutput<String>('configurationSetName');
deliveryOptions = registerOutput<ConfigurationSetDeliveryOptions?>('deliveryOptions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConfigurationSetDeliveryOptions.fromMap((guardedValue as Map).cast<String, dynamic>()); });
region = registerOutput<String>('region');
reputationOptions = registerOutput<ConfigurationSetReputationOptions>('reputationOptions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConfigurationSetReputationOptions.fromMap((guardedValue as Map).cast<String, dynamic>()); });
sendingOptions = registerOutput<ConfigurationSetSendingOptions>('sendingOptions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConfigurationSetSendingOptions.fromMap((guardedValue as Map).cast<String, dynamic>()); });
suppressionOptions = registerOutput<ConfigurationSetSuppressionOptions?>('suppressionOptions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConfigurationSetSuppressionOptions.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>(); });
trackingOptions = registerOutput<ConfigurationSetTrackingOptions?>('trackingOptions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConfigurationSetTrackingOptions.fromMap((guardedValue as Map).cast<String, dynamic>()); });
vdmOptions = registerOutput<ConfigurationSetVdmOptions?>('vdmOptions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConfigurationSetVdmOptions.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}