aws.sesv2.AccountVdmAttributes
Explore with Pulumi AI
Resource for managing an AWS SESv2 (Simple Email V2) Account VDM Attributes.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.sesv2.AccountVdmAttributes("example", {
vdmEnabled: "ENABLED",
dashboardAttributes: {
engagementMetrics: "ENABLED",
},
guardianAttributes: {
optimizedSharedDelivery: "ENABLED",
},
});
import pulumi
import pulumi_aws as aws
example = aws.sesv2.AccountVdmAttributes("example",
vdm_enabled="ENABLED",
dashboard_attributes={
"engagement_metrics": "ENABLED",
},
guardian_attributes={
"optimized_shared_delivery": "ENABLED",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sesv2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sesv2.NewAccountVdmAttributes(ctx, "example", &sesv2.AccountVdmAttributesArgs{
VdmEnabled: pulumi.String("ENABLED"),
DashboardAttributes: &sesv2.AccountVdmAttributesDashboardAttributesArgs{
EngagementMetrics: pulumi.String("ENABLED"),
},
GuardianAttributes: &sesv2.AccountVdmAttributesGuardianAttributesArgs{
OptimizedSharedDelivery: pulumi.String("ENABLED"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.SesV2.AccountVdmAttributes("example", new()
{
VdmEnabled = "ENABLED",
DashboardAttributes = new Aws.SesV2.Inputs.AccountVdmAttributesDashboardAttributesArgs
{
EngagementMetrics = "ENABLED",
},
GuardianAttributes = new Aws.SesV2.Inputs.AccountVdmAttributesGuardianAttributesArgs
{
OptimizedSharedDelivery = "ENABLED",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sesv2.AccountVdmAttributes;
import com.pulumi.aws.sesv2.AccountVdmAttributesArgs;
import com.pulumi.aws.sesv2.inputs.AccountVdmAttributesDashboardAttributesArgs;
import com.pulumi.aws.sesv2.inputs.AccountVdmAttributesGuardianAttributesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new AccountVdmAttributes("example", AccountVdmAttributesArgs.builder()
.vdmEnabled("ENABLED")
.dashboardAttributes(AccountVdmAttributesDashboardAttributesArgs.builder()
.engagementMetrics("ENABLED")
.build())
.guardianAttributes(AccountVdmAttributesGuardianAttributesArgs.builder()
.optimizedSharedDelivery("ENABLED")
.build())
.build());
}
}
resources:
example:
type: aws:sesv2:AccountVdmAttributes
properties:
vdmEnabled: ENABLED
dashboardAttributes:
engagementMetrics: ENABLED
guardianAttributes:
optimizedSharedDelivery: ENABLED
Create AccountVdmAttributes Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccountVdmAttributes(name: string, args: AccountVdmAttributesArgs, opts?: CustomResourceOptions);
@overload
def AccountVdmAttributes(resource_name: str,
args: AccountVdmAttributesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AccountVdmAttributes(resource_name: str,
opts: Optional[ResourceOptions] = None,
vdm_enabled: Optional[str] = None,
dashboard_attributes: Optional[AccountVdmAttributesDashboardAttributesArgs] = None,
guardian_attributes: Optional[AccountVdmAttributesGuardianAttributesArgs] = None)
func NewAccountVdmAttributes(ctx *Context, name string, args AccountVdmAttributesArgs, opts ...ResourceOption) (*AccountVdmAttributes, error)
public AccountVdmAttributes(string name, AccountVdmAttributesArgs args, CustomResourceOptions? opts = null)
public AccountVdmAttributes(String name, AccountVdmAttributesArgs args)
public AccountVdmAttributes(String name, AccountVdmAttributesArgs args, CustomResourceOptions options)
type: aws:sesv2:AccountVdmAttributes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AccountVdmAttributesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AccountVdmAttributesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccountVdmAttributesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountVdmAttributesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountVdmAttributesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var accountVdmAttributesResource = new Aws.SesV2.AccountVdmAttributes("accountVdmAttributesResource", new()
{
VdmEnabled = "string",
DashboardAttributes = new Aws.SesV2.Inputs.AccountVdmAttributesDashboardAttributesArgs
{
EngagementMetrics = "string",
},
GuardianAttributes = new Aws.SesV2.Inputs.AccountVdmAttributesGuardianAttributesArgs
{
OptimizedSharedDelivery = "string",
},
});
example, err := sesv2.NewAccountVdmAttributes(ctx, "accountVdmAttributesResource", &sesv2.AccountVdmAttributesArgs{
VdmEnabled: pulumi.String("string"),
DashboardAttributes: &sesv2.AccountVdmAttributesDashboardAttributesArgs{
EngagementMetrics: pulumi.String("string"),
},
GuardianAttributes: &sesv2.AccountVdmAttributesGuardianAttributesArgs{
OptimizedSharedDelivery: pulumi.String("string"),
},
})
var accountVdmAttributesResource = new AccountVdmAttributes("accountVdmAttributesResource", AccountVdmAttributesArgs.builder()
.vdmEnabled("string")
.dashboardAttributes(AccountVdmAttributesDashboardAttributesArgs.builder()
.engagementMetrics("string")
.build())
.guardianAttributes(AccountVdmAttributesGuardianAttributesArgs.builder()
.optimizedSharedDelivery("string")
.build())
.build());
account_vdm_attributes_resource = aws.sesv2.AccountVdmAttributes("accountVdmAttributesResource",
vdm_enabled="string",
dashboard_attributes={
"engagement_metrics": "string",
},
guardian_attributes={
"optimized_shared_delivery": "string",
})
const accountVdmAttributesResource = new aws.sesv2.AccountVdmAttributes("accountVdmAttributesResource", {
vdmEnabled: "string",
dashboardAttributes: {
engagementMetrics: "string",
},
guardianAttributes: {
optimizedSharedDelivery: "string",
},
});
type: aws:sesv2:AccountVdmAttributes
properties:
dashboardAttributes:
engagementMetrics: string
guardianAttributes:
optimizedSharedDelivery: string
vdmEnabled: string
AccountVdmAttributes Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AccountVdmAttributes resource accepts the following input properties:
- Vdm
Enabled string Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
- Dashboard
Attributes AccountVdm Attributes Dashboard Attributes - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- Guardian
Attributes AccountVdm Attributes Guardian Attributes - Specifies additional settings for your VDM configuration as applicable to the Guardian.
- Vdm
Enabled string Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
- Dashboard
Attributes AccountVdm Attributes Dashboard Attributes Args - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- Guardian
Attributes AccountVdm Attributes Guardian Attributes Args - Specifies additional settings for your VDM configuration as applicable to the Guardian.
- vdm
Enabled String Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
- dashboard
Attributes AccountVdm Attributes Dashboard Attributes - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- guardian
Attributes AccountVdm Attributes Guardian Attributes - Specifies additional settings for your VDM configuration as applicable to the Guardian.
- vdm
Enabled string Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
- dashboard
Attributes AccountVdm Attributes Dashboard Attributes - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- guardian
Attributes AccountVdm Attributes Guardian Attributes - Specifies additional settings for your VDM configuration as applicable to the Guardian.
- vdm_
enabled str Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
- dashboard_
attributes AccountVdm Attributes Dashboard Attributes Args - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- guardian_
attributes AccountVdm Attributes Guardian Attributes Args - Specifies additional settings for your VDM configuration as applicable to the Guardian.
- vdm
Enabled String Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
- dashboard
Attributes Property Map - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- guardian
Attributes Property Map - Specifies additional settings for your VDM configuration as applicable to the Guardian.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccountVdmAttributes resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AccountVdmAttributes Resource
Get an existing AccountVdmAttributes resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AccountVdmAttributesState, opts?: CustomResourceOptions): AccountVdmAttributes
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dashboard_attributes: Optional[AccountVdmAttributesDashboardAttributesArgs] = None,
guardian_attributes: Optional[AccountVdmAttributesGuardianAttributesArgs] = None,
vdm_enabled: Optional[str] = None) -> AccountVdmAttributes
func GetAccountVdmAttributes(ctx *Context, name string, id IDInput, state *AccountVdmAttributesState, opts ...ResourceOption) (*AccountVdmAttributes, error)
public static AccountVdmAttributes Get(string name, Input<string> id, AccountVdmAttributesState? state, CustomResourceOptions? opts = null)
public static AccountVdmAttributes get(String name, Output<String> id, AccountVdmAttributesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Dashboard
Attributes AccountVdm Attributes Dashboard Attributes - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- Guardian
Attributes AccountVdm Attributes Guardian Attributes - Specifies additional settings for your VDM configuration as applicable to the Guardian.
- Vdm
Enabled string Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
- Dashboard
Attributes AccountVdm Attributes Dashboard Attributes Args - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- Guardian
Attributes AccountVdm Attributes Guardian Attributes Args - Specifies additional settings for your VDM configuration as applicable to the Guardian.
- Vdm
Enabled string Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
- dashboard
Attributes AccountVdm Attributes Dashboard Attributes - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- guardian
Attributes AccountVdm Attributes Guardian Attributes - Specifies additional settings for your VDM configuration as applicable to the Guardian.
- vdm
Enabled String Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
- dashboard
Attributes AccountVdm Attributes Dashboard Attributes - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- guardian
Attributes AccountVdm Attributes Guardian Attributes - Specifies additional settings for your VDM configuration as applicable to the Guardian.
- vdm
Enabled string Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
- dashboard_
attributes AccountVdm Attributes Dashboard Attributes Args - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- guardian_
attributes AccountVdm Attributes Guardian Attributes Args - Specifies additional settings for your VDM configuration as applicable to the Guardian.
- vdm_
enabled str Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
- dashboard
Attributes Property Map - Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- guardian
Attributes Property Map - Specifies additional settings for your VDM configuration as applicable to the Guardian.
- vdm
Enabled String Specifies the status of your VDM configuration. Valid values:
ENABLED
,DISABLED
.The following arguments are optional:
Supporting Types
AccountVdmAttributesDashboardAttributes, AccountVdmAttributesDashboardAttributesArgs
- Engagement
Metrics string - Specifies the status of your VDM engagement metrics collection. Valid values:
ENABLED
,DISABLED
.
- Engagement
Metrics string - Specifies the status of your VDM engagement metrics collection. Valid values:
ENABLED
,DISABLED
.
- engagement
Metrics String - Specifies the status of your VDM engagement metrics collection. Valid values:
ENABLED
,DISABLED
.
- engagement
Metrics string - Specifies the status of your VDM engagement metrics collection. Valid values:
ENABLED
,DISABLED
.
- engagement_
metrics str - Specifies the status of your VDM engagement metrics collection. Valid values:
ENABLED
,DISABLED
.
- engagement
Metrics String - Specifies the status of your VDM engagement metrics collection. Valid values:
ENABLED
,DISABLED
.
AccountVdmAttributesGuardianAttributes, AccountVdmAttributesGuardianAttributesArgs
- string
- Specifies the status of your VDM optimized shared delivery. Valid values:
ENABLED
,DISABLED
.
- string
- Specifies the status of your VDM optimized shared delivery. Valid values:
ENABLED
,DISABLED
.
- String
- Specifies the status of your VDM optimized shared delivery. Valid values:
ENABLED
,DISABLED
.
- string
- Specifies the status of your VDM optimized shared delivery. Valid values:
ENABLED
,DISABLED
.
- str
- Specifies the status of your VDM optimized shared delivery. Valid values:
ENABLED
,DISABLED
.
- String
- Specifies the status of your VDM optimized shared delivery. Valid values:
ENABLED
,DISABLED
.
Import
Using pulumi import
, import SESv2 (Simple Email V2) Account VDM Attributes using the word ses-account-vdm-attributes
. For example:
$ pulumi import aws:sesv2/accountVdmAttributes:AccountVdmAttributes example ses-account-vdm-attributes
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.