@pulumi/aws 7.29.0-alpha.1778140590 → 7.29.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/apigatewayv2/integration.d.ts +1 -1
- package/apigatewayv2/integration.js +1 -1
- package/appautoscaling/policy.d.ts +14 -0
- package/appautoscaling/policy.js +14 -0
- package/appautoscaling/policy.js.map +1 -1
- package/arczonalshift/index.d.ts +3 -0
- package/arczonalshift/index.js +6 -1
- package/arczonalshift/index.js.map +1 -1
- package/arczonalshift/zonalAutoshiftConfiguration.d.ts +235 -0
- package/arczonalshift/zonalAutoshiftConfiguration.js +164 -0
- package/arczonalshift/zonalAutoshiftConfiguration.js.map +1 -0
- package/bedrock/agentcoreGatewayTarget.d.ts +1 -1
- package/bedrock/agentcoreGatewayTarget.js +1 -1
- package/dynamodb/globalSecondaryIndex.d.ts +0 -6
- package/dynamodb/globalSecondaryIndex.js +0 -6
- package/dynamodb/globalSecondaryIndex.js.map +1 -1
- package/ec2clientvpn/endpoint.d.ts +33 -21
- package/ec2clientvpn/endpoint.js +2 -0
- package/ec2clientvpn/endpoint.js.map +1 -1
- package/ec2clientvpn/getEndpoint.d.ts +4 -0
- package/ec2clientvpn/getEndpoint.js.map +1 -1
- package/fsx/lustreFileSystem.d.ts +3 -3
- package/glue/catalog.d.ts +353 -0
- package/glue/catalog.js +195 -0
- package/glue/catalog.js.map +1 -0
- package/glue/connection.d.ts +51 -15
- package/glue/connection.js +33 -1
- package/glue/connection.js.map +1 -1
- package/glue/getCatalog.d.ts +129 -0
- package/glue/getCatalog.js +52 -0
- package/glue/getCatalog.js.map +1 -0
- package/glue/getConnection.d.ts +19 -13
- package/glue/getConnection.js +2 -2
- package/glue/getConnection.js.map +1 -1
- package/glue/index.d.ts +6 -0
- package/glue/index.js +9 -1
- package/glue/index.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +1 -1
- package/kinesis/firehoseDeliveryStream.js +1 -1
- package/lambda/function.d.ts +7 -7
- package/lambda/function.js +7 -7
- package/lambda/functionRecursionConfig.d.ts +1 -1
- package/lambda/functionRecursionConfig.js +1 -1
- package/lambda/getCodeSigningConfig.d.ts +2 -2
- package/lambda/getCodeSigningConfig.js +2 -2
- package/lambda/getLayerVersion.d.ts +4 -4
- package/lambda/getLayerVersion.js +4 -4
- package/lambda/layerVersion.d.ts +4 -4
- package/lambda/layerVersion.js +4 -4
- package/lambda/layerVersionPermission.d.ts +1 -1
- package/lambda/layerVersionPermission.js +1 -1
- package/lambda/permission.d.ts +1 -1
- package/lambda/permission.js +1 -1
- package/odb/cloudVmCluster.d.ts +49 -3
- package/odb/cloudVmCluster.js +46 -0
- package/odb/cloudVmCluster.js.map +1 -1
- package/outposts/capacityTask.d.ts +255 -0
- package/outposts/capacityTask.js +157 -0
- package/outposts/capacityTask.js.map +1 -0
- package/outposts/index.d.ts +3 -0
- package/outposts/index.js +16 -1
- package/outposts/index.js.map +1 -1
- package/package.json +2 -2
- package/quicksight/accountSubscription.d.ts +12 -12
- package/redshift/index.d.ts +3 -0
- package/redshift/index.js +6 -1
- package/redshift/index.js.map +1 -1
- package/redshift/namespaceRegistration.d.ts +207 -0
- package/redshift/namespaceRegistration.js +158 -0
- package/redshift/namespaceRegistration.js.map +1 -0
- package/s3/bucketNotification.d.ts +2 -2
- package/s3/bucketNotification.js +2 -2
- package/timestreaminfluxdb/dbCluster.d.ts +30 -3
- package/timestreaminfluxdb/dbCluster.js +20 -3
- package/timestreaminfluxdb/dbCluster.js.map +1 -1
- package/timestreaminfluxdb/dbInstance.d.ts +13 -2
- package/timestreaminfluxdb/dbInstance.js +13 -2
- package/timestreaminfluxdb/dbInstance.js.map +1 -1
- package/types/input.d.ts +342 -11
- package/types/input.js.map +1 -1
- package/types/output.d.ts +500 -11
- package/types/output.js.map +1 -1
|
@@ -30,7 +30,7 @@ import * as outputs from "../types/output";
|
|
|
30
30
|
* name: "Example",
|
|
31
31
|
* role: exampleAwsIamRole.arn,
|
|
32
32
|
* handler: "index.handler",
|
|
33
|
-
* runtime: aws.lambda.Runtime.
|
|
33
|
+
* runtime: aws.lambda.Runtime.NodeJS24dX,
|
|
34
34
|
* });
|
|
35
35
|
* const exampleIntegration = new aws.apigatewayv2.Integration("example", {
|
|
36
36
|
* apiId: exampleAwsApigatewayv2Api.id,
|
|
@@ -34,7 +34,7 @@ const utilities = require("../utilities");
|
|
|
34
34
|
* name: "Example",
|
|
35
35
|
* role: exampleAwsIamRole.arn,
|
|
36
36
|
* handler: "index.handler",
|
|
37
|
-
* runtime: aws.lambda.Runtime.
|
|
37
|
+
* runtime: aws.lambda.Runtime.NodeJS24dX,
|
|
38
38
|
* });
|
|
39
39
|
* const exampleIntegration = new aws.apigatewayv2.Integration("example", {
|
|
40
40
|
* apiId: exampleAwsApigatewayv2Api.id,
|
|
@@ -235,6 +235,20 @@ import * as outputs from "../types/output";
|
|
|
235
235
|
*
|
|
236
236
|
* ## Import
|
|
237
237
|
*
|
|
238
|
+
* ### Identity Schema
|
|
239
|
+
*
|
|
240
|
+
* #### Required
|
|
241
|
+
*
|
|
242
|
+
* * `name` - (String) Name of the scaling policy.
|
|
243
|
+
* * `resourceId` - (String) Resource type and unique identifier string for the resource associated with the scaling policy.
|
|
244
|
+
* * `scalableDimension` - (String) Scalable dimension of the scalable target.
|
|
245
|
+
* * `serviceNamespace` - (String) AWS service namespace of the scalable target.
|
|
246
|
+
*
|
|
247
|
+
* #### Optional
|
|
248
|
+
*
|
|
249
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
250
|
+
* * `region` (String) Region where this resource is managed.
|
|
251
|
+
*
|
|
238
252
|
* Using `pulumi import`, import Application AutoScaling Policy using the `service-namespace` , `resource-id`, `scalable-dimension` and `policy-name` separated by `/`. For example:
|
|
239
253
|
*
|
|
240
254
|
* ```sh
|
package/appautoscaling/policy.js
CHANGED
|
@@ -239,6 +239,20 @@ const utilities = require("../utilities");
|
|
|
239
239
|
*
|
|
240
240
|
* ## Import
|
|
241
241
|
*
|
|
242
|
+
* ### Identity Schema
|
|
243
|
+
*
|
|
244
|
+
* #### Required
|
|
245
|
+
*
|
|
246
|
+
* * `name` - (String) Name of the scaling policy.
|
|
247
|
+
* * `resourceId` - (String) Resource type and unique identifier string for the resource associated with the scaling policy.
|
|
248
|
+
* * `scalableDimension` - (String) Scalable dimension of the scalable target.
|
|
249
|
+
* * `serviceNamespace` - (String) AWS service namespace of the scalable target.
|
|
250
|
+
*
|
|
251
|
+
* #### Optional
|
|
252
|
+
*
|
|
253
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
254
|
+
* * `region` (String) Region where this resource is managed.
|
|
255
|
+
*
|
|
242
256
|
* Using `pulumi import`, import Application AutoScaling Policy using the `service-namespace` , `resource-id`, `scalable-dimension` and `policy-name` separated by `/`. For example:
|
|
243
257
|
*
|
|
244
258
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../appautoscaling/policy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../appautoscaling/policy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6PG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IAC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QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA1HL,wBA2HC;AA7GG,gBAAgB;AACO,mBAAY,GAAG,kCAAkC,CAAC"}
|
package/arczonalshift/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export { AutoshiftObserverNotificationStatusArgs, AutoshiftObserverNotificationStatusState } from "./autoshiftObserverNotificationStatus";
|
|
2
2
|
export type AutoshiftObserverNotificationStatus = import("./autoshiftObserverNotificationStatus").AutoshiftObserverNotificationStatus;
|
|
3
3
|
export declare const AutoshiftObserverNotificationStatus: typeof import("./autoshiftObserverNotificationStatus").AutoshiftObserverNotificationStatus;
|
|
4
|
+
export { ZonalAutoshiftConfigurationArgs, ZonalAutoshiftConfigurationState } from "./zonalAutoshiftConfiguration";
|
|
5
|
+
export type ZonalAutoshiftConfiguration = import("./zonalAutoshiftConfiguration").ZonalAutoshiftConfiguration;
|
|
6
|
+
export declare const ZonalAutoshiftConfiguration: typeof import("./zonalAutoshiftConfiguration").ZonalAutoshiftConfiguration;
|
package/arczonalshift/index.js
CHANGED
|
@@ -2,21 +2,26 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.AutoshiftObserverNotificationStatus = void 0;
|
|
5
|
+
exports.ZonalAutoshiftConfiguration = exports.AutoshiftObserverNotificationStatus = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.AutoshiftObserverNotificationStatus = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["AutoshiftObserverNotificationStatus"], () => require("./autoshiftObserverNotificationStatus"));
|
|
10
|
+
exports.ZonalAutoshiftConfiguration = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["ZonalAutoshiftConfiguration"], () => require("./zonalAutoshiftConfiguration"));
|
|
10
12
|
const _module = {
|
|
11
13
|
version: utilities.getVersion(),
|
|
12
14
|
construct: (name, type, urn) => {
|
|
13
15
|
switch (type) {
|
|
14
16
|
case "aws:arczonalshift/autoshiftObserverNotificationStatus:AutoshiftObserverNotificationStatus":
|
|
15
17
|
return new exports.AutoshiftObserverNotificationStatus(name, undefined, { urn });
|
|
18
|
+
case "aws:arczonalshift/zonalAutoshiftConfiguration:ZonalAutoshiftConfiguration":
|
|
19
|
+
return new exports.ZonalAutoshiftConfiguration(name, undefined, { urn });
|
|
16
20
|
default:
|
|
17
21
|
throw new Error(`unknown resource type ${type}`);
|
|
18
22
|
}
|
|
19
23
|
},
|
|
20
24
|
};
|
|
21
25
|
pulumi.runtime.registerResourceModule("aws", "arczonalshift/autoshiftObserverNotificationStatus", _module);
|
|
26
|
+
pulumi.runtime.registerResourceModule("aws", "arczonalshift/zonalAutoshiftConfiguration", _module);
|
|
22
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../arczonalshift/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,mCAAmC,GAA+F,IAAW,CAAC;AAC3J,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qCAAqC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uCAAuC,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../arczonalshift/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,mCAAmC,GAA+F,IAAW,CAAC;AAC3J,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qCAAqC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uCAAuC,CAAC,CAAC,CAAC;AAIhH,QAAA,2BAA2B,GAA+E,IAAW,CAAC;AACnI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,6BAA6B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,+BAA+B,CAAC,CAAC,CAAC;AAG7G,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,2FAA2F;gBAC5F,OAAO,IAAI,2CAAmC,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjF,KAAK,2EAA2E;gBAC5E,OAAO,IAAI,mCAA2B,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mDAAmD,EAAE,OAAO,CAAC,CAAA;AAC1G,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2CAA2C,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages an AWS Application Recovery Controller Zonal Shift Zonal Autoshift Configuration for a managed resource (such as a load balancer).
|
|
6
|
+
*
|
|
7
|
+
* Zonal autoshift is a capability in AWS Application Recovery Controller (ARC) that automatically shifts traffic away from an Availability Zone when AWS identifies a potential issue, helping maintain application availability.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Basic Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const exampleLoadBalancer = new aws.lb.LoadBalancer("example", {
|
|
18
|
+
* name: "example",
|
|
19
|
+
* internal: true,
|
|
20
|
+
* loadBalancerType: "application",
|
|
21
|
+
* subnets: exampleAwsSubnet.map(__item => __item.id),
|
|
22
|
+
* enableZonalShift: true,
|
|
23
|
+
* });
|
|
24
|
+
* const exampleMetricAlarm = new aws.cloudwatch.MetricAlarm("example", {
|
|
25
|
+
* name: "example-outcome-alarm",
|
|
26
|
+
* comparisonOperator: "GreaterThanOrEqualToThreshold",
|
|
27
|
+
* evaluationPeriods: 1,
|
|
28
|
+
* metricName: "TargetResponseTime",
|
|
29
|
+
* namespace: "AWS/ApplicationELB",
|
|
30
|
+
* period: 60,
|
|
31
|
+
* statistic: "Average",
|
|
32
|
+
* threshold: 1,
|
|
33
|
+
* alarmDescription: "Outcome alarm for zonal autoshift practice run",
|
|
34
|
+
* dimensions: {
|
|
35
|
+
* LoadBalancer: exampleLoadBalancer.arnSuffix,
|
|
36
|
+
* },
|
|
37
|
+
* });
|
|
38
|
+
* const example = new aws.arczonalshift.ZonalAutoshiftConfiguration("example", {
|
|
39
|
+
* resourceArn: exampleLoadBalancer.arn,
|
|
40
|
+
* zonalAutoshiftStatus: "ENABLED",
|
|
41
|
+
* outcomeAlarms: [{
|
|
42
|
+
* alarmIdentifier: exampleMetricAlarm.arn,
|
|
43
|
+
* type: "CLOUDWATCH",
|
|
44
|
+
* }],
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ### With Blocking Alarms
|
|
49
|
+
*
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as aws from "@pulumi/aws";
|
|
53
|
+
*
|
|
54
|
+
* const example = new aws.arczonalshift.ZonalAutoshiftConfiguration("example", {
|
|
55
|
+
* resourceArn: exampleAwsLb.arn,
|
|
56
|
+
* zonalAutoshiftStatus: "ENABLED",
|
|
57
|
+
* outcomeAlarms: [{
|
|
58
|
+
* alarmIdentifier: outcome.arn,
|
|
59
|
+
* type: "CLOUDWATCH",
|
|
60
|
+
* }],
|
|
61
|
+
* blockingAlarms: [{
|
|
62
|
+
* alarmIdentifier: blocking.arn,
|
|
63
|
+
* type: "CLOUDWATCH",
|
|
64
|
+
* }],
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* ### With Blocked Windows
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as aws from "@pulumi/aws";
|
|
73
|
+
*
|
|
74
|
+
* const example = new aws.arczonalshift.ZonalAutoshiftConfiguration("example", {
|
|
75
|
+
* resourceArn: exampleAwsLb.arn,
|
|
76
|
+
* zonalAutoshiftStatus: "ENABLED",
|
|
77
|
+
* blockedWindows: ["Mon:00:00-Mon:08:00"],
|
|
78
|
+
* outcomeAlarms: [{
|
|
79
|
+
* alarmIdentifier: exampleAwsCloudwatchMetricAlarm.arn,
|
|
80
|
+
* type: "CLOUDWATCH",
|
|
81
|
+
* }],
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* ## Import
|
|
86
|
+
*
|
|
87
|
+
* ### Identity Schema
|
|
88
|
+
*
|
|
89
|
+
* #### Required
|
|
90
|
+
*
|
|
91
|
+
* * `resourceArn` (String) ARN of the managed resource to configure zonal autoshift for.
|
|
92
|
+
*
|
|
93
|
+
* Using `pulumi import`, import ARC Zonal Shift Zonal Autoshift Configuration using the `resourceArn`. For example:
|
|
94
|
+
*
|
|
95
|
+
* ```sh
|
|
96
|
+
* $ pulumi import aws:arczonalshift/zonalAutoshiftConfiguration:ZonalAutoshiftConfiguration example arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/example/50dc6c495c0c9188
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
export declare class ZonalAutoshiftConfiguration extends pulumi.CustomResource {
|
|
100
|
+
/**
|
|
101
|
+
* Get an existing ZonalAutoshiftConfiguration resource's state with the given name, ID, and optional extra
|
|
102
|
+
* properties used to qualify the lookup.
|
|
103
|
+
*
|
|
104
|
+
* @param name The _unique_ name of the resulting resource.
|
|
105
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
106
|
+
* @param state Any extra arguments used during the lookup.
|
|
107
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
108
|
+
*/
|
|
109
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ZonalAutoshiftConfigurationState, opts?: pulumi.CustomResourceOptions): ZonalAutoshiftConfiguration;
|
|
110
|
+
/**
|
|
111
|
+
* Returns true if the given object is an instance of ZonalAutoshiftConfiguration. This is designed to work even
|
|
112
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
113
|
+
*/
|
|
114
|
+
static isInstance(obj: any): obj is ZonalAutoshiftConfiguration;
|
|
115
|
+
/**
|
|
116
|
+
* List of time windows during which practice runs are allowed, in the format `Day:HH:MM-Day:HH:MM` (e.g., `Mon:09:00-Mon:17:00`). Cannot be used together with `blockedWindows`.
|
|
117
|
+
*/
|
|
118
|
+
readonly allowedWindows: pulumi.Output<string[] | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* List of dates when practice runs should not be started, in the format `YYYY-MM-DD`.
|
|
121
|
+
*/
|
|
122
|
+
readonly blockedDates: pulumi.Output<string[] | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* List of time windows during which practice runs should not be started, in the format `Day:HH:MM-Day:HH:MM` (e.g., `Mon:00:00-Mon:08:00`). Cannot be used together with `allowedWindows`.
|
|
125
|
+
*/
|
|
126
|
+
readonly blockedWindows: pulumi.Output<string[] | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* List of CloudWatch alarms that can block practice runs when in alarm state. See `blockingAlarms` below.
|
|
129
|
+
*/
|
|
130
|
+
readonly blockingAlarms: pulumi.Output<outputs.arczonalshift.ZonalAutoshiftConfigurationBlockingAlarm[] | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* List of CloudWatch alarms monitored during practice runs. See `outcomeAlarms` below.
|
|
133
|
+
*/
|
|
134
|
+
readonly outcomeAlarms: pulumi.Output<outputs.arczonalshift.ZonalAutoshiftConfigurationOutcomeAlarm[] | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* AWS region where the resource is deployed.
|
|
137
|
+
*/
|
|
138
|
+
readonly region: pulumi.Output<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The ARN of the managed resource to configure zonal autoshift for (e.g., an Application Load Balancer). Changing this creates a new resource.
|
|
141
|
+
*/
|
|
142
|
+
readonly resourceArn: pulumi.Output<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The status of zonal autoshift. Valid values: `ENABLED`, `DISABLED`.
|
|
145
|
+
*
|
|
146
|
+
* The following arguments are optional:
|
|
147
|
+
*/
|
|
148
|
+
readonly zonalAutoshiftStatus: pulumi.Output<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Create a ZonalAutoshiftConfiguration resource with the given unique name, arguments, and options.
|
|
151
|
+
*
|
|
152
|
+
* @param name The _unique_ name of the resource.
|
|
153
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
154
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
155
|
+
*/
|
|
156
|
+
constructor(name: string, args: ZonalAutoshiftConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Input properties used for looking up and filtering ZonalAutoshiftConfiguration resources.
|
|
160
|
+
*/
|
|
161
|
+
export interface ZonalAutoshiftConfigurationState {
|
|
162
|
+
/**
|
|
163
|
+
* List of time windows during which practice runs are allowed, in the format `Day:HH:MM-Day:HH:MM` (e.g., `Mon:09:00-Mon:17:00`). Cannot be used together with `blockedWindows`.
|
|
164
|
+
*/
|
|
165
|
+
allowedWindows?: pulumi.Input<pulumi.Input<string>[]>;
|
|
166
|
+
/**
|
|
167
|
+
* List of dates when practice runs should not be started, in the format `YYYY-MM-DD`.
|
|
168
|
+
*/
|
|
169
|
+
blockedDates?: pulumi.Input<pulumi.Input<string>[]>;
|
|
170
|
+
/**
|
|
171
|
+
* List of time windows during which practice runs should not be started, in the format `Day:HH:MM-Day:HH:MM` (e.g., `Mon:00:00-Mon:08:00`). Cannot be used together with `allowedWindows`.
|
|
172
|
+
*/
|
|
173
|
+
blockedWindows?: pulumi.Input<pulumi.Input<string>[]>;
|
|
174
|
+
/**
|
|
175
|
+
* List of CloudWatch alarms that can block practice runs when in alarm state. See `blockingAlarms` below.
|
|
176
|
+
*/
|
|
177
|
+
blockingAlarms?: pulumi.Input<pulumi.Input<inputs.arczonalshift.ZonalAutoshiftConfigurationBlockingAlarm>[]>;
|
|
178
|
+
/**
|
|
179
|
+
* List of CloudWatch alarms monitored during practice runs. See `outcomeAlarms` below.
|
|
180
|
+
*/
|
|
181
|
+
outcomeAlarms?: pulumi.Input<pulumi.Input<inputs.arczonalshift.ZonalAutoshiftConfigurationOutcomeAlarm>[]>;
|
|
182
|
+
/**
|
|
183
|
+
* AWS region where the resource is deployed.
|
|
184
|
+
*/
|
|
185
|
+
region?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* The ARN of the managed resource to configure zonal autoshift for (e.g., an Application Load Balancer). Changing this creates a new resource.
|
|
188
|
+
*/
|
|
189
|
+
resourceArn?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* The status of zonal autoshift. Valid values: `ENABLED`, `DISABLED`.
|
|
192
|
+
*
|
|
193
|
+
* The following arguments are optional:
|
|
194
|
+
*/
|
|
195
|
+
zonalAutoshiftStatus?: pulumi.Input<string>;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* The set of arguments for constructing a ZonalAutoshiftConfiguration resource.
|
|
199
|
+
*/
|
|
200
|
+
export interface ZonalAutoshiftConfigurationArgs {
|
|
201
|
+
/**
|
|
202
|
+
* List of time windows during which practice runs are allowed, in the format `Day:HH:MM-Day:HH:MM` (e.g., `Mon:09:00-Mon:17:00`). Cannot be used together with `blockedWindows`.
|
|
203
|
+
*/
|
|
204
|
+
allowedWindows?: pulumi.Input<pulumi.Input<string>[]>;
|
|
205
|
+
/**
|
|
206
|
+
* List of dates when practice runs should not be started, in the format `YYYY-MM-DD`.
|
|
207
|
+
*/
|
|
208
|
+
blockedDates?: pulumi.Input<pulumi.Input<string>[]>;
|
|
209
|
+
/**
|
|
210
|
+
* List of time windows during which practice runs should not be started, in the format `Day:HH:MM-Day:HH:MM` (e.g., `Mon:00:00-Mon:08:00`). Cannot be used together with `allowedWindows`.
|
|
211
|
+
*/
|
|
212
|
+
blockedWindows?: pulumi.Input<pulumi.Input<string>[]>;
|
|
213
|
+
/**
|
|
214
|
+
* List of CloudWatch alarms that can block practice runs when in alarm state. See `blockingAlarms` below.
|
|
215
|
+
*/
|
|
216
|
+
blockingAlarms?: pulumi.Input<pulumi.Input<inputs.arczonalshift.ZonalAutoshiftConfigurationBlockingAlarm>[]>;
|
|
217
|
+
/**
|
|
218
|
+
* List of CloudWatch alarms monitored during practice runs. See `outcomeAlarms` below.
|
|
219
|
+
*/
|
|
220
|
+
outcomeAlarms?: pulumi.Input<pulumi.Input<inputs.arczonalshift.ZonalAutoshiftConfigurationOutcomeAlarm>[]>;
|
|
221
|
+
/**
|
|
222
|
+
* AWS region where the resource is deployed.
|
|
223
|
+
*/
|
|
224
|
+
region?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* The ARN of the managed resource to configure zonal autoshift for (e.g., an Application Load Balancer). Changing this creates a new resource.
|
|
227
|
+
*/
|
|
228
|
+
resourceArn: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* The status of zonal autoshift. Valid values: `ENABLED`, `DISABLED`.
|
|
231
|
+
*
|
|
232
|
+
* The following arguments are optional:
|
|
233
|
+
*/
|
|
234
|
+
zonalAutoshiftStatus: pulumi.Input<string>;
|
|
235
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.ZonalAutoshiftConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an AWS Application Recovery Controller Zonal Shift Zonal Autoshift Configuration for a managed resource (such as a load balancer).
|
|
10
|
+
*
|
|
11
|
+
* Zonal autoshift is a capability in AWS Application Recovery Controller (ARC) that automatically shifts traffic away from an Availability Zone when AWS identifies a potential issue, helping maintain application availability.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Basic Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as aws from "@pulumi/aws";
|
|
20
|
+
*
|
|
21
|
+
* const exampleLoadBalancer = new aws.lb.LoadBalancer("example", {
|
|
22
|
+
* name: "example",
|
|
23
|
+
* internal: true,
|
|
24
|
+
* loadBalancerType: "application",
|
|
25
|
+
* subnets: exampleAwsSubnet.map(__item => __item.id),
|
|
26
|
+
* enableZonalShift: true,
|
|
27
|
+
* });
|
|
28
|
+
* const exampleMetricAlarm = new aws.cloudwatch.MetricAlarm("example", {
|
|
29
|
+
* name: "example-outcome-alarm",
|
|
30
|
+
* comparisonOperator: "GreaterThanOrEqualToThreshold",
|
|
31
|
+
* evaluationPeriods: 1,
|
|
32
|
+
* metricName: "TargetResponseTime",
|
|
33
|
+
* namespace: "AWS/ApplicationELB",
|
|
34
|
+
* period: 60,
|
|
35
|
+
* statistic: "Average",
|
|
36
|
+
* threshold: 1,
|
|
37
|
+
* alarmDescription: "Outcome alarm for zonal autoshift practice run",
|
|
38
|
+
* dimensions: {
|
|
39
|
+
* LoadBalancer: exampleLoadBalancer.arnSuffix,
|
|
40
|
+
* },
|
|
41
|
+
* });
|
|
42
|
+
* const example = new aws.arczonalshift.ZonalAutoshiftConfiguration("example", {
|
|
43
|
+
* resourceArn: exampleLoadBalancer.arn,
|
|
44
|
+
* zonalAutoshiftStatus: "ENABLED",
|
|
45
|
+
* outcomeAlarms: [{
|
|
46
|
+
* alarmIdentifier: exampleMetricAlarm.arn,
|
|
47
|
+
* type: "CLOUDWATCH",
|
|
48
|
+
* }],
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ### With Blocking Alarms
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as aws from "@pulumi/aws";
|
|
57
|
+
*
|
|
58
|
+
* const example = new aws.arczonalshift.ZonalAutoshiftConfiguration("example", {
|
|
59
|
+
* resourceArn: exampleAwsLb.arn,
|
|
60
|
+
* zonalAutoshiftStatus: "ENABLED",
|
|
61
|
+
* outcomeAlarms: [{
|
|
62
|
+
* alarmIdentifier: outcome.arn,
|
|
63
|
+
* type: "CLOUDWATCH",
|
|
64
|
+
* }],
|
|
65
|
+
* blockingAlarms: [{
|
|
66
|
+
* alarmIdentifier: blocking.arn,
|
|
67
|
+
* type: "CLOUDWATCH",
|
|
68
|
+
* }],
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* ### With Blocked Windows
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as aws from "@pulumi/aws";
|
|
77
|
+
*
|
|
78
|
+
* const example = new aws.arczonalshift.ZonalAutoshiftConfiguration("example", {
|
|
79
|
+
* resourceArn: exampleAwsLb.arn,
|
|
80
|
+
* zonalAutoshiftStatus: "ENABLED",
|
|
81
|
+
* blockedWindows: ["Mon:00:00-Mon:08:00"],
|
|
82
|
+
* outcomeAlarms: [{
|
|
83
|
+
* alarmIdentifier: exampleAwsCloudwatchMetricAlarm.arn,
|
|
84
|
+
* type: "CLOUDWATCH",
|
|
85
|
+
* }],
|
|
86
|
+
* });
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* ## Import
|
|
90
|
+
*
|
|
91
|
+
* ### Identity Schema
|
|
92
|
+
*
|
|
93
|
+
* #### Required
|
|
94
|
+
*
|
|
95
|
+
* * `resourceArn` (String) ARN of the managed resource to configure zonal autoshift for.
|
|
96
|
+
*
|
|
97
|
+
* Using `pulumi import`, import ARC Zonal Shift Zonal Autoshift Configuration using the `resourceArn`. For example:
|
|
98
|
+
*
|
|
99
|
+
* ```sh
|
|
100
|
+
* $ pulumi import aws:arczonalshift/zonalAutoshiftConfiguration:ZonalAutoshiftConfiguration example arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/example/50dc6c495c0c9188
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
class ZonalAutoshiftConfiguration extends pulumi.CustomResource {
|
|
104
|
+
/**
|
|
105
|
+
* Get an existing ZonalAutoshiftConfiguration resource's state with the given name, ID, and optional extra
|
|
106
|
+
* properties used to qualify the lookup.
|
|
107
|
+
*
|
|
108
|
+
* @param name The _unique_ name of the resulting resource.
|
|
109
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
110
|
+
* @param state Any extra arguments used during the lookup.
|
|
111
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
112
|
+
*/
|
|
113
|
+
static get(name, id, state, opts) {
|
|
114
|
+
return new ZonalAutoshiftConfiguration(name, state, { ...opts, id: id });
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Returns true if the given object is an instance of ZonalAutoshiftConfiguration. This is designed to work even
|
|
118
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
119
|
+
*/
|
|
120
|
+
static isInstance(obj) {
|
|
121
|
+
if (obj === undefined || obj === null) {
|
|
122
|
+
return false;
|
|
123
|
+
}
|
|
124
|
+
return obj['__pulumiType'] === ZonalAutoshiftConfiguration.__pulumiType;
|
|
125
|
+
}
|
|
126
|
+
constructor(name, argsOrState, opts) {
|
|
127
|
+
let resourceInputs = {};
|
|
128
|
+
opts = opts || {};
|
|
129
|
+
if (opts.id) {
|
|
130
|
+
const state = argsOrState;
|
|
131
|
+
resourceInputs["allowedWindows"] = state?.allowedWindows;
|
|
132
|
+
resourceInputs["blockedDates"] = state?.blockedDates;
|
|
133
|
+
resourceInputs["blockedWindows"] = state?.blockedWindows;
|
|
134
|
+
resourceInputs["blockingAlarms"] = state?.blockingAlarms;
|
|
135
|
+
resourceInputs["outcomeAlarms"] = state?.outcomeAlarms;
|
|
136
|
+
resourceInputs["region"] = state?.region;
|
|
137
|
+
resourceInputs["resourceArn"] = state?.resourceArn;
|
|
138
|
+
resourceInputs["zonalAutoshiftStatus"] = state?.zonalAutoshiftStatus;
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
const args = argsOrState;
|
|
142
|
+
if (args?.resourceArn === undefined && !opts.urn) {
|
|
143
|
+
throw new Error("Missing required property 'resourceArn'");
|
|
144
|
+
}
|
|
145
|
+
if (args?.zonalAutoshiftStatus === undefined && !opts.urn) {
|
|
146
|
+
throw new Error("Missing required property 'zonalAutoshiftStatus'");
|
|
147
|
+
}
|
|
148
|
+
resourceInputs["allowedWindows"] = args?.allowedWindows;
|
|
149
|
+
resourceInputs["blockedDates"] = args?.blockedDates;
|
|
150
|
+
resourceInputs["blockedWindows"] = args?.blockedWindows;
|
|
151
|
+
resourceInputs["blockingAlarms"] = args?.blockingAlarms;
|
|
152
|
+
resourceInputs["outcomeAlarms"] = args?.outcomeAlarms;
|
|
153
|
+
resourceInputs["region"] = args?.region;
|
|
154
|
+
resourceInputs["resourceArn"] = args?.resourceArn;
|
|
155
|
+
resourceInputs["zonalAutoshiftStatus"] = args?.zonalAutoshiftStatus;
|
|
156
|
+
}
|
|
157
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
158
|
+
super(ZonalAutoshiftConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
exports.ZonalAutoshiftConfiguration = ZonalAutoshiftConfiguration;
|
|
162
|
+
/** @internal */
|
|
163
|
+
ZonalAutoshiftConfiguration.__pulumiType = 'aws:arczonalshift/zonalAutoshiftConfiguration:ZonalAutoshiftConfiguration';
|
|
164
|
+
//# sourceMappingURL=zonalAutoshiftConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zonalAutoshiftConfiguration.js","sourceRoot":"","sources":["../../arczonalshift/zonalAutoshiftConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8FG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClF,CAA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AAC;aACvE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AAvGL,kEAwGC;AA1FG,gBAAgB;AACO,wCAAY,GAAG,2EAA2E,CAAC"}
|
|
@@ -45,7 +45,7 @@ import * as outputs from "../types/output";
|
|
|
45
45
|
* name: "example-function",
|
|
46
46
|
* role: lambdaRole.arn,
|
|
47
47
|
* handler: "index.handler",
|
|
48
|
-
* runtime: aws.lambda.Runtime.
|
|
48
|
+
* runtime: aws.lambda.Runtime.NodeJS24dX,
|
|
49
49
|
* });
|
|
50
50
|
* const exampleAgentcoreGateway = new aws.bedrock.AgentcoreGateway("example", {
|
|
51
51
|
* name: "example-gateway",
|
|
@@ -49,7 +49,7 @@ const utilities = require("../utilities");
|
|
|
49
49
|
* name: "example-function",
|
|
50
50
|
* role: lambdaRole.arn,
|
|
51
51
|
* handler: "index.handler",
|
|
52
|
-
* runtime: aws.lambda.Runtime.
|
|
52
|
+
* runtime: aws.lambda.Runtime.NodeJS24dX,
|
|
53
53
|
* });
|
|
54
54
|
* const exampleAgentcoreGateway = new aws.bedrock.AgentcoreGateway("example", {
|
|
55
55
|
* name: "example-gateway",
|
|
@@ -2,12 +2,6 @@ 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
|
-
* !> The resource type `aws.dynamodb.GlobalSecondaryIndex` is an experimental feature. The schema or behavior may change without notice, and it is not subject to the backwards compatibility guarantee of the provider.
|
|
6
|
-
*
|
|
7
|
-
* > The resource type `aws.dynamodb.GlobalSecondaryIndex` can be enabled by setting the environment variable `TF_AWS_EXPERIMENT_dynamodb_global_secondary_index` to any value. If not enabled, use of `aws.dynamodb.GlobalSecondaryIndex` will result in an error when running Terraform.
|
|
8
|
-
*
|
|
9
|
-
* > Please provide feedback, positive or negative, at https://github.com/hashicorp/terraform-provider-aws/issues/45640. User feedback will determine if this experiment is a success.
|
|
10
|
-
*
|
|
11
5
|
* !> **WARNING:** Do not combine `aws.dynamodb.GlobalSecondaryIndex` resources in conjunction with `globalSecondaryIndex` on `aws.dynamodb.Table`. Doing so may cause conflicts, perpertual differences, and Global Secondary Indexes being overwritten.
|
|
12
6
|
*
|
|
13
7
|
* ## Example Usage
|
|
@@ -6,12 +6,6 @@ exports.GlobalSecondaryIndex = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* !> The resource type `aws.dynamodb.GlobalSecondaryIndex` is an experimental feature. The schema or behavior may change without notice, and it is not subject to the backwards compatibility guarantee of the provider.
|
|
10
|
-
*
|
|
11
|
-
* > The resource type `aws.dynamodb.GlobalSecondaryIndex` can be enabled by setting the environment variable `TF_AWS_EXPERIMENT_dynamodb_global_secondary_index` to any value. If not enabled, use of `aws.dynamodb.GlobalSecondaryIndex` will result in an error when running Terraform.
|
|
12
|
-
*
|
|
13
|
-
* > Please provide feedback, positive or negative, at https://github.com/hashicorp/terraform-provider-aws/issues/45640. User feedback will determine if this experiment is a success.
|
|
14
|
-
*
|
|
15
9
|
* !> **WARNING:** Do not combine `aws.dynamodb.GlobalSecondaryIndex` resources in conjunction with `globalSecondaryIndex` on `aws.dynamodb.Table`. Doing so may cause conflicts, perpertual differences, and Global Secondary Indexes being overwritten.
|
|
16
10
|
*
|
|
17
11
|
* ## Example Usage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globalSecondaryIndex.js","sourceRoot":"","sources":["../../dynamodb/globalSecondaryIndex.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"globalSecondaryIndex.js","sourceRoot":"","sources":["../../dynamodb/globalSecondaryIndex.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8GG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,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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