@pulumi/aws 5.13.0 → 5.14.0-alpha.1662044516
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.
|
@@ -13,7 +13,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
* ### DNS Validation with Route 53
|
|
14
14
|
*
|
|
15
15
|
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
16
|
* import * as aws from "@pulumi/aws";
|
|
18
17
|
*
|
|
19
18
|
* const exampleCertificate = new aws.acm.Certificate("exampleCertificate", {
|
|
@@ -24,42 +23,38 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
23
|
* name: "example.com",
|
|
25
24
|
* privateZone: false,
|
|
26
25
|
* });
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* name:
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* ttl: 60,
|
|
38
|
-
* type: aws.route53.recordtype.RecordType[range.value.type],
|
|
39
|
-
* zoneId: exampleZone.then(exampleZone => exampleZone.zoneId),
|
|
40
|
-
* }));
|
|
41
|
-
* }
|
|
42
|
-
* const exampleCertificateValidation = new aws.acm.CertificateValidation("exampleCertificateValidation", {
|
|
26
|
+
*
|
|
27
|
+
* const certValidation = new aws.route53.Record("certValidation", {
|
|
28
|
+
* name: exampleCertificate.domainValidationOptions[0].resourceRecordName,
|
|
29
|
+
* records: [exampleCertificate.domainValidationOptions[0].resourceRecordValue],
|
|
30
|
+
* ttl: 60,
|
|
31
|
+
* type: exampleCertificate.domainValidationOptions[0].resourceRecordType,
|
|
32
|
+
* zoneId: exampleZone.then(x => x.zoneId),
|
|
33
|
+
* });
|
|
34
|
+
*
|
|
35
|
+
* const certCertificateValidation = new aws.acm.CertificateValidation("cert", {
|
|
43
36
|
* certificateArn: exampleCertificate.arn,
|
|
44
|
-
* validationRecordFqdns:
|
|
37
|
+
* validationRecordFqdns: [certValidation.fqdn],
|
|
45
38
|
* });
|
|
46
|
-
*
|
|
47
|
-
* const
|
|
39
|
+
*
|
|
40
|
+
* export const certificateArn = certCertificateValidation.certificateArn;
|
|
48
41
|
* ```
|
|
49
42
|
* ### Email Validation
|
|
50
43
|
*
|
|
51
|
-
* In this situation, the resource is simply a waiter for manual email approval of ACM certificates.
|
|
52
|
-
*
|
|
53
44
|
* ```typescript
|
|
54
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
55
45
|
* import * as aws from "@pulumi/aws";
|
|
56
46
|
*
|
|
57
47
|
* const exampleCertificate = new aws.acm.Certificate("exampleCertificate", {
|
|
58
48
|
* domainName: "example.com",
|
|
59
49
|
* validationMethod: "EMAIL",
|
|
60
50
|
* });
|
|
61
|
-
*
|
|
51
|
+
*
|
|
52
|
+
* const exampleCertificateValidation = new aws.acm.CertificateValidation("exampleCertificateValidation", {
|
|
53
|
+
* certificateArn: exampleCertificate.arn,
|
|
54
|
+
* });
|
|
62
55
|
* ```
|
|
56
|
+
*
|
|
57
|
+
* {{% //examples %}}
|
|
63
58
|
*/
|
|
64
59
|
export declare class CertificateValidation extends pulumi.CustomResource {
|
|
65
60
|
/**
|
|
@@ -19,7 +19,6 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* ### DNS Validation with Route 53
|
|
20
20
|
*
|
|
21
21
|
* ```typescript
|
|
22
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
23
22
|
* import * as aws from "@pulumi/aws";
|
|
24
23
|
*
|
|
25
24
|
* const exampleCertificate = new aws.acm.Certificate("exampleCertificate", {
|
|
@@ -30,42 +29,38 @@ const utilities = require("../utilities");
|
|
|
30
29
|
* name: "example.com",
|
|
31
30
|
* privateZone: false,
|
|
32
31
|
* });
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* name:
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* ttl: 60,
|
|
44
|
-
* type: aws.route53.recordtype.RecordType[range.value.type],
|
|
45
|
-
* zoneId: exampleZone.then(exampleZone => exampleZone.zoneId),
|
|
46
|
-
* }));
|
|
47
|
-
* }
|
|
48
|
-
* const exampleCertificateValidation = new aws.acm.CertificateValidation("exampleCertificateValidation", {
|
|
32
|
+
*
|
|
33
|
+
* const certValidation = new aws.route53.Record("certValidation", {
|
|
34
|
+
* name: exampleCertificate.domainValidationOptions[0].resourceRecordName,
|
|
35
|
+
* records: [exampleCertificate.domainValidationOptions[0].resourceRecordValue],
|
|
36
|
+
* ttl: 60,
|
|
37
|
+
* type: exampleCertificate.domainValidationOptions[0].resourceRecordType,
|
|
38
|
+
* zoneId: exampleZone.then(x => x.zoneId),
|
|
39
|
+
* });
|
|
40
|
+
*
|
|
41
|
+
* const certCertificateValidation = new aws.acm.CertificateValidation("cert", {
|
|
49
42
|
* certificateArn: exampleCertificate.arn,
|
|
50
|
-
* validationRecordFqdns:
|
|
43
|
+
* validationRecordFqdns: [certValidation.fqdn],
|
|
51
44
|
* });
|
|
52
|
-
*
|
|
53
|
-
* const
|
|
45
|
+
*
|
|
46
|
+
* export const certificateArn = certCertificateValidation.certificateArn;
|
|
54
47
|
* ```
|
|
55
48
|
* ### Email Validation
|
|
56
49
|
*
|
|
57
|
-
* In this situation, the resource is simply a waiter for manual email approval of ACM certificates.
|
|
58
|
-
*
|
|
59
50
|
* ```typescript
|
|
60
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
61
51
|
* import * as aws from "@pulumi/aws";
|
|
62
52
|
*
|
|
63
53
|
* const exampleCertificate = new aws.acm.Certificate("exampleCertificate", {
|
|
64
54
|
* domainName: "example.com",
|
|
65
55
|
* validationMethod: "EMAIL",
|
|
66
56
|
* });
|
|
67
|
-
*
|
|
57
|
+
*
|
|
58
|
+
* const exampleCertificateValidation = new aws.acm.CertificateValidation("exampleCertificateValidation", {
|
|
59
|
+
* certificateArn: exampleCertificate.arn,
|
|
60
|
+
* });
|
|
68
61
|
* ```
|
|
62
|
+
*
|
|
63
|
+
* {{% //examples %}}
|
|
69
64
|
*/
|
|
70
65
|
class CertificateValidation extends pulumi.CustomResource {
|
|
71
66
|
constructor(name, argsOrState, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificateValidation.js","sourceRoot":"","sources":["../../acm/certificateValidation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"certificateValidation.js","sourceRoot":"","sources":["../../acm/certificateValidation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IA6C5D,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;aAAM;YACH,MAAM,IAAI,GAAG,WAAoD,CAAC;YAClE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;IA7DD;;;;;;;;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,sDA+DC;AAjDG,gBAAgB;AACO,kCAAY,GAAG,qDAAqD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws",
|
|
3
|
-
"version": "v5.
|
|
3
|
+
"version": "v5.14.0-alpha.1662044516+f07d14bc",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws v5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws v5.14.0-alpha.1662044516+f07d14bc"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws",
|
|
3
|
-
"version": "v5.
|
|
3
|
+
"version": "v5.14.0-alpha.1662044516+f07d14bc",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws v5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws v5.14.0-alpha.1662044516+f07d14bc"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|