@pulumi/aws 6.15.0 → 6.17.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.
@@ -21,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
21
21
  * const exampleUserPoolUICustomization = new aws.cognito.UserPoolUICustomization("exampleUserPoolUICustomization", {
22
22
  * clientId: exampleUserPoolClient.id,
23
23
  * css: ".label-customizable {font-weight: 400;}",
24
- * imageFile: Buffer.from(fs.readFileSync("logo.png"), 'binary').toString('base64'),
24
+ * imageFile: Buffer.from(fs.readFileSync("logo.png", 'binary')).toString('base64'),
25
25
  * userPoolId: exampleUserPoolDomain.userPoolId,
26
26
  * });
27
27
  * ```
@@ -39,7 +39,7 @@ import * as pulumi from "@pulumi/pulumi";
39
39
  * });
40
40
  * const exampleUserPoolUICustomization = new aws.cognito.UserPoolUICustomization("exampleUserPoolUICustomization", {
41
41
  * css: ".label-customizable {font-weight: 400;}",
42
- * imageFile: Buffer.from(fs.readFileSync("logo.png"), 'binary').toString('base64'),
42
+ * imageFile: Buffer.from(fs.readFileSync("logo.png", 'binary')).toString('base64'),
43
43
  * userPoolId: exampleUserPoolDomain.userPoolId,
44
44
  * });
45
45
  * ```
@@ -27,7 +27,7 @@ const utilities = require("../utilities");
27
27
  * const exampleUserPoolUICustomization = new aws.cognito.UserPoolUICustomization("exampleUserPoolUICustomization", {
28
28
  * clientId: exampleUserPoolClient.id,
29
29
  * css: ".label-customizable {font-weight: 400;}",
30
- * imageFile: Buffer.from(fs.readFileSync("logo.png"), 'binary').toString('base64'),
30
+ * imageFile: Buffer.from(fs.readFileSync("logo.png", 'binary')).toString('base64'),
31
31
  * userPoolId: exampleUserPoolDomain.userPoolId,
32
32
  * });
33
33
  * ```
@@ -45,7 +45,7 @@ const utilities = require("../utilities");
45
45
  * });
46
46
  * const exampleUserPoolUICustomization = new aws.cognito.UserPoolUICustomization("exampleUserPoolUICustomization", {
47
47
  * css: ".label-customizable {font-weight: 400;}",
48
- * imageFile: Buffer.from(fs.readFileSync("logo.png"), 'binary').toString('base64'),
48
+ * imageFile: Buffer.from(fs.readFileSync("logo.png", 'binary')).toString('base64'),
49
49
  * userPoolId: exampleUserPoolDomain.userPoolId,
50
50
  * });
51
51
  * ```
@@ -74,7 +74,7 @@ import * as outputs from "../types/output";
74
74
  * Name: "test",
75
75
  * },
76
76
  * }],
77
- * userData: Buffer.from(fs.readFileSync(`${path.module}/example.sh`), 'binary').toString('base64'),
77
+ * userData: Buffer.from(fs.readFileSync(`${path.module}/example.sh`, 'binary')).toString('base64'),
78
78
  * });
79
79
  * ```
80
80
  *
@@ -78,7 +78,7 @@ const utilities = require("../utilities");
78
78
  * Name: "test",
79
79
  * },
80
80
  * }],
81
- * userData: Buffer.from(fs.readFileSync(`${path.module}/example.sh`), 'binary').toString('base64'),
81
+ * userData: Buffer.from(fs.readFileSync(`${path.module}/example.sh`, 'binary')).toString('base64'),
82
82
  * });
83
83
  * ```
84
84
  *
@@ -20,7 +20,7 @@ import * as outputs from "../types/output";
20
20
  * aboutText: "About Text",
21
21
  * architectures: ["ARM"],
22
22
  * description: "Description",
23
- * logoImageBlob: Buffer.from(fs.readFileSync(image.png), 'binary').toString('base64'),
23
+ * logoImageBlob: Buffer.from(fs.readFileSync(image.png, 'binary')).toString('base64'),
24
24
  * operatingSystems: ["Linux"],
25
25
  * usageText: "Usage Text",
26
26
  * },
@@ -24,7 +24,7 @@ const utilities = require("../utilities");
24
24
  * aboutText: "About Text",
25
25
  * architectures: ["ARM"],
26
26
  * description: "Description",
27
- * logoImageBlob: Buffer.from(fs.readFileSync(image.png), 'binary').toString('base64'),
27
+ * logoImageBlob: Buffer.from(fs.readFileSync(image.png, 'binary')).toString('base64'),
28
28
  * operatingSystems: ["Linux"],
29
29
  * usageText: "Usage Text",
30
30
  * },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/aws",
3
- "version": "v6.15.0",
3
+ "version": "v6.17.0",
4
4
  "description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -34,8 +34,8 @@ import * as pulumi from "@pulumi/pulumi";
34
34
  * import * as crypto from "crypto";
35
35
  * import * as fs from "fs";
36
36
  *
37
- * function computeFilebase64sha256(path string) string {
38
- * const fileData = Buffer.from(fs.readFileSync(path), 'binary')
37
+ * function computeFilebase64sha256(path: string): string {
38
+ * const fileData = Buffer.from(fs.readFileSync(path, 'binary'))
39
39
  * return crypto.createHash('sha256').update(fileData).digest('hex')
40
40
  * }
41
41
  *
@@ -40,8 +40,8 @@ const utilities = require("../utilities");
40
40
  * import * as crypto from "crypto";
41
41
  * import * as fs from "fs";
42
42
  *
43
- * function computeFilebase64sha256(path string) string {
44
- * const fileData = Buffer.from(fs.readFileSync(path), 'binary')
43
+ * function computeFilebase64sha256(path: string): string {
44
+ * const fileData = Buffer.from(fs.readFileSync(path, 'binary'))
45
45
  * return crypto.createHash('sha256').update(fileData).digest('hex')
46
46
  * }
47
47
  *