AccountSuppressionAttributes.reference constructor
AccountSuppressionAttributes.reference(
- String urn
Creates a typed reference to an existing AccountSuppressionAttributes resource.
Implementation
AccountSuppressionAttributes.reference(String urn)
: super(
'aws:sesv2/accountSuppressionAttributes:AccountSuppressionAttributes',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
region = registerOutput<String>('region');
suppressedReasons = registerOutput<List<String>>('suppressedReasons', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
}