@pulumi/aws 5.27.0-alpha.1673039490 → 5.27.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/alb/loadBalancer.d.ts +12 -29
- package/alb/loadBalancer.js.map +1 -1
- package/amplify/app.d.ts +10 -0
- package/amplify/app.js +10 -0
- package/amplify/app.js.map +1 -1
- package/applicationloadbalancing/loadBalancer.d.ts +12 -29
- package/applicationloadbalancing/loadBalancer.js.map +1 -1
- package/appstream/imageBuilder.d.ts +1 -1
- package/appstream/imageBuilder.js +1 -1
- package/appsync/index.d.ts +3 -0
- package/appsync/index.js +6 -1
- package/appsync/index.js.map +1 -1
- package/appsync/resolver.d.ts +52 -6
- package/appsync/resolver.js +26 -0
- package/appsync/resolver.js.map +1 -1
- package/appsync/type.d.ts +127 -0
- package/appsync/type.js +99 -0
- package/appsync/type.js.map +1 -0
- package/autoscaling/getGroup.d.ts +4 -0
- package/autoscaling/getGroup.js.map +1 -1
- package/autoscaling/group.d.ts +12 -0
- package/autoscaling/group.js +2 -0
- package/autoscaling/group.js.map +1 -1
- package/autoscaling/schedule.d.ts +27 -39
- package/autoscaling/schedule.js.map +1 -1
- package/batch/jobDefinition.d.ts +7 -5
- package/batch/jobDefinition.js +4 -2
- package/batch/jobDefinition.js.map +1 -1
- package/cloudtrail/trail.d.ts +0 -42
- package/cloudtrail/trail.js +0 -42
- package/cloudtrail/trail.js.map +1 -1
- package/cloudwatch/eventTarget.d.ts +28 -22
- package/cloudwatch/eventTarget.js +25 -19
- package/cloudwatch/eventTarget.js.map +1 -1
- package/cloudwatch/getLogDataProtectionPolicyDocument.d.ts +164 -0
- package/cloudwatch/getLogDataProtectionPolicyDocument.js +134 -0
- package/cloudwatch/getLogDataProtectionPolicyDocument.js.map +1 -0
- package/cloudwatch/index.d.ts +3 -0
- package/cloudwatch/index.js +4 -1
- package/cloudwatch/index.js.map +1 -1
- package/directconnect/macsecKeyAssociation.d.ts +1 -1
- package/directconnect/macsecKeyAssociation.js +1 -1
- package/dms/s3endpoint.d.ts +12 -3
- package/dms/s3endpoint.js.map +1 -1
- package/ec2/getVpcIamPool.d.ts +3 -3
- package/ec2/launchConfiguration.d.ts +45 -86
- package/ec2/launchConfiguration.js +24 -32
- package/ec2/launchConfiguration.js.map +1 -1
- package/ec2transitgateway/index.d.ts +3 -0
- package/ec2transitgateway/index.js +6 -1
- package/ec2transitgateway/index.js.map +1 -1
- package/ec2transitgateway/instanceState.d.ts +118 -0
- package/ec2transitgateway/instanceState.js +105 -0
- package/ec2transitgateway/instanceState.js.map +1 -0
- package/ecs/service.d.ts +27 -0
- package/ecs/service.js +17 -0
- package/ecs/service.js.map +1 -1
- package/eks/nodeGroup.d.ts +3 -3
- package/elasticloadbalancingv2/loadBalancer.d.ts +12 -29
- package/elasticloadbalancingv2/loadBalancer.js.map +1 -1
- package/fsx/ontapStorageVirtualMachine.d.ts +2 -2
- package/glue/getCatalogTable.d.ts +157 -0
- package/glue/getCatalogTable.js +53 -0
- package/glue/getCatalogTable.js.map +1 -0
- package/glue/index.d.ts +3 -0
- package/glue/index.js +4 -1
- package/glue/index.js.map +1 -1
- package/glue/trigger.d.ts +3 -3
- package/lambda/getFunctions.d.ts +31 -0
- package/lambda/getFunctions.js +25 -0
- package/lambda/getFunctions.js.map +1 -0
- package/lambda/index.d.ts +2 -0
- package/lambda/index.js +3 -1
- package/lambda/index.js.map +1 -1
- package/lb/loadBalancer.d.ts +12 -29
- package/lb/loadBalancer.js.map +1 -1
- package/lightsail/bucket.d.ts +152 -0
- package/lightsail/bucket.js +90 -0
- package/lightsail/bucket.js.map +1 -0
- package/lightsail/database.d.ts +1 -1
- package/lightsail/database.js +0 -3
- package/lightsail/database.js.map +1 -1
- package/lightsail/index.d.ts +3 -0
- package/lightsail/index.js +6 -1
- package/lightsail/index.js.map +1 -1
- package/lightsail/instance.d.ts +38 -3
- package/lightsail/instance.js +26 -3
- package/lightsail/instance.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/rds/getInstances.d.ts +77 -0
- package/rds/getInstances.js +56 -0
- package/rds/getInstances.js.map +1 -0
- package/rds/index.d.ts +3 -0
- package/rds/index.js +4 -1
- package/rds/index.js.map +1 -1
- package/rds/instance.d.ts +3 -3
- package/s3/accessPoint.d.ts +12 -0
- package/s3/accessPoint.js +2 -0
- package/s3/accessPoint.js.map +1 -1
- package/s3/bucketV2.d.ts +1 -1
- package/s3/bucketV2.js +1 -1
- package/s3control/getMultiRegionAccessPoint.d.ts +97 -0
- package/s3control/getMultiRegionAccessPoint.js +48 -0
- package/s3control/getMultiRegionAccessPoint.js.map +1 -0
- package/s3control/index.d.ts +3 -0
- package/s3control/index.js +4 -1
- package/s3control/index.js.map +1 -1
- package/sagemaker/domain.d.ts +29 -38
- package/sagemaker/domain.js +20 -20
- package/sagemaker/domain.js.map +1 -1
- package/ssoadmin/index.d.ts +3 -0
- package/ssoadmin/index.js +6 -1
- package/ssoadmin/index.js.map +1 -1
- package/ssoadmin/instanceAccessControlAttributes.d.ts +77 -0
- package/ssoadmin/instanceAccessControlAttributes.js +72 -0
- package/ssoadmin/instanceAccessControlAttributes.js.map +1 -0
- package/synthetics/canary.d.ts +3 -3
- package/types/input.d.ts +463 -29
- package/types/output.d.ts +585 -32
package/appsync/resolver.js
CHANGED
|
@@ -89,6 +89,28 @@ const utilities = require("../utilities");
|
|
|
89
89
|
* },
|
|
90
90
|
* });
|
|
91
91
|
* ```
|
|
92
|
+
* ### JS
|
|
93
|
+
*
|
|
94
|
+
* ```typescript
|
|
95
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
96
|
+
* import * as aws from "@pulumi/aws";
|
|
97
|
+
* import * as fs from "fs";
|
|
98
|
+
*
|
|
99
|
+
* const example = new aws.appsync.Resolver("example", {
|
|
100
|
+
* type: "Query",
|
|
101
|
+
* apiId: aws_appsync_graphql_api.test.id,
|
|
102
|
+
* field: "pipelineTest",
|
|
103
|
+
* kind: "PIPELINE",
|
|
104
|
+
* code: fs.readFileSync("some-code-dir"),
|
|
105
|
+
* runtime: {
|
|
106
|
+
* name: "APPSYNC_JS",
|
|
107
|
+
* runtimeVersion: "1.0.0",
|
|
108
|
+
* },
|
|
109
|
+
* pipelineConfig: {
|
|
110
|
+
* functions: [aws_appsync_function.test.function_id],
|
|
111
|
+
* },
|
|
112
|
+
* });
|
|
113
|
+
* ```
|
|
92
114
|
*
|
|
93
115
|
* ## Import
|
|
94
116
|
*
|
|
@@ -129,6 +151,7 @@ class Resolver extends pulumi.CustomResource {
|
|
|
129
151
|
resourceInputs["apiId"] = state ? state.apiId : undefined;
|
|
130
152
|
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
131
153
|
resourceInputs["cachingConfig"] = state ? state.cachingConfig : undefined;
|
|
154
|
+
resourceInputs["code"] = state ? state.code : undefined;
|
|
132
155
|
resourceInputs["dataSource"] = state ? state.dataSource : undefined;
|
|
133
156
|
resourceInputs["field"] = state ? state.field : undefined;
|
|
134
157
|
resourceInputs["kind"] = state ? state.kind : undefined;
|
|
@@ -136,6 +159,7 @@ class Resolver extends pulumi.CustomResource {
|
|
|
136
159
|
resourceInputs["pipelineConfig"] = state ? state.pipelineConfig : undefined;
|
|
137
160
|
resourceInputs["requestTemplate"] = state ? state.requestTemplate : undefined;
|
|
138
161
|
resourceInputs["responseTemplate"] = state ? state.responseTemplate : undefined;
|
|
162
|
+
resourceInputs["runtime"] = state ? state.runtime : undefined;
|
|
139
163
|
resourceInputs["syncConfig"] = state ? state.syncConfig : undefined;
|
|
140
164
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
141
165
|
}
|
|
@@ -152,6 +176,7 @@ class Resolver extends pulumi.CustomResource {
|
|
|
152
176
|
}
|
|
153
177
|
resourceInputs["apiId"] = args ? args.apiId : undefined;
|
|
154
178
|
resourceInputs["cachingConfig"] = args ? args.cachingConfig : undefined;
|
|
179
|
+
resourceInputs["code"] = args ? args.code : undefined;
|
|
155
180
|
resourceInputs["dataSource"] = args ? args.dataSource : undefined;
|
|
156
181
|
resourceInputs["field"] = args ? args.field : undefined;
|
|
157
182
|
resourceInputs["kind"] = args ? args.kind : undefined;
|
|
@@ -159,6 +184,7 @@ class Resolver extends pulumi.CustomResource {
|
|
|
159
184
|
resourceInputs["pipelineConfig"] = args ? args.pipelineConfig : undefined;
|
|
160
185
|
resourceInputs["requestTemplate"] = args ? args.requestTemplate : undefined;
|
|
161
186
|
resourceInputs["responseTemplate"] = args ? args.responseTemplate : undefined;
|
|
187
|
+
resourceInputs["runtime"] = args ? args.runtime : undefined;
|
|
162
188
|
resourceInputs["syncConfig"] = args ? args.syncConfig : undefined;
|
|
163
189
|
resourceInputs["type"] = args ? args.type : undefined;
|
|
164
190
|
resourceInputs["arn"] = undefined /*out*/;
|
package/appsync/resolver.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver.js","sourceRoot":"","sources":["../../appsync/resolver.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"resolver.js","sourceRoot":"","sources":["../../appsync/resolver.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkHG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MA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AAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA5IL,4BA6IC;AA/HG,gBAAgB;AACO,qBAAY,GAAG,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides an AppSync Type.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const exampleGraphQLApi = new aws.appsync.GraphQLApi("exampleGraphQLApi", {authenticationType: "API_KEY"});
|
|
12
|
+
* const exampleType = new aws.appsync.Type("exampleType", {
|
|
13
|
+
* apiId: exampleGraphQLApi.id,
|
|
14
|
+
* format: "SDL",
|
|
15
|
+
* definition: `type Mutation
|
|
16
|
+
*
|
|
17
|
+
* {
|
|
18
|
+
* putPost(id: ID!,title: String! ): Post
|
|
19
|
+
*
|
|
20
|
+
* }
|
|
21
|
+
* `,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* Appsync Types can be imported using the `id` e.g.,
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import aws:appsync/type:Type example api-id:format:name
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class Type extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing Type resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TypeState, opts?: pulumi.CustomResourceOptions): Type;
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of Type. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj: any): obj is Type;
|
|
49
|
+
/**
|
|
50
|
+
* GraphQL API ID.
|
|
51
|
+
*/
|
|
52
|
+
readonly apiId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The ARN of the type.
|
|
55
|
+
*/
|
|
56
|
+
readonly arn: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The type definition.
|
|
59
|
+
*/
|
|
60
|
+
readonly definition: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The type description.
|
|
63
|
+
*/
|
|
64
|
+
readonly description: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The type format: `SDL` or `JSON`.
|
|
67
|
+
*/
|
|
68
|
+
readonly format: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The type name.
|
|
71
|
+
*/
|
|
72
|
+
readonly name: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Create a Type resource with the given unique name, arguments, and options.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resource.
|
|
77
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
78
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
79
|
+
*/
|
|
80
|
+
constructor(name: string, args: TypeArgs, opts?: pulumi.CustomResourceOptions);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Input properties used for looking up and filtering Type resources.
|
|
84
|
+
*/
|
|
85
|
+
export interface TypeState {
|
|
86
|
+
/**
|
|
87
|
+
* GraphQL API ID.
|
|
88
|
+
*/
|
|
89
|
+
apiId?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The ARN of the type.
|
|
92
|
+
*/
|
|
93
|
+
arn?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The type definition.
|
|
96
|
+
*/
|
|
97
|
+
definition?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The type description.
|
|
100
|
+
*/
|
|
101
|
+
description?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The type format: `SDL` or `JSON`.
|
|
104
|
+
*/
|
|
105
|
+
format?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The type name.
|
|
108
|
+
*/
|
|
109
|
+
name?: pulumi.Input<string>;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* The set of arguments for constructing a Type resource.
|
|
113
|
+
*/
|
|
114
|
+
export interface TypeArgs {
|
|
115
|
+
/**
|
|
116
|
+
* GraphQL API ID.
|
|
117
|
+
*/
|
|
118
|
+
apiId: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The type definition.
|
|
121
|
+
*/
|
|
122
|
+
definition: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The type format: `SDL` or `JSON`.
|
|
125
|
+
*/
|
|
126
|
+
format: pulumi.Input<string>;
|
|
127
|
+
}
|
package/appsync/type.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.Type = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an AppSync Type.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const exampleGraphQLApi = new aws.appsync.GraphQLApi("exampleGraphQLApi", {authenticationType: "API_KEY"});
|
|
18
|
+
* const exampleType = new aws.appsync.Type("exampleType", {
|
|
19
|
+
* apiId: exampleGraphQLApi.id,
|
|
20
|
+
* format: "SDL",
|
|
21
|
+
* definition: `type Mutation
|
|
22
|
+
*
|
|
23
|
+
* {
|
|
24
|
+
* putPost(id: ID!,title: String! ): Post
|
|
25
|
+
*
|
|
26
|
+
* }
|
|
27
|
+
* `,
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* Appsync Types can be imported using the `id` e.g.,
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import aws:appsync/type:Type example api-id:format:name
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
class Type extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing Type resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name, id, state, opts) {
|
|
50
|
+
return new Type(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of Type. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj) {
|
|
57
|
+
if (obj === undefined || obj === null) {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
return obj['__pulumiType'] === Type.__pulumiType;
|
|
61
|
+
}
|
|
62
|
+
constructor(name, argsOrState, opts) {
|
|
63
|
+
let resourceInputs = {};
|
|
64
|
+
opts = opts || {};
|
|
65
|
+
if (opts.id) {
|
|
66
|
+
const state = argsOrState;
|
|
67
|
+
resourceInputs["apiId"] = state ? state.apiId : undefined;
|
|
68
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
69
|
+
resourceInputs["definition"] = state ? state.definition : undefined;
|
|
70
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
71
|
+
resourceInputs["format"] = state ? state.format : undefined;
|
|
72
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
if ((!args || args.apiId === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'apiId'");
|
|
78
|
+
}
|
|
79
|
+
if ((!args || args.definition === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'definition'");
|
|
81
|
+
}
|
|
82
|
+
if ((!args || args.format === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'format'");
|
|
84
|
+
}
|
|
85
|
+
resourceInputs["apiId"] = args ? args.apiId : undefined;
|
|
86
|
+
resourceInputs["definition"] = args ? args.definition : undefined;
|
|
87
|
+
resourceInputs["format"] = args ? args.format : undefined;
|
|
88
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
91
|
+
}
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
+
super(Type.__pulumiType, name, resourceInputs, opts);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.Type = Type;
|
|
97
|
+
/** @internal */
|
|
98
|
+
Type.__pulumiType = 'aws:appsync/type:Type';
|
|
99
|
+
//# sourceMappingURL=type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../appsync/type.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,C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C,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA5FL,oBA6FC;AA/EG,gBAAgB;AACO,iBAAY,GAAG,uBAAuB,CAAC"}
|
|
@@ -41,6 +41,10 @@ export interface GetGroupResult {
|
|
|
41
41
|
* Desired size of the group.
|
|
42
42
|
*/
|
|
43
43
|
readonly desiredCapacity: number;
|
|
44
|
+
/**
|
|
45
|
+
* The unit of measurement for the value returned for `desiredCapacity`.
|
|
46
|
+
*/
|
|
47
|
+
readonly desiredCapacityType: string;
|
|
44
48
|
/**
|
|
45
49
|
* List of metrics enabled for collection.
|
|
46
50
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../../autoscaling/getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../../autoscaling/getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAgGD;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/autoscaling/group.d.ts
CHANGED
|
@@ -383,6 +383,10 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
383
383
|
* Capacity below.)
|
|
384
384
|
*/
|
|
385
385
|
readonly desiredCapacity: pulumi.Output<number>;
|
|
386
|
+
/**
|
|
387
|
+
* The unit of measurement for the value specified for `desiredCapacity`. Supported for attribute-based instance type selection only. Valid values: `"units"`, `"vcpu"`, `"memory-mib"`.
|
|
388
|
+
*/
|
|
389
|
+
readonly desiredCapacityType: pulumi.Output<string | undefined>;
|
|
386
390
|
/**
|
|
387
391
|
* List of metrics to collect. The allowed values are defined by the [underlying AWS API](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html).
|
|
388
392
|
*/
|
|
@@ -578,6 +582,10 @@ export interface GroupState {
|
|
|
578
582
|
* Capacity below.)
|
|
579
583
|
*/
|
|
580
584
|
desiredCapacity?: pulumi.Input<number>;
|
|
585
|
+
/**
|
|
586
|
+
* The unit of measurement for the value specified for `desiredCapacity`. Supported for attribute-based instance type selection only. Valid values: `"units"`, `"vcpu"`, `"memory-mib"`.
|
|
587
|
+
*/
|
|
588
|
+
desiredCapacityType?: pulumi.Input<string>;
|
|
581
589
|
/**
|
|
582
590
|
* List of metrics to collect. The allowed values are defined by the [underlying AWS API](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html).
|
|
583
591
|
*/
|
|
@@ -761,6 +769,10 @@ export interface GroupArgs {
|
|
|
761
769
|
* Capacity below.)
|
|
762
770
|
*/
|
|
763
771
|
desiredCapacity?: pulumi.Input<number>;
|
|
772
|
+
/**
|
|
773
|
+
* The unit of measurement for the value specified for `desiredCapacity`. Supported for attribute-based instance type selection only. Valid values: `"units"`, `"vcpu"`, `"memory-mib"`.
|
|
774
|
+
*/
|
|
775
|
+
desiredCapacityType?: pulumi.Input<string>;
|
|
764
776
|
/**
|
|
765
777
|
* List of metrics to collect. The allowed values are defined by the [underlying AWS API](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html).
|
|
766
778
|
*/
|
package/autoscaling/group.js
CHANGED
|
@@ -373,6 +373,7 @@ class Group extends pulumi.CustomResource {
|
|
|
373
373
|
resourceInputs["defaultCooldown"] = state ? state.defaultCooldown : undefined;
|
|
374
374
|
resourceInputs["defaultInstanceWarmup"] = state ? state.defaultInstanceWarmup : undefined;
|
|
375
375
|
resourceInputs["desiredCapacity"] = state ? state.desiredCapacity : undefined;
|
|
376
|
+
resourceInputs["desiredCapacityType"] = state ? state.desiredCapacityType : undefined;
|
|
376
377
|
resourceInputs["enabledMetrics"] = state ? state.enabledMetrics : undefined;
|
|
377
378
|
resourceInputs["forceDelete"] = state ? state.forceDelete : undefined;
|
|
378
379
|
resourceInputs["forceDeleteWarmPool"] = state ? state.forceDeleteWarmPool : undefined;
|
|
@@ -418,6 +419,7 @@ class Group extends pulumi.CustomResource {
|
|
|
418
419
|
resourceInputs["defaultCooldown"] = args ? args.defaultCooldown : undefined;
|
|
419
420
|
resourceInputs["defaultInstanceWarmup"] = args ? args.defaultInstanceWarmup : undefined;
|
|
420
421
|
resourceInputs["desiredCapacity"] = args ? args.desiredCapacity : undefined;
|
|
422
|
+
resourceInputs["desiredCapacityType"] = args ? args.desiredCapacityType : undefined;
|
|
421
423
|
resourceInputs["enabledMetrics"] = args ? args.enabledMetrics : undefined;
|
|
422
424
|
resourceInputs["forceDelete"] = args ? args.forceDelete : undefined;
|
|
423
425
|
resourceInputs["forceDeleteWarmPool"] = args ? args.forceDeleteWarmPool : undefined;
|
package/autoscaling/group.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.js","sourceRoot":"","sources":["../../autoscaling/group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAK1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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|
61
61
|
*/
|
|
62
62
|
readonly autoscalingGroupName: pulumi.Output<string>;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* The initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain. Set to `-1` if you don't want to change the desired capacity at the scheduled time. Defaults to `0`.
|
|
65
65
|
*/
|
|
66
66
|
readonly desiredCapacity: pulumi.Output<number>;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
69
|
-
* If you try to schedule your action in the past, Auto Scaling returns an error message.
|
|
68
|
+
* The date and time for the recurring schedule to end, in UTC with the format `"YYYY-MM-DDThh:mm:ssZ"` (e.g. `"2021-06-01T00:00:00Z"`).
|
|
70
69
|
*/
|
|
71
70
|
readonly endTime: pulumi.Output<string>;
|
|
72
71
|
/**
|
|
73
|
-
*
|
|
74
|
-
* Set to -1 if you don't want to change the maximum size at the scheduled time.
|
|
72
|
+
* The maximum size of the Auto Scaling group. Set to `-1` if you don't want to change the maximum size at the scheduled time. Defaults to `0`.
|
|
75
73
|
*/
|
|
76
74
|
readonly maxSize: pulumi.Output<number>;
|
|
77
75
|
/**
|
|
78
|
-
*
|
|
79
|
-
* Set to -1 if you don't want to change the minimum size at the scheduled time.
|
|
76
|
+
* The minimum size of the Auto Scaling group. Set to `-1` if you don't want to change the minimum size at the scheduled time. Defaults to `0`.
|
|
80
77
|
*/
|
|
81
78
|
readonly minSize: pulumi.Output<number>;
|
|
82
79
|
/**
|
|
83
|
-
*
|
|
80
|
+
* The recurring schedule for this action specified using the Unix cron syntax format.
|
|
84
81
|
*/
|
|
85
82
|
readonly recurrence: pulumi.Output<string>;
|
|
86
83
|
/**
|
|
87
|
-
*
|
|
84
|
+
* The name of this scaling action.
|
|
88
85
|
*/
|
|
89
86
|
readonly scheduledActionName: pulumi.Output<string>;
|
|
90
87
|
/**
|
|
91
|
-
*
|
|
92
|
-
* If you try to schedule your action in the past, Auto Scaling returns an error message.
|
|
88
|
+
* The date and time for the recurring schedule to start, in UTC with the format `"YYYY-MM-DDThh:mm:ssZ"` (e.g. `"2021-06-01T00:00:00Z"`).
|
|
93
89
|
*/
|
|
94
90
|
readonly startTime: pulumi.Output<string>;
|
|
95
91
|
/**
|
|
96
|
-
*
|
|
92
|
+
* Specifies the time zone for a cron expression. Valid values are the canonical names of the IANA time zones (such as `Etc/GMT+9` or `Pacific/Tahiti`).
|
|
97
93
|
*/
|
|
98
94
|
readonly timeZone: pulumi.Output<string>;
|
|
99
95
|
/**
|
|
@@ -114,43 +110,39 @@ export interface ScheduleState {
|
|
|
114
110
|
*/
|
|
115
111
|
arn?: pulumi.Input<string>;
|
|
116
112
|
/**
|
|
117
|
-
*
|
|
113
|
+
* The name of the Auto Scaling group.
|
|
118
114
|
*/
|
|
119
115
|
autoscalingGroupName?: pulumi.Input<string>;
|
|
120
116
|
/**
|
|
121
|
-
*
|
|
117
|
+
* The initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain. Set to `-1` if you don't want to change the desired capacity at the scheduled time. Defaults to `0`.
|
|
122
118
|
*/
|
|
123
119
|
desiredCapacity?: pulumi.Input<number>;
|
|
124
120
|
/**
|
|
125
|
-
*
|
|
126
|
-
* If you try to schedule your action in the past, Auto Scaling returns an error message.
|
|
121
|
+
* The date and time for the recurring schedule to end, in UTC with the format `"YYYY-MM-DDThh:mm:ssZ"` (e.g. `"2021-06-01T00:00:00Z"`).
|
|
127
122
|
*/
|
|
128
123
|
endTime?: pulumi.Input<string>;
|
|
129
124
|
/**
|
|
130
|
-
*
|
|
131
|
-
* Set to -1 if you don't want to change the maximum size at the scheduled time.
|
|
125
|
+
* The maximum size of the Auto Scaling group. Set to `-1` if you don't want to change the maximum size at the scheduled time. Defaults to `0`.
|
|
132
126
|
*/
|
|
133
127
|
maxSize?: pulumi.Input<number>;
|
|
134
128
|
/**
|
|
135
|
-
*
|
|
136
|
-
* Set to -1 if you don't want to change the minimum size at the scheduled time.
|
|
129
|
+
* The minimum size of the Auto Scaling group. Set to `-1` if you don't want to change the minimum size at the scheduled time. Defaults to `0`.
|
|
137
130
|
*/
|
|
138
131
|
minSize?: pulumi.Input<number>;
|
|
139
132
|
/**
|
|
140
|
-
*
|
|
133
|
+
* The recurring schedule for this action specified using the Unix cron syntax format.
|
|
141
134
|
*/
|
|
142
135
|
recurrence?: pulumi.Input<string>;
|
|
143
136
|
/**
|
|
144
|
-
*
|
|
137
|
+
* The name of this scaling action.
|
|
145
138
|
*/
|
|
146
139
|
scheduledActionName?: pulumi.Input<string>;
|
|
147
140
|
/**
|
|
148
|
-
*
|
|
149
|
-
* If you try to schedule your action in the past, Auto Scaling returns an error message.
|
|
141
|
+
* The date and time for the recurring schedule to start, in UTC with the format `"YYYY-MM-DDThh:mm:ssZ"` (e.g. `"2021-06-01T00:00:00Z"`).
|
|
150
142
|
*/
|
|
151
143
|
startTime?: pulumi.Input<string>;
|
|
152
144
|
/**
|
|
153
|
-
*
|
|
145
|
+
* Specifies the time zone for a cron expression. Valid values are the canonical names of the IANA time zones (such as `Etc/GMT+9` or `Pacific/Tahiti`).
|
|
154
146
|
*/
|
|
155
147
|
timeZone?: pulumi.Input<string>;
|
|
156
148
|
}
|
|
@@ -159,43 +151,39 @@ export interface ScheduleState {
|
|
|
159
151
|
*/
|
|
160
152
|
export interface ScheduleArgs {
|
|
161
153
|
/**
|
|
162
|
-
*
|
|
154
|
+
* The name of the Auto Scaling group.
|
|
163
155
|
*/
|
|
164
156
|
autoscalingGroupName: pulumi.Input<string>;
|
|
165
157
|
/**
|
|
166
|
-
*
|
|
158
|
+
* The initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain. Set to `-1` if you don't want to change the desired capacity at the scheduled time. Defaults to `0`.
|
|
167
159
|
*/
|
|
168
160
|
desiredCapacity?: pulumi.Input<number>;
|
|
169
161
|
/**
|
|
170
|
-
*
|
|
171
|
-
* If you try to schedule your action in the past, Auto Scaling returns an error message.
|
|
162
|
+
* The date and time for the recurring schedule to end, in UTC with the format `"YYYY-MM-DDThh:mm:ssZ"` (e.g. `"2021-06-01T00:00:00Z"`).
|
|
172
163
|
*/
|
|
173
164
|
endTime?: pulumi.Input<string>;
|
|
174
165
|
/**
|
|
175
|
-
*
|
|
176
|
-
* Set to -1 if you don't want to change the maximum size at the scheduled time.
|
|
166
|
+
* The maximum size of the Auto Scaling group. Set to `-1` if you don't want to change the maximum size at the scheduled time. Defaults to `0`.
|
|
177
167
|
*/
|
|
178
168
|
maxSize?: pulumi.Input<number>;
|
|
179
169
|
/**
|
|
180
|
-
*
|
|
181
|
-
* Set to -1 if you don't want to change the minimum size at the scheduled time.
|
|
170
|
+
* The minimum size of the Auto Scaling group. Set to `-1` if you don't want to change the minimum size at the scheduled time. Defaults to `0`.
|
|
182
171
|
*/
|
|
183
172
|
minSize?: pulumi.Input<number>;
|
|
184
173
|
/**
|
|
185
|
-
*
|
|
174
|
+
* The recurring schedule for this action specified using the Unix cron syntax format.
|
|
186
175
|
*/
|
|
187
176
|
recurrence?: pulumi.Input<string>;
|
|
188
177
|
/**
|
|
189
|
-
*
|
|
178
|
+
* The name of this scaling action.
|
|
190
179
|
*/
|
|
191
180
|
scheduledActionName: pulumi.Input<string>;
|
|
192
181
|
/**
|
|
193
|
-
*
|
|
194
|
-
* If you try to schedule your action in the past, Auto Scaling returns an error message.
|
|
182
|
+
* The date and time for the recurring schedule to start, in UTC with the format `"YYYY-MM-DDThh:mm:ssZ"` (e.g. `"2021-06-01T00:00:00Z"`).
|
|
195
183
|
*/
|
|
196
184
|
startTime?: pulumi.Input<string>;
|
|
197
185
|
/**
|
|
198
|
-
*
|
|
186
|
+
* Specifies the time zone for a cron expression. Valid values are the canonical names of the IANA time zones (such as `Etc/GMT+9` or `Pacific/Tahiti`).
|
|
199
187
|
*/
|
|
200
188
|
timeZone?: pulumi.Input<string>;
|
|
201
189
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../autoscaling/schedule.ts"],"names":[],"mappings":";AAA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