@pulumi/aws 7.52.0 → 7.52.1
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/certificate.d.ts +1 -1
- package/acm/certificate.js +1 -1
- package/acm/certificateValidation.d.ts +2 -2
- package/acm/certificateValidation.js +2 -2
- package/appmesh/getVirtualGateway.d.ts +24 -0
- package/appmesh/getVirtualGateway.d.ts.map +1 -1
- package/appmesh/getVirtualGateway.js +24 -0
- package/appmesh/getVirtualGateway.js.map +1 -1
- package/cloudwatch/logS3TableIntegrationSource.d.ts +1 -1
- package/cloudwatch/logS3TableIntegrationSource.js +1 -1
- package/ebs/getEbsVolumes.d.ts +2 -2
- package/ebs/getEbsVolumes.js +2 -2
- package/ec2/flowLog.d.ts +58 -0
- package/ec2/flowLog.d.ts.map +1 -1
- package/ec2/flowLog.js +58 -0
- package/ec2/flowLog.js.map +1 -1
- package/ec2/getCoipPool.d.ts +22 -0
- package/ec2/getCoipPool.d.ts.map +1 -1
- package/ec2/getCoipPool.js +22 -0
- package/ec2/getCoipPool.js.map +1 -1
- package/ec2/getInstances.d.ts +42 -38
- package/ec2/getInstances.d.ts.map +1 -1
- package/ec2/getInstances.js +42 -38
- package/ec2/getInstances.js.map +1 -1
- package/ec2/getManagedPrefixLists.d.ts +2 -6
- package/ec2/getManagedPrefixLists.d.ts.map +1 -1
- package/ec2/getManagedPrefixLists.js +2 -6
- package/ec2/getManagedPrefixLists.js.map +1 -1
- package/ec2/getNatGateways.d.ts +2 -6
- package/ec2/getNatGateways.d.ts.map +1 -1
- package/ec2/getNatGateways.js +2 -6
- package/ec2/getNatGateways.js.map +1 -1
- package/ec2/getRouteTables.d.ts +38 -34
- package/ec2/getRouteTables.d.ts.map +1 -1
- package/ec2/getRouteTables.js +38 -34
- package/ec2/getRouteTables.js.map +1 -1
- package/ec2/getSubnets.d.ts +2 -2
- package/ec2/getSubnets.js +2 -2
- package/ec2/getVpcEndpoint.d.ts +2 -2
- package/ec2/getVpcEndpoint.js +2 -2
- package/ec2/getVpcEndpointService.d.ts +2 -2
- package/ec2/getVpcEndpointService.js +2 -2
- package/ec2/getVpcPeeringConnection.d.ts +2 -2
- package/ec2/getVpcPeeringConnection.js +2 -2
- package/ec2/getVpcPeeringConnections.d.ts +4 -8
- package/ec2/getVpcPeeringConnections.d.ts.map +1 -1
- package/ec2/getVpcPeeringConnections.js +4 -8
- package/ec2/getVpcPeeringConnections.js.map +1 -1
- package/ec2/getVpcs.d.ts +6 -6
- package/ec2/getVpcs.js +6 -6
- package/ec2/vpcEndpoint.d.ts +1 -1
- package/ec2/vpcEndpoint.js +1 -1
- package/ec2transitgateway/getAttachments.d.ts +2 -6
- package/ec2transitgateway/getAttachments.d.ts.map +1 -1
- package/ec2transitgateway/getAttachments.js +2 -6
- package/ec2transitgateway/getAttachments.js.map +1 -1
- package/ec2transitgateway/getPeeringAttachments.d.ts +2 -6
- package/ec2transitgateway/getPeeringAttachments.d.ts.map +1 -1
- package/ec2transitgateway/getPeeringAttachments.js +2 -6
- package/ec2transitgateway/getPeeringAttachments.js.map +1 -1
- package/ec2transitgateway/getVpcAttachments.d.ts +2 -6
- package/ec2transitgateway/getVpcAttachments.d.ts.map +1 -1
- package/ec2transitgateway/getVpcAttachments.js +2 -6
- package/ec2transitgateway/getVpcAttachments.js.map +1 -1
- package/getAvailabilityZone.d.ts +4 -4
- package/getAvailabilityZone.js +4 -4
- package/getAvailabilityZones.d.ts +2 -2
- package/getAvailabilityZones.js +2 -2
- package/glue/getDataCatalogEncryptionSettings.d.ts +18 -0
- package/glue/getDataCatalogEncryptionSettings.d.ts.map +1 -1
- package/glue/getDataCatalogEncryptionSettings.js +18 -0
- package/glue/getDataCatalogEncryptionSettings.js.map +1 -1
- package/inspector/getRulesPackages.d.ts +2 -2
- package/inspector/getRulesPackages.js +2 -2
- package/iot/roleAlias.d.ts +22 -0
- package/iot/roleAlias.d.ts.map +1 -1
- package/iot/roleAlias.js +22 -0
- package/iot/roleAlias.js.map +1 -1
- package/lambda/getFunction.d.ts +8 -8
- package/lambda/getFunction.js +8 -8
- package/lambda/getFunctionUrl.d.ts +2 -2
- package/lambda/getFunctionUrl.js +2 -2
- package/lambda/getFunctions.d.ts +70 -66
- package/lambda/getFunctions.d.ts.map +1 -1
- package/lambda/getFunctions.js +70 -66
- package/lambda/getFunctions.js.map +1 -1
- package/lambda/getInvocation.d.ts +8 -8
- package/lambda/getInvocation.js +8 -8
- package/lambda/layerVersionPermission.d.ts +5 -5
- package/lambda/layerVersionPermission.js +5 -5
- package/mq/broker.d.ts +2 -2
- package/mq/broker.js +2 -2
- package/mskconnect/connector.d.ts +1 -1
- package/mskconnect/connector.js +1 -1
- package/outposts/getOutpostInstanceType.d.ts +2 -2
- package/outposts/getOutpostInstanceType.js +2 -2
- package/package.json +2 -2
- package/quicksight/templateAlias.d.ts +1 -1
- package/quicksight/templateAlias.js +1 -1
- package/rds/instance.d.ts +5 -5
- package/rds/instance.js +5 -5
- package/secretsmanager/secretRotation.d.ts +1 -1
- package/secretsmanager/secretRotation.js +1 -1
- package/ssm/quicksetupConfigurationManager.d.ts +1 -1
- package/ssm/quicksetupConfigurationManager.js +1 -1
- package/storagegateway/cachesIscsiVolume.d.ts +1 -1
- package/storagegateway/cachesIscsiVolume.js +1 -1
- package/storagegateway/fileSystemAssociation.d.ts +1 -1
- package/storagegateway/fileSystemAssociation.js +1 -1
|
@@ -42,7 +42,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
42
42
|
*
|
|
43
43
|
* const example = new aws.lambda.LayerVersionPermission("example", {
|
|
44
44
|
* layerName: exampleAwsLambdaLayerVersion.layerName,
|
|
45
|
-
* versionNumber:
|
|
45
|
+
* versionNumber: exampleAwsLambdaLayerVersion.version,
|
|
46
46
|
* principal: "*",
|
|
47
47
|
* organizationId: "o-1234567890",
|
|
48
48
|
* action: "lambda:GetLayerVersion",
|
|
@@ -58,7 +58,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
58
58
|
*
|
|
59
59
|
* const example = new aws.lambda.LayerVersionPermission("example", {
|
|
60
60
|
* layerName: exampleAwsLambdaLayerVersion.layerName,
|
|
61
|
-
* versionNumber:
|
|
61
|
+
* versionNumber: exampleAwsLambdaLayerVersion.version,
|
|
62
62
|
* principal: "*",
|
|
63
63
|
* action: "lambda:GetLayerVersion",
|
|
64
64
|
* statementId: "public-access",
|
|
@@ -74,21 +74,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
74
74
|
* // Share with multiple specific accounts
|
|
75
75
|
* const devAccount = new aws.lambda.LayerVersionPermission("dev_account", {
|
|
76
76
|
* layerName: example.layerName,
|
|
77
|
-
* versionNumber:
|
|
77
|
+
* versionNumber: example.version,
|
|
78
78
|
* principal: "111111111111",
|
|
79
79
|
* action: "lambda:GetLayerVersion",
|
|
80
80
|
* statementId: "dev-account",
|
|
81
81
|
* });
|
|
82
82
|
* const stagingAccount = new aws.lambda.LayerVersionPermission("staging_account", {
|
|
83
83
|
* layerName: example.layerName,
|
|
84
|
-
* versionNumber:
|
|
84
|
+
* versionNumber: example.version,
|
|
85
85
|
* principal: "222222222222",
|
|
86
86
|
* action: "lambda:GetLayerVersion",
|
|
87
87
|
* statementId: "staging-account",
|
|
88
88
|
* });
|
|
89
89
|
* const prodAccount = new aws.lambda.LayerVersionPermission("prod_account", {
|
|
90
90
|
* layerName: example.layerName,
|
|
91
|
-
* versionNumber:
|
|
91
|
+
* versionNumber: example.version,
|
|
92
92
|
* principal: "333333333333",
|
|
93
93
|
* action: "lambda:GetLayerVersion",
|
|
94
94
|
* statementId: "prod-account",
|
|
@@ -71,7 +71,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
71
71
|
*
|
|
72
72
|
* const example = new aws.lambda.LayerVersionPermission("example", {
|
|
73
73
|
* layerName: exampleAwsLambdaLayerVersion.layerName,
|
|
74
|
-
* versionNumber:
|
|
74
|
+
* versionNumber: exampleAwsLambdaLayerVersion.version,
|
|
75
75
|
* principal: "*",
|
|
76
76
|
* organizationId: "o-1234567890",
|
|
77
77
|
* action: "lambda:GetLayerVersion",
|
|
@@ -87,7 +87,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
87
87
|
*
|
|
88
88
|
* const example = new aws.lambda.LayerVersionPermission("example", {
|
|
89
89
|
* layerName: exampleAwsLambdaLayerVersion.layerName,
|
|
90
|
-
* versionNumber:
|
|
90
|
+
* versionNumber: exampleAwsLambdaLayerVersion.version,
|
|
91
91
|
* principal: "*",
|
|
92
92
|
* action: "lambda:GetLayerVersion",
|
|
93
93
|
* statementId: "public-access",
|
|
@@ -103,21 +103,21 @@ const utilities = __importStar(require("../utilities"));
|
|
|
103
103
|
* // Share with multiple specific accounts
|
|
104
104
|
* const devAccount = new aws.lambda.LayerVersionPermission("dev_account", {
|
|
105
105
|
* layerName: example.layerName,
|
|
106
|
-
* versionNumber:
|
|
106
|
+
* versionNumber: example.version,
|
|
107
107
|
* principal: "111111111111",
|
|
108
108
|
* action: "lambda:GetLayerVersion",
|
|
109
109
|
* statementId: "dev-account",
|
|
110
110
|
* });
|
|
111
111
|
* const stagingAccount = new aws.lambda.LayerVersionPermission("staging_account", {
|
|
112
112
|
* layerName: example.layerName,
|
|
113
|
-
* versionNumber:
|
|
113
|
+
* versionNumber: example.version,
|
|
114
114
|
* principal: "222222222222",
|
|
115
115
|
* action: "lambda:GetLayerVersion",
|
|
116
116
|
* statementId: "staging-account",
|
|
117
117
|
* });
|
|
118
118
|
* const prodAccount = new aws.lambda.LayerVersionPermission("prod_account", {
|
|
119
119
|
* layerName: example.layerName,
|
|
120
|
-
* versionNumber:
|
|
120
|
+
* versionNumber: example.version,
|
|
121
121
|
* principal: "333333333333",
|
|
122
122
|
* action: "lambda:GetLayerVersion",
|
|
123
123
|
* statementId: "prod-account",
|
package/mq/broker.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import * as outputs from "../types/output";
|
|
|
23
23
|
* const example = new aws.mq.Broker("example", {
|
|
24
24
|
* configuration: {
|
|
25
25
|
* id: test.id,
|
|
26
|
-
* revision:
|
|
26
|
+
* revision: test.latestRevision,
|
|
27
27
|
* },
|
|
28
28
|
* users: [{
|
|
29
29
|
* username: "example_user",
|
|
@@ -46,7 +46,7 @@ import * as outputs from "../types/output";
|
|
|
46
46
|
* const example = new aws.mq.Broker("example", {
|
|
47
47
|
* configuration: {
|
|
48
48
|
* id: test.id,
|
|
49
|
-
* revision:
|
|
49
|
+
* revision: test.latestRevision,
|
|
50
50
|
* },
|
|
51
51
|
* users: [{
|
|
52
52
|
* username: "example_user",
|
package/mq/broker.js
CHANGED
|
@@ -50,7 +50,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
50
50
|
* const example = new aws.mq.Broker("example", {
|
|
51
51
|
* configuration: {
|
|
52
52
|
* id: test.id,
|
|
53
|
-
* revision:
|
|
53
|
+
* revision: test.latestRevision,
|
|
54
54
|
* },
|
|
55
55
|
* users: [{
|
|
56
56
|
* username: "example_user",
|
|
@@ -73,7 +73,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
73
73
|
* const example = new aws.mq.Broker("example", {
|
|
74
74
|
* configuration: {
|
|
75
75
|
* id: test.id,
|
|
76
|
-
* revision:
|
|
76
|
+
* revision: test.latestRevision,
|
|
77
77
|
* },
|
|
78
78
|
* users: [{
|
|
79
79
|
* username: "example_user",
|
|
@@ -48,7 +48,7 @@ import * as outputs from "../types/output";
|
|
|
48
48
|
* plugins: [{
|
|
49
49
|
* customPlugin: {
|
|
50
50
|
* arn: exampleAwsMskconnectCustomPlugin.arn,
|
|
51
|
-
* revision:
|
|
51
|
+
* revision: exampleAwsMskconnectCustomPlugin.latestRevision,
|
|
52
52
|
* },
|
|
53
53
|
* }],
|
|
54
54
|
* name: "example",
|
package/mskconnect/connector.js
CHANGED
|
@@ -75,7 +75,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
75
75
|
* plugins: [{
|
|
76
76
|
* customPlugin: {
|
|
77
77
|
* arn: exampleAwsMskconnectCustomPlugin.arn,
|
|
78
|
-
* revision:
|
|
78
|
+
* revision: exampleAwsMskconnectCustomPlugin.latestRevision,
|
|
79
79
|
* },
|
|
80
80
|
* }],
|
|
81
81
|
* name: "example",
|
|
@@ -15,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* "m5.4xlarge",
|
|
16
16
|
* ],
|
|
17
17
|
* });
|
|
18
|
-
* const exampleInstance = new aws.ec2.Instance("example", {instanceType:
|
|
18
|
+
* const exampleInstance = new aws.ec2.Instance("example", {instanceType: example.then(example => example.instanceType)});
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
21
|
export declare function getOutpostInstanceType(args: GetOutpostInstanceTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetOutpostInstanceTypeResult>;
|
|
@@ -71,7 +71,7 @@ export interface GetOutpostInstanceTypeResult {
|
|
|
71
71
|
* "m5.4xlarge",
|
|
72
72
|
* ],
|
|
73
73
|
* });
|
|
74
|
-
* const exampleInstance = new aws.ec2.Instance("example", {instanceType:
|
|
74
|
+
* const exampleInstance = new aws.ec2.Instance("example", {instanceType: example.then(example => example.instanceType)});
|
|
75
75
|
* ```
|
|
76
76
|
*/
|
|
77
77
|
export declare function getOutpostInstanceTypeOutput(args: GetOutpostInstanceTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOutpostInstanceTypeResult>;
|
|
@@ -44,7 +44,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
44
44
|
* "m5.4xlarge",
|
|
45
45
|
* ],
|
|
46
46
|
* });
|
|
47
|
-
* const exampleInstance = new aws.ec2.Instance("example", {instanceType:
|
|
47
|
+
* const exampleInstance = new aws.ec2.Instance("example", {instanceType: example.then(example => example.instanceType)});
|
|
48
48
|
* ```
|
|
49
49
|
*/
|
|
50
50
|
function getOutpostInstanceType(args, opts) {
|
|
@@ -73,7 +73,7 @@ exports.getOutpostInstanceType = getOutpostInstanceType;
|
|
|
73
73
|
* "m5.4xlarge",
|
|
74
74
|
* ],
|
|
75
75
|
* });
|
|
76
|
-
* const exampleInstance = new aws.ec2.Instance("example", {instanceType:
|
|
76
|
+
* const exampleInstance = new aws.ec2.Instance("example", {instanceType: example.then(example => example.instanceType)});
|
|
77
77
|
* ```
|
|
78
78
|
*/
|
|
79
79
|
function getOutpostInstanceTypeOutput(args, opts) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws",
|
|
3
|
-
"version": "7.52.
|
|
3
|
+
"version": "7.52.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "aws",
|
|
27
|
-
"version": "7.52.
|
|
27
|
+
"version": "7.52.1"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -13,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
* const example = new aws.quicksight.TemplateAlias("example", {
|
|
14
14
|
* aliasName: "example-alias",
|
|
15
15
|
* templateId: test.templateId,
|
|
16
|
-
* templateVersionNumber:
|
|
16
|
+
* templateVersionNumber: test.versionNumber,
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
@@ -42,7 +42,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
42
42
|
* const example = new aws.quicksight.TemplateAlias("example", {
|
|
43
43
|
* aliasName: "example-alias",
|
|
44
44
|
* templateId: test.templateId,
|
|
45
|
-
* templateVersionNumber:
|
|
45
|
+
* templateVersionNumber: test.versionNumber,
|
|
46
46
|
* });
|
|
47
47
|
* ```
|
|
48
48
|
*
|
package/rds/instance.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ import * as enums from "../types/enums";
|
|
|
76
76
|
* engine: custom_oracle.then(custom_oracle => custom_oracle.engine),
|
|
77
77
|
* engineVersion: custom_oracle.then(custom_oracle => custom_oracle.engineVersion),
|
|
78
78
|
* identifier: "ee-instance-demo",
|
|
79
|
-
* instanceClass:
|
|
79
|
+
* instanceClass: custom_oracle.then(custom_oracle => custom_oracle.instanceClass),
|
|
80
80
|
* kmsKeyId: byId.then(byId => byId.arn),
|
|
81
81
|
* licenseModel: custom_oracle.then(custom_oracle => custom_oracle.licenseModel),
|
|
82
82
|
* multiAz: false,
|
|
@@ -97,7 +97,7 @@ import * as enums from "../types/enums";
|
|
|
97
97
|
* customIamInstanceProfile: "AWSRDSCustomInstanceProfile",
|
|
98
98
|
* backupRetentionPeriod: 7,
|
|
99
99
|
* identifier: "ee-instance-replica",
|
|
100
|
-
* instanceClass:
|
|
100
|
+
* instanceClass: custom_oracle.then(custom_oracle => custom_oracle.instanceClass),
|
|
101
101
|
* kmsKeyId: byId.then(byId => byId.arn),
|
|
102
102
|
* multiAz: false,
|
|
103
103
|
* skipFinalSnapshot: true,
|
|
@@ -141,7 +141,7 @@ import * as enums from "../types/enums";
|
|
|
141
141
|
* engine: custom_sqlserver.then(custom_sqlserver => custom_sqlserver.engine),
|
|
142
142
|
* engineVersion: custom_sqlserver.then(custom_sqlserver => custom_sqlserver.engineVersion),
|
|
143
143
|
* identifier: "sql-instance-demo",
|
|
144
|
-
* instanceClass:
|
|
144
|
+
* instanceClass: custom_sqlserver.then(custom_sqlserver => custom_sqlserver.instanceClass),
|
|
145
145
|
* kmsKeyId: byId.then(byId => byId.arn),
|
|
146
146
|
* multiAz: false,
|
|
147
147
|
* password: "avoid-plaintext-passwords",
|
|
@@ -195,7 +195,7 @@ import * as enums from "../types/enums";
|
|
|
195
195
|
* name: "db-db2-params",
|
|
196
196
|
* family: _default.then(_default => _default.parameterGroupFamily),
|
|
197
197
|
* });
|
|
198
|
-
* // Create the RDS Db2 instance, use the
|
|
198
|
+
* // Create the RDS Db2 instance, use the functions defined to set attributes
|
|
199
199
|
* const exampleInstance = new aws.rds.Instance("example", {
|
|
200
200
|
* allocatedStorage: 100,
|
|
201
201
|
* backupRetentionPeriod: 7,
|
|
@@ -203,7 +203,7 @@ import * as enums from "../types/enums";
|
|
|
203
203
|
* engine: example.then(example => example.engine),
|
|
204
204
|
* engineVersion: example.then(example => example.engineVersion),
|
|
205
205
|
* identifier: "db2-instance-demo",
|
|
206
|
-
* instanceClass:
|
|
206
|
+
* instanceClass: example.then(example => example.instanceClass),
|
|
207
207
|
* parameterGroupName: exampleParameterGroup.name,
|
|
208
208
|
* password: "avoid-plaintext-passwords",
|
|
209
209
|
* username: "test",
|
package/rds/instance.js
CHANGED
|
@@ -102,7 +102,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
102
102
|
* engine: custom_oracle.then(custom_oracle => custom_oracle.engine),
|
|
103
103
|
* engineVersion: custom_oracle.then(custom_oracle => custom_oracle.engineVersion),
|
|
104
104
|
* identifier: "ee-instance-demo",
|
|
105
|
-
* instanceClass:
|
|
105
|
+
* instanceClass: custom_oracle.then(custom_oracle => custom_oracle.instanceClass),
|
|
106
106
|
* kmsKeyId: byId.then(byId => byId.arn),
|
|
107
107
|
* licenseModel: custom_oracle.then(custom_oracle => custom_oracle.licenseModel),
|
|
108
108
|
* multiAz: false,
|
|
@@ -123,7 +123,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
123
123
|
* customIamInstanceProfile: "AWSRDSCustomInstanceProfile",
|
|
124
124
|
* backupRetentionPeriod: 7,
|
|
125
125
|
* identifier: "ee-instance-replica",
|
|
126
|
-
* instanceClass:
|
|
126
|
+
* instanceClass: custom_oracle.then(custom_oracle => custom_oracle.instanceClass),
|
|
127
127
|
* kmsKeyId: byId.then(byId => byId.arn),
|
|
128
128
|
* multiAz: false,
|
|
129
129
|
* skipFinalSnapshot: true,
|
|
@@ -167,7 +167,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
167
167
|
* engine: custom_sqlserver.then(custom_sqlserver => custom_sqlserver.engine),
|
|
168
168
|
* engineVersion: custom_sqlserver.then(custom_sqlserver => custom_sqlserver.engineVersion),
|
|
169
169
|
* identifier: "sql-instance-demo",
|
|
170
|
-
* instanceClass:
|
|
170
|
+
* instanceClass: custom_sqlserver.then(custom_sqlserver => custom_sqlserver.instanceClass),
|
|
171
171
|
* kmsKeyId: byId.then(byId => byId.arn),
|
|
172
172
|
* multiAz: false,
|
|
173
173
|
* password: "avoid-plaintext-passwords",
|
|
@@ -221,7 +221,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
221
221
|
* name: "db-db2-params",
|
|
222
222
|
* family: _default.then(_default => _default.parameterGroupFamily),
|
|
223
223
|
* });
|
|
224
|
-
* // Create the RDS Db2 instance, use the
|
|
224
|
+
* // Create the RDS Db2 instance, use the functions defined to set attributes
|
|
225
225
|
* const exampleInstance = new aws.rds.Instance("example", {
|
|
226
226
|
* allocatedStorage: 100,
|
|
227
227
|
* backupRetentionPeriod: 7,
|
|
@@ -229,7 +229,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
229
229
|
* engine: example.then(example => example.engine),
|
|
230
230
|
* engineVersion: example.then(example => example.engineVersion),
|
|
231
231
|
* identifier: "db2-instance-demo",
|
|
232
|
-
* instanceClass:
|
|
232
|
+
* instanceClass: example.then(example => example.instanceClass),
|
|
233
233
|
* parameterGroupName: exampleParameterGroup.name,
|
|
234
234
|
* password: "avoid-plaintext-passwords",
|
|
235
235
|
* username: "test",
|
|
@@ -35,7 +35,7 @@ import * as outputs from "../types/output";
|
|
|
35
35
|
* });
|
|
36
36
|
* const exampleSecretRotation = new aws.secretsmanager.SecretRotation("example", {
|
|
37
37
|
* rotationRules: {
|
|
38
|
-
* automaticallyAfterDays:
|
|
38
|
+
* automaticallyAfterDays: rotationDays,
|
|
39
39
|
* },
|
|
40
40
|
* externalSecretRotationMetadatas: [
|
|
41
41
|
* {
|
|
@@ -62,7 +62,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
62
62
|
* });
|
|
63
63
|
* const exampleSecretRotation = new aws.secretsmanager.SecretRotation("example", {
|
|
64
64
|
* rotationRules: {
|
|
65
|
-
* automaticallyAfterDays:
|
|
65
|
+
* automaticallyAfterDays: rotationDays,
|
|
66
66
|
* },
|
|
67
67
|
* externalSecretRotationMetadatas: [
|
|
68
68
|
* {
|
|
@@ -18,7 +18,7 @@ import * as outputs from "../types/output";
|
|
|
18
18
|
* const example = aws.ssm.getPatchBaselines({
|
|
19
19
|
* defaultBaselines: true,
|
|
20
20
|
* });
|
|
21
|
-
* // transform the output of the aws_ssm_patch_baselines
|
|
21
|
+
* // transform the output of the aws_ssm_patch_baselines function
|
|
22
22
|
* // into the format expected by the SelectedPatchBaselines parameter
|
|
23
23
|
* const selectedPatchBaselines = JSON.stringify(example.then(example => .reduce((__obj, baseline) => ({ ...__obj, [baseline.operatingSystem]: {
|
|
24
24
|
* value: baseline.baselineId,
|
|
@@ -45,7 +45,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
45
45
|
* const example = aws.ssm.getPatchBaselines({
|
|
46
46
|
* defaultBaselines: true,
|
|
47
47
|
* });
|
|
48
|
-
* // transform the output of the aws_ssm_patch_baselines
|
|
48
|
+
* // transform the output of the aws_ssm_patch_baselines function
|
|
49
49
|
* // into the format expected by the SelectedPatchBaselines parameter
|
|
50
50
|
* const selectedPatchBaselines = JSON.stringify(example.then(example => .reduce((__obj, baseline) => ({ ...__obj, [baseline.operatingSystem]: {
|
|
51
51
|
* value: baseline.baselineId,
|
|
@@ -50,7 +50,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
50
50
|
* networkInterfaceId: exampleAwsInstance.privateIp,
|
|
51
51
|
* sourceVolumeArn: existing.arn,
|
|
52
52
|
* targetName: "example",
|
|
53
|
-
* volumeSizeInBytes:
|
|
53
|
+
* volumeSizeInBytes: existing.volumeSizeInBytes,
|
|
54
54
|
* });
|
|
55
55
|
* ```
|
|
56
56
|
*
|
|
@@ -79,7 +79,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
79
79
|
* networkInterfaceId: exampleAwsInstance.privateIp,
|
|
80
80
|
* sourceVolumeArn: existing.arn,
|
|
81
81
|
* targetName: "example",
|
|
82
|
-
* volumeSizeInBytes:
|
|
82
|
+
* volumeSizeInBytes: existing.volumeSizeInBytes,
|
|
83
83
|
* });
|
|
84
84
|
* ```
|
|
85
85
|
*
|
|
@@ -33,7 +33,7 @@ import * as outputs from "../types/output";
|
|
|
33
33
|
* const test = new aws.ec2.Instance("test", {
|
|
34
34
|
* ami: awsServiceStoragegatewayAmiFILES3Latest.then(awsServiceStoragegatewayAmiFILES3Latest => awsServiceStoragegatewayAmiFILES3Latest.value),
|
|
35
35
|
* associatePublicIpAddress: true,
|
|
36
|
-
* instanceType:
|
|
36
|
+
* instanceType: available.instanceType,
|
|
37
37
|
* vpcSecurityGroupIds: [testAwsSecurityGroup.id],
|
|
38
38
|
* subnetId: testAwsSubnet[0].id,
|
|
39
39
|
* }, {
|
|
@@ -60,7 +60,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
60
60
|
* const test = new aws.ec2.Instance("test", {
|
|
61
61
|
* ami: awsServiceStoragegatewayAmiFILES3Latest.then(awsServiceStoragegatewayAmiFILES3Latest => awsServiceStoragegatewayAmiFILES3Latest.value),
|
|
62
62
|
* associatePublicIpAddress: true,
|
|
63
|
-
* instanceType:
|
|
63
|
+
* instanceType: available.instanceType,
|
|
64
64
|
* vpcSecurityGroupIds: [testAwsSecurityGroup.id],
|
|
65
65
|
* subnetId: testAwsSubnet[0].id,
|
|
66
66
|
* }, {
|