@pulumi/aws 5.19.0 → 5.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/acm/getCertificate.d.ts +2 -2
- package/acmpca/certificate.d.ts +5 -1
- package/acmpca/certificate.js +5 -1
- package/acmpca/certificate.js.map +1 -1
- package/acmpca/certificateAuthority.d.ts +29 -0
- package/acmpca/certificateAuthority.js +19 -0
- package/acmpca/certificateAuthority.js.map +1 -1
- package/acmpca/getCertificateAuthority.d.ts +4 -0
- package/acmpca/getCertificateAuthority.js.map +1 -1
- package/alb/targetGroup.d.ts +12 -0
- package/alb/targetGroup.js +2 -0
- package/alb/targetGroup.js.map +1 -1
- package/applicationloadbalancing/targetGroup.d.ts +12 -0
- package/applicationloadbalancing/targetGroup.js +2 -0
- package/applicationloadbalancing/targetGroup.js.map +1 -1
- package/apprunner/index.d.ts +3 -0
- package/apprunner/index.js +6 -1
- package/apprunner/index.js.map +1 -1
- package/apprunner/vpcConnector.d.ts +9 -0
- package/apprunner/vpcConnector.js +2 -0
- package/apprunner/vpcConnector.js.map +1 -1
- package/apprunner/vpcIngressConnection.d.ts +145 -0
- package/apprunner/vpcIngressConnection.js +98 -0
- package/apprunner/vpcIngressConnection.js.map +1 -0
- package/batch/computeEnvironment.d.ts +12 -0
- package/batch/computeEnvironment.js +2 -0
- package/batch/computeEnvironment.js.map +1 -1
- package/budgets/budget.d.ts +51 -5
- package/budgets/budget.js +26 -6
- package/budgets/budget.js.map +1 -1
- package/cloudfront/distribution.d.ts +1 -1
- package/cloudfront/distribution.js +1 -1
- package/cloudfront/getCachePolicy.d.ts +13 -0
- package/cloudfront/getCachePolicy.js +13 -0
- package/cloudfront/getCachePolicy.js.map +1 -1
- package/cloudfront/getOriginAccessIdentity.d.ts +16 -0
- package/cloudfront/getOriginAccessIdentity.js +16 -0
- package/cloudfront/getOriginAccessIdentity.js.map +1 -1
- package/cloudfront/getOriginRequestPolicy.d.ts +13 -2
- package/cloudfront/getOriginRequestPolicy.js +13 -2
- package/cloudfront/getOriginRequestPolicy.js.map +1 -1
- package/cloudfront/getResponseHeadersPolicy.d.ts +13 -0
- package/cloudfront/getResponseHeadersPolicy.js +13 -0
- package/cloudfront/getResponseHeadersPolicy.js.map +1 -1
- package/cognito/userPool.d.ts +12 -0
- package/cognito/userPool.js +2 -0
- package/cognito/userPool.js.map +1 -1
- package/cognito/userPoolClient.d.ts +12 -0
- package/cognito/userPoolClient.js +2 -0
- package/cognito/userPoolClient.js.map +1 -1
- package/connect/getInstanceStorageConfig.d.ts +70 -0
- package/connect/getInstanceStorageConfig.js +40 -0
- package/connect/getInstanceStorageConfig.js.map +1 -0
- package/connect/index.d.ts +6 -0
- package/connect/index.js +9 -1
- package/connect/index.js.map +1 -1
- package/connect/phoneNumber.d.ts +195 -0
- package/connect/phoneNumber.js +131 -0
- package/connect/phoneNumber.js.map +1 -0
- package/directconnect/getRouterConfiguration.d.ts +67 -0
- package/directconnect/getRouterConfiguration.js +37 -0
- package/directconnect/getRouterConfiguration.js.map +1 -0
- package/directconnect/index.d.ts +3 -0
- package/directconnect/index.js +4 -1
- package/directconnect/index.js.map +1 -1
- package/ec2/amiCopy.d.ts +8 -0
- package/ec2/amiCopy.js +2 -0
- package/ec2/amiCopy.js.map +1 -1
- package/ec2/amiFromInstance.d.ts +8 -0
- package/ec2/amiFromInstance.js +2 -0
- package/ec2/amiFromInstance.js.map +1 -1
- package/ec2/capacityReservation.d.ts +12 -0
- package/ec2/capacityReservation.js +2 -0
- package/ec2/capacityReservation.js.map +1 -1
- package/ec2/defaultNetworkAcl.d.ts +3 -3
- package/ec2/flowLog.d.ts +52 -4
- package/ec2/flowLog.js +49 -1
- package/ec2/flowLog.js.map +1 -1
- package/ec2/networkInterfaceAttachment.d.ts +8 -0
- package/ec2/networkInterfaceAttachment.js +8 -0
- package/ec2/networkInterfaceAttachment.js.map +1 -1
- package/elasticache/globalReplicationGroup.d.ts +24 -0
- package/elasticache/globalReplicationGroup.js +4 -0
- package/elasticache/globalReplicationGroup.js.map +1 -1
- package/elasticloadbalancingv2/targetGroup.d.ts +12 -0
- package/elasticloadbalancingv2/targetGroup.js +2 -0
- package/elasticloadbalancingv2/targetGroup.js.map +1 -1
- package/evidently/index.d.ts +3 -0
- package/evidently/index.js +6 -1
- package/evidently/index.js.map +1 -1
- package/evidently/project.d.ts +2 -2
- package/evidently/project.js +2 -2
- package/evidently/segment.d.ts +205 -0
- package/evidently/segment.js +127 -0
- package/evidently/segment.js.map +1 -0
- package/fsx/fileCache.d.ts +263 -0
- package/fsx/fileCache.js +141 -0
- package/fsx/fileCache.js.map +1 -0
- package/fsx/index.d.ts +3 -0
- package/fsx/index.js +6 -1
- package/fsx/index.js.map +1 -1
- package/inspector2/enabler.d.ts +80 -0
- package/inspector2/enabler.js +86 -0
- package/inspector2/enabler.js.map +1 -0
- package/inspector2/index.d.ts +3 -0
- package/inspector2/index.js +6 -1
- package/inspector2/index.js.map +1 -1
- package/lb/targetGroup.d.ts +12 -0
- package/lb/targetGroup.js +2 -0
- package/lb/targetGroup.js.map +1 -1
- package/lightsail/disk.d.ts +153 -0
- package/lightsail/disk.js +99 -0
- package/lightsail/disk.js.map +1 -0
- package/lightsail/disk_attachment.d.ts +112 -0
- package/lightsail/disk_attachment.js +102 -0
- package/lightsail/disk_attachment.js.map +1 -0
- package/lightsail/index.d.ts +15 -0
- package/lightsail/index.js +26 -1
- package/lightsail/index.js.map +1 -1
- package/lightsail/lbCertificate.d.ts +136 -0
- package/lightsail/lbCertificate.js +96 -0
- package/lightsail/lbCertificate.js.map +1 -0
- package/lightsail/lbCertificateAttachment.d.ts +94 -0
- package/lightsail/lbCertificateAttachment.js +91 -0
- package/lightsail/lbCertificateAttachment.js.map +1 -0
- package/lightsail/lbStickinessPolicy.d.ts +103 -0
- package/lightsail/lbStickinessPolicy.js +93 -0
- package/lightsail/lbStickinessPolicy.js.map +1 -0
- package/networkmanager/getCoreNetworkPolicyDocument.d.ts +2 -2
- package/networkmanager/getCoreNetworkPolicyDocument.js +2 -2
- package/outposts/getAssets.d.ts +42 -1
- package/outposts/getAssets.js +25 -0
- package/outposts/getAssets.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/rds/instance.d.ts +3 -6
- package/rds/instance.js.map +1 -1
- package/rds/parameterGroup.d.ts +0 -21
- package/rds/parameterGroup.js +0 -21
- package/rds/parameterGroup.js.map +1 -1
- package/route53/getTrafficPolicyDocument.d.ts +75 -0
- package/route53/getTrafficPolicyDocument.js +75 -0
- package/route53/getTrafficPolicyDocument.js.map +1 -1
- package/route53/index.d.ts +3 -0
- package/route53/index.js +6 -1
- package/route53/index.js.map +1 -1
- package/route53/resolverConfig.d.ts +96 -0
- package/route53/resolverConfig.js +87 -0
- package/route53/resolverConfig.js.map +1 -0
- package/sagemaker/domain.d.ts +35 -3
- package/sagemaker/domain.js +6 -0
- package/sagemaker/domain.js.map +1 -1
- package/sagemaker/index.d.ts +3 -0
- package/sagemaker/index.js +6 -1
- package/sagemaker/index.js.map +1 -1
- package/sagemaker/servicecatalogPortfolioStatus.d.ts +72 -0
- package/sagemaker/servicecatalogPortfolioStatus.js +76 -0
- package/sagemaker/servicecatalogPortfolioStatus.js.map +1 -0
- package/sagemaker/workforce.d.ts +14 -0
- package/sagemaker/workforce.js +2 -0
- package/sagemaker/workforce.js.map +1 -1
- package/secretsmanager/secret.d.ts +1 -1
- package/secretsmanager/secret.js +1 -1
- package/secretsmanager/secretRotation.d.ts +1 -1
- package/secretsmanager/secretRotation.js +1 -1
- package/sesv2/dedicatedIpAssignment.d.ts +82 -0
- package/sesv2/dedicatedIpAssignment.js +79 -0
- package/sesv2/dedicatedIpAssignment.js.map +1 -0
- package/sesv2/dedicatedIpPool.d.ts +23 -0
- package/sesv2/dedicatedIpPool.js +13 -0
- package/sesv2/dedicatedIpPool.js.map +1 -1
- package/sesv2/emailIdentity.d.ts +161 -0
- package/sesv2/emailIdentity.js +111 -0
- package/sesv2/emailIdentity.js.map +1 -0
- package/sesv2/emailIdentityFeedbackAttributes.d.ts +83 -0
- package/sesv2/emailIdentityFeedbackAttributes.js +77 -0
- package/sesv2/emailIdentityFeedbackAttributes.js.map +1 -0
- package/sesv2/getDedicatedIpPool.d.ts +4 -0
- package/sesv2/getDedicatedIpPool.js.map +1 -1
- package/sesv2/index.d.ts +9 -0
- package/sesv2/index.js +16 -1
- package/sesv2/index.js.map +1 -1
- package/sfn/stateMachine.d.ts +9 -6
- package/sfn/stateMachine.js +2 -0
- package/sfn/stateMachine.js.map +1 -1
- package/ssm/defaultPatchBaseline.d.ts +139 -0
- package/ssm/defaultPatchBaseline.js +88 -0
- package/ssm/defaultPatchBaseline.js.map +1 -0
- package/ssm/index.d.ts +3 -0
- package/ssm/index.js +6 -1
- package/ssm/index.js.map +1 -1
- package/ssm/parameter.d.ts +3 -3
- package/ssm/patchBaseline.d.ts +111 -32
- package/ssm/patchBaseline.js +6 -8
- package/ssm/patchBaseline.js.map +1 -1
- package/swf/domain.d.ts +1 -1
- package/transfer/workflow.d.ts +30 -0
- package/transfer/workflow.js +30 -0
- package/transfer/workflow.js.map +1 -1
- package/types/input.d.ts +422 -19
- package/types/output.d.ts +527 -19
package/sagemaker/workforce.d.ts
CHANGED
|
@@ -91,12 +91,17 @@ export declare class Workforce extends pulumi.CustomResource {
|
|
|
91
91
|
readonly sourceIpConfig: pulumi.Output<outputs.sagemaker.WorkforceSourceIpConfig>;
|
|
92
92
|
/**
|
|
93
93
|
* The subdomain for your OIDC Identity Provider.
|
|
94
|
+
* * `workforce_vpc_config.0.vpc_endpoint_id` - The IDs for the VPC service endpoints of your VPC workforce.
|
|
94
95
|
*/
|
|
95
96
|
readonly subdomain: pulumi.Output<string>;
|
|
96
97
|
/**
|
|
97
98
|
* The name of the Workforce (must be unique).
|
|
98
99
|
*/
|
|
99
100
|
readonly workforceName: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* configure a workforce using VPC. see Workforce VPC Config details below.
|
|
103
|
+
*/
|
|
104
|
+
readonly workforceVpcConfig: pulumi.Output<outputs.sagemaker.WorkforceWorkforceVpcConfig | undefined>;
|
|
100
105
|
/**
|
|
101
106
|
* Create a Workforce resource with the given unique name, arguments, and options.
|
|
102
107
|
*
|
|
@@ -128,12 +133,17 @@ export interface WorkforceState {
|
|
|
128
133
|
sourceIpConfig?: pulumi.Input<inputs.sagemaker.WorkforceSourceIpConfig>;
|
|
129
134
|
/**
|
|
130
135
|
* The subdomain for your OIDC Identity Provider.
|
|
136
|
+
* * `workforce_vpc_config.0.vpc_endpoint_id` - The IDs for the VPC service endpoints of your VPC workforce.
|
|
131
137
|
*/
|
|
132
138
|
subdomain?: pulumi.Input<string>;
|
|
133
139
|
/**
|
|
134
140
|
* The name of the Workforce (must be unique).
|
|
135
141
|
*/
|
|
136
142
|
workforceName?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* configure a workforce using VPC. see Workforce VPC Config details below.
|
|
145
|
+
*/
|
|
146
|
+
workforceVpcConfig?: pulumi.Input<inputs.sagemaker.WorkforceWorkforceVpcConfig>;
|
|
137
147
|
}
|
|
138
148
|
/**
|
|
139
149
|
* The set of arguments for constructing a Workforce resource.
|
|
@@ -155,4 +165,8 @@ export interface WorkforceArgs {
|
|
|
155
165
|
* The name of the Workforce (must be unique).
|
|
156
166
|
*/
|
|
157
167
|
workforceName: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* configure a workforce using VPC. see Workforce VPC Config details below.
|
|
170
|
+
*/
|
|
171
|
+
workforceVpcConfig?: pulumi.Input<inputs.sagemaker.WorkforceWorkforceVpcConfig>;
|
|
158
172
|
}
|
package/sagemaker/workforce.js
CHANGED
|
@@ -73,6 +73,7 @@ class Workforce extends pulumi.CustomResource {
|
|
|
73
73
|
resourceInputs["sourceIpConfig"] = state ? state.sourceIpConfig : undefined;
|
|
74
74
|
resourceInputs["subdomain"] = state ? state.subdomain : undefined;
|
|
75
75
|
resourceInputs["workforceName"] = state ? state.workforceName : undefined;
|
|
76
|
+
resourceInputs["workforceVpcConfig"] = state ? state.workforceVpcConfig : undefined;
|
|
76
77
|
}
|
|
77
78
|
else {
|
|
78
79
|
const args = argsOrState;
|
|
@@ -83,6 +84,7 @@ class Workforce extends pulumi.CustomResource {
|
|
|
83
84
|
resourceInputs["oidcConfig"] = args ? args.oidcConfig : undefined;
|
|
84
85
|
resourceInputs["sourceIpConfig"] = args ? args.sourceIpConfig : undefined;
|
|
85
86
|
resourceInputs["workforceName"] = args ? args.workforceName : undefined;
|
|
87
|
+
resourceInputs["workforceVpcConfig"] = args ? args.workforceVpcConfig : undefined;
|
|
86
88
|
resourceInputs["arn"] = undefined /*out*/;
|
|
87
89
|
resourceInputs["subdomain"] = undefined /*out*/;
|
|
88
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workforce.js","sourceRoot":"","sources":["../../sagemaker/workforce.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"workforce.js","sourceRoot":"","sources":["../../sagemaker/workforce.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAkEhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CA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automatic secret rotation, the Secrets Manager service requires usage of a Lambda function. The [Rotate Secrets section in the Secrets Manager User Guide](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-
|
|
18
|
+
* To enable automatic secret rotation, the Secrets Manager service requires usage of a Lambda function. The [Rotate Secrets section in the Secrets Manager User Guide](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html) provides additional information about deploying a prebuilt Lambda functions for supported credential rotation (e.g., RDS) or deploying a custom Lambda function.
|
|
19
19
|
*
|
|
20
20
|
* > **NOTE:** Configuring rotation causes the secret to rotate once as soon as you store the secret. Before you do this, you must ensure that all of your applications that use the credentials stored in the secret are updated to retrieve the secret from AWS Secrets Manager. The old credentials might no longer be usable after the initial rotation and any applications that you fail to update will break as soon as the old credentials are no longer valid.
|
|
21
21
|
*
|
package/secretsmanager/secret.js
CHANGED
|
@@ -19,7 +19,7 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* ```
|
|
20
20
|
* ### Rotation Configuration
|
|
21
21
|
*
|
|
22
|
-
* To enable automatic secret rotation, the Secrets Manager service requires usage of a Lambda function. The [Rotate Secrets section in the Secrets Manager User Guide](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-
|
|
22
|
+
* To enable automatic secret rotation, the Secrets Manager service requires usage of a Lambda function. The [Rotate Secrets section in the Secrets Manager User Guide](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html) provides additional information about deploying a prebuilt Lambda functions for supported credential rotation (e.g., RDS) or deploying a custom Lambda function.
|
|
23
23
|
*
|
|
24
24
|
* > **NOTE:** Configuring rotation causes the secret to rotate once as soon as you store the secret. Before you do this, you must ensure that all of your applications that use the credentials stored in the secret are updated to retrieve the secret from AWS Secrets Manager. The old credentials might no longer be usable after the initial rotation and any applications that you fail to update will break as soon as the old credentials are no longer valid.
|
|
25
25
|
*
|
|
@@ -21,7 +21,7 @@ import * as outputs from "../types/output";
|
|
|
21
21
|
* ```
|
|
22
22
|
* ### Rotation Configuration
|
|
23
23
|
*
|
|
24
|
-
* To enable automatic secret rotation, the Secrets Manager service requires usage of a Lambda function. The [Rotate Secrets section in the Secrets Manager User Guide](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-
|
|
24
|
+
* To enable automatic secret rotation, the Secrets Manager service requires usage of a Lambda function. The [Rotate Secrets section in the Secrets Manager User Guide](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html) provides additional information about deploying a prebuilt Lambda functions for supported credential rotation (e.g., RDS) or deploying a custom Lambda function.
|
|
25
25
|
*
|
|
26
26
|
* > **NOTE:** Configuring rotation causes the secret to rotate once as soon as you enable rotation. Before you do this, you must ensure that all of your applications that use the credentials stored in the secret are updated to retrieve the secret from AWS Secrets Manager. The old credentials might no longer be usable after the initial rotation and any applications that you fail to update will break as soon as the old credentials are no longer valid.
|
|
27
27
|
*
|
|
@@ -25,7 +25,7 @@ const utilities = require("../utilities");
|
|
|
25
25
|
* ```
|
|
26
26
|
* ### Rotation Configuration
|
|
27
27
|
*
|
|
28
|
-
* To enable automatic secret rotation, the Secrets Manager service requires usage of a Lambda function. The [Rotate Secrets section in the Secrets Manager User Guide](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-
|
|
28
|
+
* To enable automatic secret rotation, the Secrets Manager service requires usage of a Lambda function. The [Rotate Secrets section in the Secrets Manager User Guide](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html) provides additional information about deploying a prebuilt Lambda functions for supported credential rotation (e.g., RDS) or deploying a custom Lambda function.
|
|
29
29
|
*
|
|
30
30
|
* > **NOTE:** Configuring rotation causes the secret to rotate once as soon as you enable rotation. Before you do this, you must ensure that all of your applications that use the credentials stored in the secret are updated to retrieve the secret from AWS Secrets Manager. The old credentials might no longer be usable after the initial rotation and any applications that you fail to update will break as soon as the old credentials are no longer valid.
|
|
31
31
|
*
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
* ### Basic Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as aws from "@pulumi/aws";
|
|
9
|
+
*
|
|
10
|
+
* const example = new aws.sesv2.DedicatedIpAssignment("example", {
|
|
11
|
+
* destinationPoolName: "my-pool",
|
|
12
|
+
* ip: "0.0.0.0",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* ## Import
|
|
17
|
+
*
|
|
18
|
+
* SESv2 (Simple Email V2) Dedicated IP Assignment can be imported using the `id`, which is a comma-separated string made up of `ip` and `destination_pool_name`, e.g.,
|
|
19
|
+
*
|
|
20
|
+
* ```sh
|
|
21
|
+
* $ pulumi import aws:sesv2/dedicatedIpAssignment:DedicatedIpAssignment example "0.0.0.0,my-pool"
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class DedicatedIpAssignment extends pulumi.CustomResource {
|
|
25
|
+
/**
|
|
26
|
+
* Get an existing DedicatedIpAssignment resource's state with the given name, ID, and optional extra
|
|
27
|
+
* properties used to qualify the lookup.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resulting resource.
|
|
30
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
31
|
+
* @param state Any extra arguments used during the lookup.
|
|
32
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
33
|
+
*/
|
|
34
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DedicatedIpAssignmentState, opts?: pulumi.CustomResourceOptions): DedicatedIpAssignment;
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the given object is an instance of DedicatedIpAssignment. This is designed to work even
|
|
37
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
|
+
*/
|
|
39
|
+
static isInstance(obj: any): obj is DedicatedIpAssignment;
|
|
40
|
+
/**
|
|
41
|
+
* Dedicated IP address.
|
|
42
|
+
*/
|
|
43
|
+
readonly destinationPoolName: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Dedicated IP address.
|
|
46
|
+
*/
|
|
47
|
+
readonly ip: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Create a DedicatedIpAssignment resource with the given unique name, arguments, and options.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resource.
|
|
52
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
53
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
54
|
+
*/
|
|
55
|
+
constructor(name: string, args: DedicatedIpAssignmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Input properties used for looking up and filtering DedicatedIpAssignment resources.
|
|
59
|
+
*/
|
|
60
|
+
export interface DedicatedIpAssignmentState {
|
|
61
|
+
/**
|
|
62
|
+
* Dedicated IP address.
|
|
63
|
+
*/
|
|
64
|
+
destinationPoolName?: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Dedicated IP address.
|
|
67
|
+
*/
|
|
68
|
+
ip?: pulumi.Input<string>;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The set of arguments for constructing a DedicatedIpAssignment resource.
|
|
72
|
+
*/
|
|
73
|
+
export interface DedicatedIpAssignmentArgs {
|
|
74
|
+
/**
|
|
75
|
+
* Dedicated IP address.
|
|
76
|
+
*/
|
|
77
|
+
destinationPoolName: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Dedicated IP address.
|
|
80
|
+
*/
|
|
81
|
+
ip: pulumi.Input<string>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DedicatedIpAssignment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Basic Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as aws from "@pulumi/aws";
|
|
15
|
+
*
|
|
16
|
+
* const example = new aws.sesv2.DedicatedIpAssignment("example", {
|
|
17
|
+
* destinationPoolName: "my-pool",
|
|
18
|
+
* ip: "0.0.0.0",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* SESv2 (Simple Email V2) Dedicated IP Assignment can be imported using the `id`, which is a comma-separated string made up of `ip` and `destination_pool_name`, e.g.,
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import aws:sesv2/dedicatedIpAssignment:DedicatedIpAssignment example "0.0.0.0,my-pool"
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
class DedicatedIpAssignment extends pulumi.CustomResource {
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["destinationPoolName"] = state ? state.destinationPoolName : undefined;
|
|
37
|
+
resourceInputs["ip"] = state ? state.ip : undefined;
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
const args = argsOrState;
|
|
41
|
+
if ((!args || args.destinationPoolName === undefined) && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'destinationPoolName'");
|
|
43
|
+
}
|
|
44
|
+
if ((!args || args.ip === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'ip'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["destinationPoolName"] = args ? args.destinationPoolName : undefined;
|
|
48
|
+
resourceInputs["ip"] = args ? args.ip : undefined;
|
|
49
|
+
}
|
|
50
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
51
|
+
super(DedicatedIpAssignment.__pulumiType, name, resourceInputs, opts);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing DedicatedIpAssignment resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name, id, state, opts) {
|
|
63
|
+
return new DedicatedIpAssignment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of DedicatedIpAssignment. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj) {
|
|
70
|
+
if (obj === undefined || obj === null) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
return obj['__pulumiType'] === DedicatedIpAssignment.__pulumiType;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.DedicatedIpAssignment = DedicatedIpAssignment;
|
|
77
|
+
/** @internal */
|
|
78
|
+
DedicatedIpAssignment.__pulumiType = 'aws:sesv2/dedicatedIpAssignment:DedicatedIpAssignment';
|
|
79
|
+
//# sourceMappingURL=dedicatedIpAssignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dedicatedIpAssignment.js","sourceRoot":"","sources":["../../sesv2/dedicatedIpAssignment.ts"],"names":[],"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,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;IAhED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;;AA1BL,sDAkEC;AApDG,gBAAgB;AACO,kCAAY,GAAG,uDAAuD,CAAC"}
|
|
@@ -11,6 +11,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* poolName: "my-pool",
|
|
12
12
|
* });
|
|
13
13
|
* ```
|
|
14
|
+
* ### Managed Pool
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as aws from "@pulumi/aws";
|
|
19
|
+
*
|
|
20
|
+
* const example = new aws.sesv2.DedicatedIpPool("example", {
|
|
21
|
+
* poolName: "my-managed-pool",
|
|
22
|
+
* scalingMode: "MANAGED",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
14
25
|
*
|
|
15
26
|
* ## Import
|
|
16
27
|
*
|
|
@@ -44,6 +55,10 @@ export declare class DedicatedIpPool extends pulumi.CustomResource {
|
|
|
44
55
|
* Name of the dedicated IP pool.
|
|
45
56
|
*/
|
|
46
57
|
readonly poolName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* IP pool scaling mode. Valid values: `STANDARD`, `MANAGED`. If omitted, the AWS API will default to a standard pool.
|
|
60
|
+
*/
|
|
61
|
+
readonly scalingMode: pulumi.Output<string>;
|
|
47
62
|
readonly tags: pulumi.Output<{
|
|
48
63
|
[key: string]: string;
|
|
49
64
|
} | undefined>;
|
|
@@ -71,6 +86,10 @@ export interface DedicatedIpPoolState {
|
|
|
71
86
|
* Name of the dedicated IP pool.
|
|
72
87
|
*/
|
|
73
88
|
poolName?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* IP pool scaling mode. Valid values: `STANDARD`, `MANAGED`. If omitted, the AWS API will default to a standard pool.
|
|
91
|
+
*/
|
|
92
|
+
scalingMode?: pulumi.Input<string>;
|
|
74
93
|
tags?: pulumi.Input<{
|
|
75
94
|
[key: string]: pulumi.Input<string>;
|
|
76
95
|
}>;
|
|
@@ -86,6 +105,10 @@ export interface DedicatedIpPoolArgs {
|
|
|
86
105
|
* Name of the dedicated IP pool.
|
|
87
106
|
*/
|
|
88
107
|
poolName: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* IP pool scaling mode. Valid values: `STANDARD`, `MANAGED`. If omitted, the AWS API will default to a standard pool.
|
|
110
|
+
*/
|
|
111
|
+
scalingMode?: pulumi.Input<string>;
|
|
89
112
|
tags?: pulumi.Input<{
|
|
90
113
|
[key: string]: pulumi.Input<string>;
|
|
91
114
|
}>;
|
package/sesv2/dedicatedIpPool.js
CHANGED
|
@@ -17,6 +17,17 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* poolName: "my-pool",
|
|
18
18
|
* });
|
|
19
19
|
* ```
|
|
20
|
+
* ### Managed Pool
|
|
21
|
+
*
|
|
22
|
+
* ```typescript
|
|
23
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
24
|
+
* import * as aws from "@pulumi/aws";
|
|
25
|
+
*
|
|
26
|
+
* const example = new aws.sesv2.DedicatedIpPool("example", {
|
|
27
|
+
* poolName: "my-managed-pool",
|
|
28
|
+
* scalingMode: "MANAGED",
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
20
31
|
*
|
|
21
32
|
* ## Import
|
|
22
33
|
*
|
|
@@ -34,6 +45,7 @@ class DedicatedIpPool extends pulumi.CustomResource {
|
|
|
34
45
|
const state = argsOrState;
|
|
35
46
|
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
36
47
|
resourceInputs["poolName"] = state ? state.poolName : undefined;
|
|
48
|
+
resourceInputs["scalingMode"] = state ? state.scalingMode : undefined;
|
|
37
49
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
38
50
|
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
39
51
|
}
|
|
@@ -43,6 +55,7 @@ class DedicatedIpPool extends pulumi.CustomResource {
|
|
|
43
55
|
throw new Error("Missing required property 'poolName'");
|
|
44
56
|
}
|
|
45
57
|
resourceInputs["poolName"] = args ? args.poolName : undefined;
|
|
58
|
+
resourceInputs["scalingMode"] = args ? args.scalingMode : undefined;
|
|
46
59
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
47
60
|
resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
48
61
|
resourceInputs["arn"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dedicatedIpPool.js","sourceRoot":"","sources":["../../sesv2/dedicatedIpPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"dedicatedIpPool.js","sourceRoot":"","sources":["../../sesv2/dedicatedIpPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAmDtD,YAAY,IAAY,EAAE,WA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,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;IAzED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CA2EC;AA7DG,gBAAgB;AACO,4BAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Basic Usage
|
|
8
|
+
* ### Email Address Identity
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const example = new aws.sesv2.EmailIdentity("example", {
|
|
15
|
+
* emailIdentity: "testing@example.com",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
* ### Domain Identity
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as aws from "@pulumi/aws";
|
|
23
|
+
*
|
|
24
|
+
* const example = new aws.sesv2.EmailIdentity("example", {
|
|
25
|
+
* emailIdentity: "example.com",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
* ### Configuration Set
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as aws from "@pulumi/aws";
|
|
33
|
+
*
|
|
34
|
+
* const exampleConfigurationSet = new aws.sesv2.ConfigurationSet("exampleConfigurationSet", {configurationSetName: "example"});
|
|
35
|
+
* const exampleEmailIdentity = new aws.sesv2.EmailIdentity("exampleEmailIdentity", {
|
|
36
|
+
* emailIdentity: "example.com",
|
|
37
|
+
* configurationSetName: exampleConfigurationSet.configurationSetName,
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* SESv2 (Simple Email V2) Email Identity can be imported using the `email_identity`, e.g.,
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import aws:sesv2/emailIdentity:EmailIdentity example example.com
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export declare class EmailIdentity extends pulumi.CustomResource {
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing EmailIdentity resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EmailIdentityState, opts?: pulumi.CustomResourceOptions): EmailIdentity;
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of EmailIdentity. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj: any): obj is EmailIdentity;
|
|
65
|
+
/**
|
|
66
|
+
* ARN of the Email Identity.
|
|
67
|
+
*/
|
|
68
|
+
readonly arn: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
|
|
71
|
+
*/
|
|
72
|
+
readonly configurationSetName: pulumi.Output<string | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* The configuration of the DKIM authentication settings for an email domain identity.
|
|
75
|
+
*/
|
|
76
|
+
readonly dkimSigningAttributes: pulumi.Output<outputs.sesv2.EmailIdentityDkimSigningAttributes>;
|
|
77
|
+
/**
|
|
78
|
+
* The email address or domain to verify.
|
|
79
|
+
*/
|
|
80
|
+
readonly emailIdentity: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The email identity type. Valid values: `EMAIL_ADDRESS`, `DOMAIN`.
|
|
83
|
+
*/
|
|
84
|
+
readonly identityType: pulumi.Output<string>;
|
|
85
|
+
readonly tags: pulumi.Output<{
|
|
86
|
+
[key: string]: string;
|
|
87
|
+
} | undefined>;
|
|
88
|
+
readonly tagsAll: pulumi.Output<{
|
|
89
|
+
[key: string]: string;
|
|
90
|
+
}>;
|
|
91
|
+
/**
|
|
92
|
+
* Specifies whether or not the identity is verified.
|
|
93
|
+
*/
|
|
94
|
+
readonly verifiedForSendingStatus: pulumi.Output<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* Create a EmailIdentity resource with the given unique name, arguments, and options.
|
|
97
|
+
*
|
|
98
|
+
* @param name The _unique_ name of the resource.
|
|
99
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
100
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
101
|
+
*/
|
|
102
|
+
constructor(name: string, args: EmailIdentityArgs, opts?: pulumi.CustomResourceOptions);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Input properties used for looking up and filtering EmailIdentity resources.
|
|
106
|
+
*/
|
|
107
|
+
export interface EmailIdentityState {
|
|
108
|
+
/**
|
|
109
|
+
* ARN of the Email Identity.
|
|
110
|
+
*/
|
|
111
|
+
arn?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
|
|
114
|
+
*/
|
|
115
|
+
configurationSetName?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The configuration of the DKIM authentication settings for an email domain identity.
|
|
118
|
+
*/
|
|
119
|
+
dkimSigningAttributes?: pulumi.Input<inputs.sesv2.EmailIdentityDkimSigningAttributes>;
|
|
120
|
+
/**
|
|
121
|
+
* The email address or domain to verify.
|
|
122
|
+
*/
|
|
123
|
+
emailIdentity?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The email identity type. Valid values: `EMAIL_ADDRESS`, `DOMAIN`.
|
|
126
|
+
*/
|
|
127
|
+
identityType?: pulumi.Input<string>;
|
|
128
|
+
tags?: pulumi.Input<{
|
|
129
|
+
[key: string]: pulumi.Input<string>;
|
|
130
|
+
}>;
|
|
131
|
+
tagsAll?: pulumi.Input<{
|
|
132
|
+
[key: string]: pulumi.Input<string>;
|
|
133
|
+
}>;
|
|
134
|
+
/**
|
|
135
|
+
* Specifies whether or not the identity is verified.
|
|
136
|
+
*/
|
|
137
|
+
verifiedForSendingStatus?: pulumi.Input<boolean>;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* The set of arguments for constructing a EmailIdentity resource.
|
|
141
|
+
*/
|
|
142
|
+
export interface EmailIdentityArgs {
|
|
143
|
+
/**
|
|
144
|
+
* The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
|
|
145
|
+
*/
|
|
146
|
+
configurationSetName?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The configuration of the DKIM authentication settings for an email domain identity.
|
|
149
|
+
*/
|
|
150
|
+
dkimSigningAttributes?: pulumi.Input<inputs.sesv2.EmailIdentityDkimSigningAttributes>;
|
|
151
|
+
/**
|
|
152
|
+
* The email address or domain to verify.
|
|
153
|
+
*/
|
|
154
|
+
emailIdentity: pulumi.Input<string>;
|
|
155
|
+
tags?: pulumi.Input<{
|
|
156
|
+
[key: string]: pulumi.Input<string>;
|
|
157
|
+
}>;
|
|
158
|
+
tagsAll?: pulumi.Input<{
|
|
159
|
+
[key: string]: pulumi.Input<string>;
|
|
160
|
+
}>;
|
|
161
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.EmailIdentity = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Basic Usage
|
|
12
|
+
* ### Email Address Identity
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const example = new aws.sesv2.EmailIdentity("example", {
|
|
19
|
+
* emailIdentity: "testing@example.com",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
* ### Domain Identity
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as aws from "@pulumi/aws";
|
|
27
|
+
*
|
|
28
|
+
* const example = new aws.sesv2.EmailIdentity("example", {
|
|
29
|
+
* emailIdentity: "example.com",
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
* ### Configuration Set
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as aws from "@pulumi/aws";
|
|
37
|
+
*
|
|
38
|
+
* const exampleConfigurationSet = new aws.sesv2.ConfigurationSet("exampleConfigurationSet", {configurationSetName: "example"});
|
|
39
|
+
* const exampleEmailIdentity = new aws.sesv2.EmailIdentity("exampleEmailIdentity", {
|
|
40
|
+
* emailIdentity: "example.com",
|
|
41
|
+
* configurationSetName: exampleConfigurationSet.configurationSetName,
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ## Import
|
|
46
|
+
*
|
|
47
|
+
* SESv2 (Simple Email V2) Email Identity can be imported using the `email_identity`, e.g.,
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import aws:sesv2/emailIdentity:EmailIdentity example example.com
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
class EmailIdentity extends pulumi.CustomResource {
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
60
|
+
resourceInputs["configurationSetName"] = state ? state.configurationSetName : undefined;
|
|
61
|
+
resourceInputs["dkimSigningAttributes"] = state ? state.dkimSigningAttributes : undefined;
|
|
62
|
+
resourceInputs["emailIdentity"] = state ? state.emailIdentity : undefined;
|
|
63
|
+
resourceInputs["identityType"] = state ? state.identityType : undefined;
|
|
64
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
65
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
66
|
+
resourceInputs["verifiedForSendingStatus"] = state ? state.verifiedForSendingStatus : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if ((!args || args.emailIdentity === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'emailIdentity'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["configurationSetName"] = args ? args.configurationSetName : undefined;
|
|
74
|
+
resourceInputs["dkimSigningAttributes"] = args ? args.dkimSigningAttributes : undefined;
|
|
75
|
+
resourceInputs["emailIdentity"] = args ? args.emailIdentity : undefined;
|
|
76
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
77
|
+
resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
78
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["identityType"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["verifiedForSendingStatus"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(EmailIdentity.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Get an existing EmailIdentity resource's state with the given name, ID, and optional extra
|
|
87
|
+
* properties used to qualify the lookup.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resulting resource.
|
|
90
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
91
|
+
* @param state Any extra arguments used during the lookup.
|
|
92
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
93
|
+
*/
|
|
94
|
+
static get(name, id, state, opts) {
|
|
95
|
+
return new EmailIdentity(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Returns true if the given object is an instance of EmailIdentity. This is designed to work even
|
|
99
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
100
|
+
*/
|
|
101
|
+
static isInstance(obj) {
|
|
102
|
+
if (obj === undefined || obj === null) {
|
|
103
|
+
return false;
|
|
104
|
+
}
|
|
105
|
+
return obj['__pulumiType'] === EmailIdentity.__pulumiType;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.EmailIdentity = EmailIdentity;
|
|
109
|
+
/** @internal */
|
|
110
|
+
EmailIdentity.__pulumiType = 'aws:sesv2/emailIdentity:EmailIdentity';
|
|
111
|
+
//# sourceMappingURL=emailIdentity.js.map
|