@pulumi/aws 6.79.0-alpha.1746102127 → 6.79.0-alpha.1746172058
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/apigatewayv2/api.d.ts +12 -0
- package/apigatewayv2/api.js +2 -0
- package/apigatewayv2/api.js.map +1 -1
- package/apigatewayv2/getApi.d.ts +1 -0
- package/apigatewayv2/getApi.js.map +1 -1
- package/cloudfront/distribution.d.ts +34 -0
- package/cloudfront/distribution.js +34 -0
- package/cloudfront/distribution.js.map +1 -1
- package/elasticache/cluster.d.ts +21 -22
- package/elasticache/cluster.js +6 -7
- package/elasticache/cluster.js.map +1 -1
- package/fis/experimentTemplate.d.ts +116 -0
- package/fis/experimentTemplate.js +106 -0
- package/fis/experimentTemplate.js.map +1 -1
- package/fis/getExperimentTemplates.d.ts +131 -0
- package/fis/getExperimentTemplates.js +112 -0
- package/fis/getExperimentTemplates.js.map +1 -0
- package/fis/index.d.ts +3 -0
- package/fis/index.js +4 -1
- package/fis/index.js.map +1 -1
- package/guardduty/getDetector.d.ts +22 -0
- package/guardduty/getDetector.js +2 -0
- package/guardduty/getDetector.js.map +1 -1
- package/package.json +2 -2
- package/route53/keySigningKey.d.ts +3 -3
- package/route53/record.d.ts +3 -3
- package/types/input.d.ts +63 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +135 -1
- package/types/output.js.map +1 -1
- package/vpc/getVpcEndpointAssociations.d.ts +68 -0
- package/vpc/getVpcEndpointAssociations.js +54 -0
- package/vpc/getVpcEndpointAssociations.js.map +1 -0
- package/vpc/index.d.ts +3 -0
- package/vpc/index.js +4 -1
- package/vpc/index.js.map +1 -1
package/apigatewayv2/api.d.ts
CHANGED
|
@@ -103,6 +103,10 @@ export declare class Api extends pulumi.CustomResource {
|
|
|
103
103
|
* Whether warnings should return an error while API Gateway is creating or updating the resource using an OpenAPI specification. Defaults to `false`. Applicable for HTTP APIs.
|
|
104
104
|
*/
|
|
105
105
|
readonly failOnWarnings: pulumi.Output<boolean | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* The IP address types that can invoke the API. Valid values: `ipv4`, `dualstack`. Use `ipv4` to allow only IPv4 addresses to invoke your API, or use `dualstack` to allow both IPv4 and IPv6 addresses to invoke your API. Defaults to `ipv4`.
|
|
108
|
+
*/
|
|
109
|
+
readonly ipAddressType: pulumi.Output<string>;
|
|
106
110
|
/**
|
|
107
111
|
* Name of the API. Must be less than or equal to 128 characters in length.
|
|
108
112
|
*/
|
|
@@ -203,6 +207,10 @@ export interface ApiState {
|
|
|
203
207
|
* Whether warnings should return an error while API Gateway is creating or updating the resource using an OpenAPI specification. Defaults to `false`. Applicable for HTTP APIs.
|
|
204
208
|
*/
|
|
205
209
|
failOnWarnings?: pulumi.Input<boolean>;
|
|
210
|
+
/**
|
|
211
|
+
* The IP address types that can invoke the API. Valid values: `ipv4`, `dualstack`. Use `ipv4` to allow only IPv4 addresses to invoke your API, or use `dualstack` to allow both IPv4 and IPv6 addresses to invoke your API. Defaults to `ipv4`.
|
|
212
|
+
*/
|
|
213
|
+
ipAddressType?: pulumi.Input<string>;
|
|
206
214
|
/**
|
|
207
215
|
* Name of the API. Must be less than or equal to 128 characters in length.
|
|
208
216
|
*/
|
|
@@ -281,6 +289,10 @@ export interface ApiArgs {
|
|
|
281
289
|
* Whether warnings should return an error while API Gateway is creating or updating the resource using an OpenAPI specification. Defaults to `false`. Applicable for HTTP APIs.
|
|
282
290
|
*/
|
|
283
291
|
failOnWarnings?: pulumi.Input<boolean>;
|
|
292
|
+
/**
|
|
293
|
+
* The IP address types that can invoke the API. Valid values: `ipv4`, `dualstack`. Use `ipv4` to allow only IPv4 addresses to invoke your API, or use `dualstack` to allow both IPv4 and IPv6 addresses to invoke your API. Defaults to `ipv4`.
|
|
294
|
+
*/
|
|
295
|
+
ipAddressType?: pulumi.Input<string>;
|
|
284
296
|
/**
|
|
285
297
|
* Name of the API. Must be less than or equal to 128 characters in length.
|
|
286
298
|
*/
|
package/apigatewayv2/api.js
CHANGED
|
@@ -83,6 +83,7 @@ class Api extends pulumi.CustomResource {
|
|
|
83
83
|
resourceInputs["disableExecuteApiEndpoint"] = state ? state.disableExecuteApiEndpoint : undefined;
|
|
84
84
|
resourceInputs["executionArn"] = state ? state.executionArn : undefined;
|
|
85
85
|
resourceInputs["failOnWarnings"] = state ? state.failOnWarnings : undefined;
|
|
86
|
+
resourceInputs["ipAddressType"] = state ? state.ipAddressType : undefined;
|
|
86
87
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
87
88
|
resourceInputs["protocolType"] = state ? state.protocolType : undefined;
|
|
88
89
|
resourceInputs["routeKey"] = state ? state.routeKey : undefined;
|
|
@@ -104,6 +105,7 @@ class Api extends pulumi.CustomResource {
|
|
|
104
105
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
105
106
|
resourceInputs["disableExecuteApiEndpoint"] = args ? args.disableExecuteApiEndpoint : undefined;
|
|
106
107
|
resourceInputs["failOnWarnings"] = args ? args.failOnWarnings : undefined;
|
|
108
|
+
resourceInputs["ipAddressType"] = args ? args.ipAddressType : undefined;
|
|
107
109
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
108
110
|
resourceInputs["protocolType"] = args ? args.protocolType : undefined;
|
|
109
111
|
resourceInputs["routeKey"] = args ? args.routeKey : undefined;
|
package/apigatewayv2/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../apigatewayv2/api.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,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IAAI,CAAC,CAAC;AACb,CAAC;AAND,wBAMC;
|
|
1
|
+
{"version":3,"file":"getApi.js","sourceRoot":"","sources":["../../apigatewayv2/getApi.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wBAMC;AA+ED;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC"}
|
|
@@ -244,6 +244,40 @@ import * as outputs from "../types/output";
|
|
|
244
244
|
* });
|
|
245
245
|
* ```
|
|
246
246
|
*
|
|
247
|
+
* ### With V2 logging to S3
|
|
248
|
+
*
|
|
249
|
+
* The example below creates a CloudFront distribution with [standard logging V2 to S3](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/standard-logging.html#enable-access-logging-api).
|
|
250
|
+
*
|
|
251
|
+
* ```typescript
|
|
252
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
253
|
+
* import * as aws from "@pulumi/aws";
|
|
254
|
+
*
|
|
255
|
+
* const example = new aws.cloudfront.Distribution("example", {});
|
|
256
|
+
* const exampleLogDeliverySource = new aws.cloudwatch.LogDeliverySource("example", {
|
|
257
|
+
* name: "example",
|
|
258
|
+
* logType: "ACCESS_LOGS",
|
|
259
|
+
* resourceArn: example.arn,
|
|
260
|
+
* });
|
|
261
|
+
* const exampleBucketV2 = new aws.s3.BucketV2("example", {
|
|
262
|
+
* bucket: "testbucket",
|
|
263
|
+
* forceDestroy: true,
|
|
264
|
+
* });
|
|
265
|
+
* const exampleLogDeliveryDestination = new aws.cloudwatch.LogDeliveryDestination("example", {
|
|
266
|
+
* name: "s3-destination",
|
|
267
|
+
* outputFormat: "parquet",
|
|
268
|
+
* deliveryDestinationConfiguration: {
|
|
269
|
+
* destinationResourceArn: pulumi.interpolate`${exampleBucketV2.arn}/prefix`,
|
|
270
|
+
* },
|
|
271
|
+
* });
|
|
272
|
+
* const exampleLogDelivery = new aws.cloudwatch.LogDelivery("example", {
|
|
273
|
+
* deliverySourceName: exampleLogDeliverySource.name,
|
|
274
|
+
* deliveryDestinationArn: exampleLogDeliveryDestination.arn,
|
|
275
|
+
* s3DeliveryConfigurations: [{
|
|
276
|
+
* suffixPath: "/123456678910/{DistributionId}/{yyyy}/{MM}/{dd}/{HH}",
|
|
277
|
+
* }],
|
|
278
|
+
* });
|
|
279
|
+
* ```
|
|
280
|
+
*
|
|
247
281
|
* ## Import
|
|
248
282
|
*
|
|
249
283
|
* Using `pulumi import`, import CloudFront Distributions using the `id`. For example:
|
|
@@ -248,6 +248,40 @@ const utilities = require("../utilities");
|
|
|
248
248
|
* });
|
|
249
249
|
* ```
|
|
250
250
|
*
|
|
251
|
+
* ### With V2 logging to S3
|
|
252
|
+
*
|
|
253
|
+
* The example below creates a CloudFront distribution with [standard logging V2 to S3](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/standard-logging.html#enable-access-logging-api).
|
|
254
|
+
*
|
|
255
|
+
* ```typescript
|
|
256
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
257
|
+
* import * as aws from "@pulumi/aws";
|
|
258
|
+
*
|
|
259
|
+
* const example = new aws.cloudfront.Distribution("example", {});
|
|
260
|
+
* const exampleLogDeliverySource = new aws.cloudwatch.LogDeliverySource("example", {
|
|
261
|
+
* name: "example",
|
|
262
|
+
* logType: "ACCESS_LOGS",
|
|
263
|
+
* resourceArn: example.arn,
|
|
264
|
+
* });
|
|
265
|
+
* const exampleBucketV2 = new aws.s3.BucketV2("example", {
|
|
266
|
+
* bucket: "testbucket",
|
|
267
|
+
* forceDestroy: true,
|
|
268
|
+
* });
|
|
269
|
+
* const exampleLogDeliveryDestination = new aws.cloudwatch.LogDeliveryDestination("example", {
|
|
270
|
+
* name: "s3-destination",
|
|
271
|
+
* outputFormat: "parquet",
|
|
272
|
+
* deliveryDestinationConfiguration: {
|
|
273
|
+
* destinationResourceArn: pulumi.interpolate`${exampleBucketV2.arn}/prefix`,
|
|
274
|
+
* },
|
|
275
|
+
* });
|
|
276
|
+
* const exampleLogDelivery = new aws.cloudwatch.LogDelivery("example", {
|
|
277
|
+
* deliverySourceName: exampleLogDeliverySource.name,
|
|
278
|
+
* deliveryDestinationArn: exampleLogDeliveryDestination.arn,
|
|
279
|
+
* s3DeliveryConfigurations: [{
|
|
280
|
+
* suffixPath: "/123456678910/{DistributionId}/{yyyy}/{MM}/{dd}/{HH}",
|
|
281
|
+
* }],
|
|
282
|
+
* });
|
|
283
|
+
* ```
|
|
284
|
+
*
|
|
251
285
|
* ## Import
|
|
252
286
|
*
|
|
253
287
|
* Using `pulumi import`, import CloudFront Distributions using the `id`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distribution.js","sourceRoot":"","sources":["../../cloudfront/distribution.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|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C,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AApML,oCAqMC;AAvLG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
package/elasticache/cluster.d.ts
CHANGED
|
@@ -2,10 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provides an ElastiCache Cluster resource, which manages
|
|
6
|
-
*
|
|
7
|
-
* [
|
|
8
|
-
* [read replica in a Redis (Cluster Mode Enabled) replication group].
|
|
5
|
+
* Provides an ElastiCache Cluster resource, which manages a Memcached cluster, a single-node Redis instance,
|
|
6
|
+
* or a read replica in a Redis (Cluster Mode Enabled) replication group. For more information, refer to
|
|
7
|
+
* the AWS document [What is Amazon ElastiCache?](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WhatIs.html).
|
|
9
8
|
*
|
|
10
9
|
* For working with Redis (Cluster Mode Enabled) replication groups, see the
|
|
11
10
|
* `aws.elasticache.ReplicationGroup` resource.
|
|
@@ -15,9 +14,9 @@ import * as outputs from "../types/output";
|
|
|
15
14
|
* a difference in its planning phase because the actual modification has not yet taken
|
|
16
15
|
* place. You can use the `applyImmediately` flag to instruct the service to apply the
|
|
17
16
|
* change immediately. Using `applyImmediately` can result in a brief downtime as the server reboots.
|
|
18
|
-
* See the AWS Documentation on
|
|
19
|
-
* [ElastiCache for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
20
|
-
* [ElastiCache for Redis](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
17
|
+
* See the "Changes take effect" section of the "Details" column in the AWS Documentation on Engine specific parameters for
|
|
18
|
+
* [ElastiCache for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.Engine.html#ParameterGroups.Memcached) or
|
|
19
|
+
* [ElastiCache for Valkey and Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.Engine.html#ParameterGroups.Redis)
|
|
21
20
|
* for more information.
|
|
22
21
|
*
|
|
23
22
|
* > **Note:** Any attribute changes that re-create the resource will be applied immediately, regardless of the value of `applyImmediately`.
|
|
@@ -161,7 +160,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
161
160
|
*/
|
|
162
161
|
static isInstance(obj: any): obj is Cluster;
|
|
163
162
|
/**
|
|
164
|
-
* Whether any database modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon ElastiCache Documentation for more information
|
|
163
|
+
* Whether any database modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon ElastiCache Documentation for more information](https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ModifyCacheCluster.html).
|
|
165
164
|
*/
|
|
166
165
|
readonly applyImmediately: pulumi.Output<boolean>;
|
|
167
166
|
/**
|
|
@@ -226,7 +225,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
226
225
|
*/
|
|
227
226
|
readonly ipDiscovery: pulumi.Output<string>;
|
|
228
227
|
/**
|
|
229
|
-
* Specifies the destination and format of Redis [SLOWLOG](https://redis.io/commands/slowlog) or Redis [Engine Log](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
228
|
+
* Specifies the destination and format of Redis [SLOWLOG](https://redis.io/commands/slowlog) or Redis [Engine Log](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Log_Delivery.html#Log_contents-engine-log). See the documentation on [Amazon ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Log_Delivery.html). See Log Delivery Configuration below for more details.
|
|
230
229
|
*/
|
|
231
230
|
readonly logDeliveryConfigurations: pulumi.Output<outputs.elasticache.ClusterLogDeliveryConfiguration[] | undefined>;
|
|
232
231
|
/**
|
|
@@ -241,8 +240,8 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
241
240
|
readonly networkType: pulumi.Output<string>;
|
|
242
241
|
/**
|
|
243
242
|
* The instance class used.
|
|
244
|
-
* See AWS documentation for information on [supported node types for Redis](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
245
|
-
* See AWS documentation for information on [supported node types for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
243
|
+
* See AWS documentation for information on [supported node types for Valkey or Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SupportedTypes.html#CacheNodes.CurrentGen) and [guidance on selecting node types for Valkey or Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SelectSize.html#CacheNodes.SelectSize.redis).
|
|
244
|
+
* See AWS documentation for information on [supported node types for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SupportedTypes.html#CacheNodes.CurrentGen-Memcached) and [guidance on selecting node types for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SelectSize.html#CacheNodes.SelectSize.Mem).
|
|
246
245
|
* For Memcached, changing this value will re-create the resource.
|
|
247
246
|
*/
|
|
248
247
|
readonly nodeType: pulumi.Output<string>;
|
|
@@ -319,7 +318,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
319
318
|
[key: string]: string;
|
|
320
319
|
}>;
|
|
321
320
|
/**
|
|
322
|
-
* Enable encryption in-transit. Supported with Memcached versions `1.6.12` and later, Valkey `7.2` and later, Redis OSS versions `3.2.6`, `4.0.10` and later, running in a VPC. See the [ElastiCache in-transit encryption (https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
321
|
+
* Enable encryption in-transit. Supported with Memcached versions `1.6.12` and later, Valkey `7.2` and later, Redis OSS versions `3.2.6`, `4.0.10` and later, running in a VPC. See the [ElastiCache in-transit encryption documentation](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/in-transit-encryption.html#in-transit-encryption-constraints) for more details.
|
|
323
322
|
*/
|
|
324
323
|
readonly transitEncryptionEnabled: pulumi.Output<boolean>;
|
|
325
324
|
/**
|
|
@@ -336,7 +335,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
336
335
|
*/
|
|
337
336
|
export interface ClusterState {
|
|
338
337
|
/**
|
|
339
|
-
* Whether any database modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon ElastiCache Documentation for more information
|
|
338
|
+
* Whether any database modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon ElastiCache Documentation for more information](https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ModifyCacheCluster.html).
|
|
340
339
|
*/
|
|
341
340
|
applyImmediately?: pulumi.Input<boolean>;
|
|
342
341
|
/**
|
|
@@ -401,7 +400,7 @@ export interface ClusterState {
|
|
|
401
400
|
*/
|
|
402
401
|
ipDiscovery?: pulumi.Input<string>;
|
|
403
402
|
/**
|
|
404
|
-
* Specifies the destination and format of Redis [SLOWLOG](https://redis.io/commands/slowlog) or Redis [Engine Log](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
403
|
+
* Specifies the destination and format of Redis [SLOWLOG](https://redis.io/commands/slowlog) or Redis [Engine Log](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Log_Delivery.html#Log_contents-engine-log). See the documentation on [Amazon ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Log_Delivery.html). See Log Delivery Configuration below for more details.
|
|
405
404
|
*/
|
|
406
405
|
logDeliveryConfigurations?: pulumi.Input<pulumi.Input<inputs.elasticache.ClusterLogDeliveryConfiguration>[]>;
|
|
407
406
|
/**
|
|
@@ -416,8 +415,8 @@ export interface ClusterState {
|
|
|
416
415
|
networkType?: pulumi.Input<string>;
|
|
417
416
|
/**
|
|
418
417
|
* The instance class used.
|
|
419
|
-
* See AWS documentation for information on [supported node types for Redis](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
420
|
-
* See AWS documentation for information on [supported node types for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
418
|
+
* See AWS documentation for information on [supported node types for Valkey or Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SupportedTypes.html#CacheNodes.CurrentGen) and [guidance on selecting node types for Valkey or Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SelectSize.html#CacheNodes.SelectSize.redis).
|
|
419
|
+
* See AWS documentation for information on [supported node types for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SupportedTypes.html#CacheNodes.CurrentGen-Memcached) and [guidance on selecting node types for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SelectSize.html#CacheNodes.SelectSize.Mem).
|
|
421
420
|
* For Memcached, changing this value will re-create the resource.
|
|
422
421
|
*/
|
|
423
422
|
nodeType?: pulumi.Input<string>;
|
|
@@ -494,7 +493,7 @@ export interface ClusterState {
|
|
|
494
493
|
[key: string]: pulumi.Input<string>;
|
|
495
494
|
}>;
|
|
496
495
|
/**
|
|
497
|
-
* Enable encryption in-transit. Supported with Memcached versions `1.6.12` and later, Valkey `7.2` and later, Redis OSS versions `3.2.6`, `4.0.10` and later, running in a VPC. See the [ElastiCache in-transit encryption (https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
496
|
+
* Enable encryption in-transit. Supported with Memcached versions `1.6.12` and later, Valkey `7.2` and later, Redis OSS versions `3.2.6`, `4.0.10` and later, running in a VPC. See the [ElastiCache in-transit encryption documentation](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/in-transit-encryption.html#in-transit-encryption-constraints) for more details.
|
|
498
497
|
*/
|
|
499
498
|
transitEncryptionEnabled?: pulumi.Input<boolean>;
|
|
500
499
|
}
|
|
@@ -503,7 +502,7 @@ export interface ClusterState {
|
|
|
503
502
|
*/
|
|
504
503
|
export interface ClusterArgs {
|
|
505
504
|
/**
|
|
506
|
-
* Whether any database modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon ElastiCache Documentation for more information
|
|
505
|
+
* Whether any database modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon ElastiCache Documentation for more information](https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ModifyCacheCluster.html).
|
|
507
506
|
*/
|
|
508
507
|
applyImmediately?: pulumi.Input<boolean>;
|
|
509
508
|
/**
|
|
@@ -548,7 +547,7 @@ export interface ClusterArgs {
|
|
|
548
547
|
*/
|
|
549
548
|
ipDiscovery?: pulumi.Input<string>;
|
|
550
549
|
/**
|
|
551
|
-
* Specifies the destination and format of Redis [SLOWLOG](https://redis.io/commands/slowlog) or Redis [Engine Log](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
550
|
+
* Specifies the destination and format of Redis [SLOWLOG](https://redis.io/commands/slowlog) or Redis [Engine Log](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Log_Delivery.html#Log_contents-engine-log). See the documentation on [Amazon ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Log_Delivery.html). See Log Delivery Configuration below for more details.
|
|
552
551
|
*/
|
|
553
552
|
logDeliveryConfigurations?: pulumi.Input<pulumi.Input<inputs.elasticache.ClusterLogDeliveryConfiguration>[]>;
|
|
554
553
|
/**
|
|
@@ -563,8 +562,8 @@ export interface ClusterArgs {
|
|
|
563
562
|
networkType?: pulumi.Input<string>;
|
|
564
563
|
/**
|
|
565
564
|
* The instance class used.
|
|
566
|
-
* See AWS documentation for information on [supported node types for Redis](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
567
|
-
* See AWS documentation for information on [supported node types for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
565
|
+
* See AWS documentation for information on [supported node types for Valkey or Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SupportedTypes.html#CacheNodes.CurrentGen) and [guidance on selecting node types for Valkey or Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SelectSize.html#CacheNodes.SelectSize.redis).
|
|
566
|
+
* See AWS documentation for information on [supported node types for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SupportedTypes.html#CacheNodes.CurrentGen-Memcached) and [guidance on selecting node types for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SelectSize.html#CacheNodes.SelectSize.Mem).
|
|
568
567
|
* For Memcached, changing this value will re-create the resource.
|
|
569
568
|
*/
|
|
570
569
|
nodeType?: pulumi.Input<string>;
|
|
@@ -633,7 +632,7 @@ export interface ClusterArgs {
|
|
|
633
632
|
[key: string]: pulumi.Input<string>;
|
|
634
633
|
}>;
|
|
635
634
|
/**
|
|
636
|
-
* Enable encryption in-transit. Supported with Memcached versions `1.6.12` and later, Valkey `7.2` and later, Redis OSS versions `3.2.6`, `4.0.10` and later, running in a VPC. See the [ElastiCache in-transit encryption (https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
635
|
+
* Enable encryption in-transit. Supported with Memcached versions `1.6.12` and later, Valkey `7.2` and later, Redis OSS versions `3.2.6`, `4.0.10` and later, running in a VPC. See the [ElastiCache in-transit encryption documentation](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/in-transit-encryption.html#in-transit-encryption-constraints) for more details.
|
|
637
636
|
*/
|
|
638
637
|
transitEncryptionEnabled?: pulumi.Input<boolean>;
|
|
639
638
|
}
|
package/elasticache/cluster.js
CHANGED
|
@@ -6,10 +6,9 @@ exports.Cluster = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides an ElastiCache Cluster resource, which manages
|
|
10
|
-
*
|
|
11
|
-
* [
|
|
12
|
-
* [read replica in a Redis (Cluster Mode Enabled) replication group].
|
|
9
|
+
* Provides an ElastiCache Cluster resource, which manages a Memcached cluster, a single-node Redis instance,
|
|
10
|
+
* or a read replica in a Redis (Cluster Mode Enabled) replication group. For more information, refer to
|
|
11
|
+
* the AWS document [What is Amazon ElastiCache?](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WhatIs.html).
|
|
13
12
|
*
|
|
14
13
|
* For working with Redis (Cluster Mode Enabled) replication groups, see the
|
|
15
14
|
* `aws.elasticache.ReplicationGroup` resource.
|
|
@@ -19,9 +18,9 @@ const utilities = require("../utilities");
|
|
|
19
18
|
* a difference in its planning phase because the actual modification has not yet taken
|
|
20
19
|
* place. You can use the `applyImmediately` flag to instruct the service to apply the
|
|
21
20
|
* change immediately. Using `applyImmediately` can result in a brief downtime as the server reboots.
|
|
22
|
-
* See the AWS Documentation on
|
|
23
|
-
* [ElastiCache for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
24
|
-
* [ElastiCache for Redis](https://docs.aws.amazon.com/AmazonElastiCache/latest/
|
|
21
|
+
* See the "Changes take effect" section of the "Details" column in the AWS Documentation on Engine specific parameters for
|
|
22
|
+
* [ElastiCache for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.Engine.html#ParameterGroups.Memcached) or
|
|
23
|
+
* [ElastiCache for Valkey and Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.Engine.html#ParameterGroups.Redis)
|
|
25
24
|
* for more information.
|
|
26
25
|
*
|
|
27
26
|
* > **Note:** Any attribute changes that re-create the resource will be applied immediately, regardless of the value of `applyImmediately`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../elasticache/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../elasticache/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;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CAAiC,CAAC"}
|
|
@@ -40,6 +40,110 @@ import * as outputs from "../types/output";
|
|
|
40
40
|
* });
|
|
41
41
|
* ```
|
|
42
42
|
*
|
|
43
|
+
* ### With Report Configuration
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as aws from "@pulumi/aws";
|
|
48
|
+
*
|
|
49
|
+
* const current = aws.getPartition({});
|
|
50
|
+
* const example = new aws.iam.Role("example", {
|
|
51
|
+
* name: "example",
|
|
52
|
+
* assumeRolePolicy: JSON.stringify({
|
|
53
|
+
* Statement: [{
|
|
54
|
+
* Action: "sts:AssumeRole",
|
|
55
|
+
* Effect: "Allow",
|
|
56
|
+
* Principal: {
|
|
57
|
+
* Service: [current.then(current => `fis.${current.dnsSuffix}`)],
|
|
58
|
+
* },
|
|
59
|
+
* }],
|
|
60
|
+
* Version: "2012-10-17",
|
|
61
|
+
* }),
|
|
62
|
+
* });
|
|
63
|
+
* const reportAccess = aws.iam.getPolicyDocument({
|
|
64
|
+
* version: "2012-10-17",
|
|
65
|
+
* statements: [
|
|
66
|
+
* {
|
|
67
|
+
* sid: "logsDelivery",
|
|
68
|
+
* effect: "Allow",
|
|
69
|
+
* actions: ["logs:CreateLogDelivery"],
|
|
70
|
+
* resources: ["*"],
|
|
71
|
+
* },
|
|
72
|
+
* {
|
|
73
|
+
* sid: "ReportsBucket",
|
|
74
|
+
* effect: "Allow",
|
|
75
|
+
* actions: [
|
|
76
|
+
* "s3:PutObject",
|
|
77
|
+
* "s3:GetObject",
|
|
78
|
+
* ],
|
|
79
|
+
* resources: ["*"],
|
|
80
|
+
* },
|
|
81
|
+
* {
|
|
82
|
+
* sid: "GetDashboard",
|
|
83
|
+
* effect: "Allow",
|
|
84
|
+
* actions: ["cloudwatch:GetDashboard"],
|
|
85
|
+
* resources: ["*"],
|
|
86
|
+
* },
|
|
87
|
+
* {
|
|
88
|
+
* sid: "GetDashboardData",
|
|
89
|
+
* effect: "Allow",
|
|
90
|
+
* actions: ["cloudwatch:getMetricWidgetImage"],
|
|
91
|
+
* resources: ["*"],
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* });
|
|
95
|
+
* const reportAccessPolicy = new aws.iam.Policy("report_access", {
|
|
96
|
+
* name: "report_access",
|
|
97
|
+
* policy: reportAccess.then(reportAccess => reportAccess.json),
|
|
98
|
+
* });
|
|
99
|
+
* const reportAccessRolePolicyAttachment = new aws.iam.RolePolicyAttachment("report_access", {
|
|
100
|
+
* role: test.name,
|
|
101
|
+
* policyArn: reportAccessPolicy.arn,
|
|
102
|
+
* });
|
|
103
|
+
* const exampleExperimentTemplate = new aws.fis.ExperimentTemplate("example", {
|
|
104
|
+
* description: "example",
|
|
105
|
+
* roleArn: example.arn,
|
|
106
|
+
* stopConditions: [{
|
|
107
|
+
* source: "none",
|
|
108
|
+
* }],
|
|
109
|
+
* actions: [{
|
|
110
|
+
* name: "example-action",
|
|
111
|
+
* actionId: "aws:ec2:terminate-instances",
|
|
112
|
+
* target: {
|
|
113
|
+
* key: "Instances",
|
|
114
|
+
* value: "example-target",
|
|
115
|
+
* },
|
|
116
|
+
* }],
|
|
117
|
+
* targets: [{
|
|
118
|
+
* name: "example-target",
|
|
119
|
+
* resourceType: "aws:ec2:instance",
|
|
120
|
+
* selectionMode: "COUNT(1)",
|
|
121
|
+
* resourceTags: [{
|
|
122
|
+
* key: "env",
|
|
123
|
+
* value: "example",
|
|
124
|
+
* }],
|
|
125
|
+
* }],
|
|
126
|
+
* experimentReportConfiguration: {
|
|
127
|
+
* dataSources: {
|
|
128
|
+
* cloudwatchDashboards: [{
|
|
129
|
+
* dashboardArn: exampleAwsCloudwatchDashboard.dashboardArn,
|
|
130
|
+
* }],
|
|
131
|
+
* },
|
|
132
|
+
* outputs: {
|
|
133
|
+
* s3Configuration: {
|
|
134
|
+
* bucketName: exampleAwsS3Bucket.bucket,
|
|
135
|
+
* prefix: "fis-example-reports",
|
|
136
|
+
* },
|
|
137
|
+
* },
|
|
138
|
+
* postExperimentDuration: "PT10M",
|
|
139
|
+
* preExperimentDuration: "PT10M",
|
|
140
|
+
* },
|
|
141
|
+
* tags: {
|
|
142
|
+
* Name: "example",
|
|
143
|
+
* },
|
|
144
|
+
* });
|
|
145
|
+
* ```
|
|
146
|
+
*
|
|
43
147
|
* ## Import
|
|
44
148
|
*
|
|
45
149
|
* Using `pulumi import`, import FIS Experiment Templates using the `id`. For example:
|
|
@@ -76,6 +180,10 @@ export declare class ExperimentTemplate extends pulumi.CustomResource {
|
|
|
76
180
|
* The experiment options for the experiment template. See experimentOptions below for more details!
|
|
77
181
|
*/
|
|
78
182
|
readonly experimentOptions: pulumi.Output<outputs.fis.ExperimentTemplateExperimentOptions>;
|
|
183
|
+
/**
|
|
184
|
+
* The configuration for [experiment reporting](https://docs.aws.amazon.com/fis/latest/userguide/experiment-report-configuration.html). See below.
|
|
185
|
+
*/
|
|
186
|
+
readonly experimentReportConfiguration: pulumi.Output<outputs.fis.ExperimentTemplateExperimentReportConfiguration | undefined>;
|
|
79
187
|
/**
|
|
80
188
|
* The configuration for experiment logging. See below.
|
|
81
189
|
*/
|
|
@@ -131,6 +239,10 @@ export interface ExperimentTemplateState {
|
|
|
131
239
|
* The experiment options for the experiment template. See experimentOptions below for more details!
|
|
132
240
|
*/
|
|
133
241
|
experimentOptions?: pulumi.Input<inputs.fis.ExperimentTemplateExperimentOptions>;
|
|
242
|
+
/**
|
|
243
|
+
* The configuration for [experiment reporting](https://docs.aws.amazon.com/fis/latest/userguide/experiment-report-configuration.html). See below.
|
|
244
|
+
*/
|
|
245
|
+
experimentReportConfiguration?: pulumi.Input<inputs.fis.ExperimentTemplateExperimentReportConfiguration>;
|
|
134
246
|
/**
|
|
135
247
|
* The configuration for experiment logging. See below.
|
|
136
248
|
*/
|
|
@@ -178,6 +290,10 @@ export interface ExperimentTemplateArgs {
|
|
|
178
290
|
* The experiment options for the experiment template. See experimentOptions below for more details!
|
|
179
291
|
*/
|
|
180
292
|
experimentOptions?: pulumi.Input<inputs.fis.ExperimentTemplateExperimentOptions>;
|
|
293
|
+
/**
|
|
294
|
+
* The configuration for [experiment reporting](https://docs.aws.amazon.com/fis/latest/userguide/experiment-report-configuration.html). See below.
|
|
295
|
+
*/
|
|
296
|
+
experimentReportConfiguration?: pulumi.Input<inputs.fis.ExperimentTemplateExperimentReportConfiguration>;
|
|
181
297
|
/**
|
|
182
298
|
* The configuration for experiment logging. See below.
|
|
183
299
|
*/
|