EmailIdentityPolicy constructor

EmailIdentityPolicy(
  1. String name, {
  2. EmailIdentityPolicyArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new EmailIdentityPolicy. name The Pulumi resource name. args Arguments used to configure this EmailIdentityPolicy. The set of arguments for EmailIdentityPolicy. options Resource options controlling this resource's behavior.

Implementation

EmailIdentityPolicy(
  String name, {
  EmailIdentityPolicyArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:sesv2/emailIdentityPolicy:EmailIdentityPolicy',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  emailIdentity = registerOutput<String>('emailIdentity');
  policy = registerOutput<String>('policy');
  policyName = registerOutput<String>('policyName');
  region = registerOutput<String>('region');
}