@pulumi/aws-native 0.82.1 → 0.83.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/amplify/branch.d.ts +2 -0
- package/amplify/branch.js +2 -0
- package/amplify/branch.js.map +1 -1
- package/amplify/getBranch.d.ts +1 -0
- package/amplify/getBranch.js.map +1 -1
- package/apigateway/apiKey.d.ts +19 -17
- package/apigateway/apiKey.js +1 -1
- package/apigateway/apiKey.js.map +1 -1
- package/apigateway/basePathMapping.d.ts +9 -9
- package/apigateway/basePathMapping.js +1 -1
- package/apigateway/clientCertificate.d.ts +5 -5
- package/apigateway/clientCertificate.js +1 -1
- package/apigateway/gatewayResponse.d.ts +31 -1
- package/apigateway/gatewayResponse.js +1 -1
- package/apigateway/gatewayResponse.js.map +1 -1
- package/apigateway/getApiKey.d.ts +7 -7
- package/apigateway/getApiKey.js +2 -2
- package/apigateway/getBasePathMapping.d.ts +8 -8
- package/apigateway/getBasePathMapping.js +2 -2
- package/apigateway/getClientCertificate.d.ts +4 -4
- package/apigateway/getClientCertificate.js +2 -2
- package/apigateway/getGatewayResponse.d.ts +20 -2
- package/apigateway/getGatewayResponse.js +2 -2
- package/apigateway/getGatewayResponse.js.map +1 -1
- package/apigateway/getRequestValidator.d.ts +6 -6
- package/apigateway/getRequestValidator.js +2 -2
- package/apigateway/getUsagePlan.d.ts +10 -8
- package/apigateway/getUsagePlan.js +4 -2
- package/apigateway/getUsagePlan.js.map +1 -1
- package/apigateway/requestValidator.d.ts +9 -9
- package/apigateway/requestValidator.js +1 -1
- package/apigateway/usagePlan.d.ts +14 -13
- package/apigateway/usagePlan.js +2 -1
- package/apigateway/usagePlan.js.map +1 -1
- package/appsync/getResolver.d.ts +41 -6
- package/appsync/getResolver.js +1 -1
- package/appsync/getResolver.js.map +1 -1
- package/appsync/resolver.d.ts +99 -3
- package/appsync/resolver.js +0 -5
- package/appsync/resolver.js.map +1 -1
- package/autoscaling/autoScalingGroup.d.ts +0 -2
- package/autoscaling/autoScalingGroup.js +0 -2
- package/autoscaling/autoScalingGroup.js.map +1 -1
- package/autoscaling/getAutoScalingGroup.d.ts +3 -3
- package/autoscaling/getAutoScalingGroup.js +1 -1
- package/autoscaling/getAutoScalingGroup.js.map +1 -1
- package/cognito/getUserPoolClient.d.ts +5 -3
- package/cognito/getUserPoolClient.js +2 -1
- package/cognito/getUserPoolClient.js.map +1 -1
- package/cognito/index.d.ts +0 -3
- package/cognito/index.js +1 -4
- package/cognito/index.js.map +1 -1
- package/cognito/userPoolClient.d.ts +1 -0
- package/cognito/userPoolClient.js +2 -0
- package/cognito/userPoolClient.js.map +1 -1
- package/cognito/userPoolUserToGroupAttachment.d.ts +0 -3
- package/cognito/userPoolUserToGroupAttachment.js +0 -5
- package/cognito/userPoolUserToGroupAttachment.js.map +1 -1
- package/connect/getPhoneNumber.d.ts +4 -0
- package/connect/getPhoneNumber.js.map +1 -1
- package/connect/phoneNumber.js +1 -1
- package/connect/phoneNumber.js.map +1 -1
- package/ec2/getIpam.d.ts +5 -0
- package/ec2/getIpam.js.map +1 -1
- package/ec2/getNetworkAclEntry.d.ts +18 -0
- package/ec2/getNetworkAclEntry.js.map +1 -1
- package/ec2/getVpcGatewayAttachment.d.ts +26 -4
- package/ec2/getVpcGatewayAttachment.js +2 -1
- package/ec2/getVpcGatewayAttachment.js.map +1 -1
- package/ec2/ipam.d.ts +9 -0
- package/ec2/ipam.js +2 -0
- package/ec2/ipam.js.map +1 -1
- package/ec2/networkAclEntry.d.ts +54 -0
- package/ec2/networkAclEntry.js.map +1 -1
- package/ec2/vpcGatewayAttachment.d.ts +22 -3
- package/ec2/vpcGatewayAttachment.js +4 -5
- package/ec2/vpcGatewayAttachment.js.map +1 -1
- package/entityresolution/getSchemaMapping.d.ts +9 -0
- package/entityresolution/getSchemaMapping.js.map +1 -1
- package/entityresolution/schemaMapping.d.ts +1 -0
- package/entityresolution/schemaMapping.js +3 -1
- package/entityresolution/schemaMapping.js.map +1 -1
- package/events/getRule.d.ts +37 -5
- package/events/getRule.js +1 -1
- package/events/getRule.js.map +1 -1
- package/events/rule.d.ts +58 -4
- package/events/rule.js +1 -1
- package/events/rule.js.map +1 -1
- package/iam/getUser.d.ts +32 -3
- package/iam/getUser.js +1 -1
- package/iam/getUser.js.map +1 -1
- package/iam/user.d.ts +51 -3
- package/iam/user.js +0 -5
- package/iam/user.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/s3/bucket.d.ts +114 -2
- package/s3/bucket.js.map +1 -1
- package/s3/getBucket.d.ts +62 -4
- package/s3/getBucket.js +1 -1
- package/s3/getBucket.js.map +1 -1
- package/types/enums/ec2/index.d.ts +8 -0
- package/types/enums/ec2/index.js +6 -2
- package/types/enums/ec2/index.js.map +1 -1
- package/types/enums/events/index.d.ts +8 -0
- package/types/enums/events/index.js +5 -1
- package/types/enums/events/index.js.map +1 -1
- package/types/enums/quicksight/index.d.ts +63 -0
- package/types/enums/quicksight/index.js +61 -7
- package/types/enums/quicksight/index.js.map +1 -1
- package/types/enums/s3/index.d.ts +209 -0
- package/types/enums/s3/index.js +137 -1
- package/types/enums/s3/index.js.map +1 -1
- package/types/input.d.ts +512 -45
- package/types/output.d.ts +512 -45
- package/cognito/getUserPoolUserToGroupAttachment.d.ts +0 -18
- package/cognito/getUserPoolUserToGroupAttachment.js +0 -25
- package/cognito/getUserPoolUserToGroupAttachment.js.map +0 -1
|
@@ -6,7 +6,7 @@ exports.getGatewayResponseOutput = exports.getGatewayResponse = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::GatewayResponse`` resource creates a gateway response for your API. For more information, see [API Gateway Responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html#api-gateway-gatewayResponse-definition) in the *API Gateway Developer Guide*.
|
|
10
10
|
*/
|
|
11
11
|
function getGatewayResponse(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -16,7 +16,7 @@ function getGatewayResponse(args, opts) {
|
|
|
16
16
|
}
|
|
17
17
|
exports.getGatewayResponse = getGatewayResponse;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The ``AWS::ApiGateway::GatewayResponse`` resource creates a gateway response for your API. For more information, see [API Gateway Responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html#api-gateway-gatewayResponse-definition) in the *API Gateway Developer Guide*.
|
|
20
20
|
*/
|
|
21
21
|
function getGatewayResponseOutput(args, opts) {
|
|
22
22
|
return pulumi.output(args).apply((a) => getGatewayResponse(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGatewayResponse.js","sourceRoot":"","sources":["../../apigateway/getGatewayResponse.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;
|
|
1
|
+
{"version":3,"file":"getGatewayResponse.js","sourceRoot":"","sources":["../../apigateway/getGatewayResponse.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AA2BD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGateway::RequestValidator`` resource sets up basic validation rules for incoming requests to your API. For more information, see [Enable Basic Request Validation for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) in the *API Gateway Developer Guide*.
|
|
4
4
|
*/
|
|
5
5
|
export declare function getRequestValidator(args: GetRequestValidatorArgs, opts?: pulumi.InvokeOptions): Promise<GetRequestValidatorResult>;
|
|
6
6
|
export interface GetRequestValidatorArgs {
|
|
@@ -9,7 +9,7 @@ export interface GetRequestValidatorArgs {
|
|
|
9
9
|
*/
|
|
10
10
|
requestValidatorId: string;
|
|
11
11
|
/**
|
|
12
|
-
* The identifier of the
|
|
12
|
+
* The string identifier of the associated RestApi.
|
|
13
13
|
*/
|
|
14
14
|
restApiId: string;
|
|
15
15
|
}
|
|
@@ -19,16 +19,16 @@ export interface GetRequestValidatorResult {
|
|
|
19
19
|
*/
|
|
20
20
|
readonly requestValidatorId?: string;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
|
|
23
23
|
*/
|
|
24
24
|
readonly validateRequestBody?: boolean;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* A Boolean flag to indicate whether to validate request parameters (``true``) or not (``false``).
|
|
27
27
|
*/
|
|
28
28
|
readonly validateRequestParameters?: boolean;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The ``AWS::ApiGateway::RequestValidator`` resource sets up basic validation rules for incoming requests to your API. For more information, see [Enable Basic Request Validation for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) in the *API Gateway Developer Guide*.
|
|
32
32
|
*/
|
|
33
33
|
export declare function getRequestValidatorOutput(args: GetRequestValidatorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRequestValidatorResult>;
|
|
34
34
|
export interface GetRequestValidatorOutputArgs {
|
|
@@ -37,7 +37,7 @@ export interface GetRequestValidatorOutputArgs {
|
|
|
37
37
|
*/
|
|
38
38
|
requestValidatorId: pulumi.Input<string>;
|
|
39
39
|
/**
|
|
40
|
-
* The identifier of the
|
|
40
|
+
* The string identifier of the associated RestApi.
|
|
41
41
|
*/
|
|
42
42
|
restApiId: pulumi.Input<string>;
|
|
43
43
|
}
|
|
@@ -6,7 +6,7 @@ exports.getRequestValidatorOutput = exports.getRequestValidator = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::RequestValidator`` resource sets up basic validation rules for incoming requests to your API. For more information, see [Enable Basic Request Validation for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) in the *API Gateway Developer Guide*.
|
|
10
10
|
*/
|
|
11
11
|
function getRequestValidator(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,7 +17,7 @@ function getRequestValidator(args, opts) {
|
|
|
17
17
|
}
|
|
18
18
|
exports.getRequestValidator = getRequestValidator;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The ``AWS::ApiGateway::RequestValidator`` resource sets up basic validation rules for incoming requests to your API. For more information, see [Enable Basic Request Validation for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) in the *API Gateway Developer Guide*.
|
|
21
21
|
*/
|
|
22
22
|
function getRequestValidatorOutput(args, opts) {
|
|
23
23
|
return pulumi.output(args).apply((a) => getRequestValidator(a, opts));
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "../types/output";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* The ``AWS::ApiGateway::UsagePlan`` resource creates a usage plan for deployed APIs. A usage plan sets a target for the throttling and quota limits on individual client API keys. For more information, see [Creating and Using API Usage Plans in Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) in the *API Gateway Developer Guide*.
|
|
5
|
+
* In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests.
|
|
5
6
|
*/
|
|
6
7
|
export declare function getUsagePlan(args: GetUsagePlanArgs, opts?: pulumi.InvokeOptions): Promise<GetUsagePlanResult>;
|
|
7
8
|
export interface GetUsagePlanArgs {
|
|
@@ -12,11 +13,11 @@ export interface GetUsagePlanArgs {
|
|
|
12
13
|
}
|
|
13
14
|
export interface GetUsagePlanResult {
|
|
14
15
|
/**
|
|
15
|
-
* The API stages
|
|
16
|
+
* The associated API stages of a usage plan.
|
|
16
17
|
*/
|
|
17
18
|
readonly apiStages?: outputs.apigateway.UsagePlanApiStage[];
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
+
* The description of a usage plan.
|
|
20
21
|
*/
|
|
21
22
|
readonly description?: string;
|
|
22
23
|
/**
|
|
@@ -24,24 +25,25 @@ export interface GetUsagePlanResult {
|
|
|
24
25
|
*/
|
|
25
26
|
readonly id?: string;
|
|
26
27
|
/**
|
|
27
|
-
*
|
|
28
|
+
* The target maximum number of permitted requests per a given unit time interval.
|
|
28
29
|
*/
|
|
29
30
|
readonly quota?: outputs.apigateway.UsagePlanQuotaSettings;
|
|
30
31
|
/**
|
|
31
|
-
*
|
|
32
|
+
* The collection of tags. Each tag element is associated with a given resource.
|
|
32
33
|
*/
|
|
33
34
|
readonly tags?: outputs.apigateway.UsagePlanTag[];
|
|
34
35
|
/**
|
|
35
|
-
*
|
|
36
|
+
* A map containing method level throttling information for API stage in a usage plan.
|
|
36
37
|
*/
|
|
37
38
|
readonly throttle?: outputs.apigateway.UsagePlanThrottleSettings;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
+
* The name of a usage plan.
|
|
40
41
|
*/
|
|
41
42
|
readonly usagePlanName?: string;
|
|
42
43
|
}
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
+
* The ``AWS::ApiGateway::UsagePlan`` resource creates a usage plan for deployed APIs. A usage plan sets a target for the throttling and quota limits on individual client API keys. For more information, see [Creating and Using API Usage Plans in Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) in the *API Gateway Developer Guide*.
|
|
46
|
+
* In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests.
|
|
45
47
|
*/
|
|
46
48
|
export declare function getUsagePlanOutput(args: GetUsagePlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUsagePlanResult>;
|
|
47
49
|
export interface GetUsagePlanOutputArgs {
|
|
@@ -6,7 +6,8 @@ exports.getUsagePlanOutput = exports.getUsagePlan = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::UsagePlan`` resource creates a usage plan for deployed APIs. A usage plan sets a target for the throttling and quota limits on individual client API keys. For more information, see [Creating and Using API Usage Plans in Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) in the *API Gateway Developer Guide*.
|
|
10
|
+
* In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests.
|
|
10
11
|
*/
|
|
11
12
|
function getUsagePlan(args, opts) {
|
|
12
13
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -16,7 +17,8 @@ function getUsagePlan(args, opts) {
|
|
|
16
17
|
}
|
|
17
18
|
exports.getUsagePlan = getUsagePlan;
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
+
* The ``AWS::ApiGateway::UsagePlan`` resource creates a usage plan for deployed APIs. A usage plan sets a target for the throttling and quota limits on individual client API keys. For more information, see [Creating and Using API Usage Plans in Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) in the *API Gateway Developer Guide*.
|
|
21
|
+
* In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests.
|
|
20
22
|
*/
|
|
21
23
|
function getUsagePlanOutput(args, opts) {
|
|
22
24
|
return pulumi.output(args).apply((a) => getUsagePlan(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUsagePlan.js","sourceRoot":"","sources":["../../apigateway/getUsagePlan.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getUsagePlan.js","sourceRoot":"","sources":["../../apigateway/getUsagePlan.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;GAGG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AAuCD;;;GAGG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGateway::RequestValidator`` resource sets up basic validation rules for incoming requests to your API. For more information, see [Enable Basic Request Validation for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) in the *API Gateway Developer Guide*.
|
|
4
4
|
*/
|
|
5
5
|
export declare class RequestValidator extends pulumi.CustomResource {
|
|
6
6
|
/**
|
|
@@ -18,7 +18,7 @@ export declare class RequestValidator extends pulumi.CustomResource {
|
|
|
18
18
|
*/
|
|
19
19
|
static isInstance(obj: any): obj is RequestValidator;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* The name of this RequestValidator
|
|
22
22
|
*/
|
|
23
23
|
readonly name: pulumi.Output<string | undefined>;
|
|
24
24
|
/**
|
|
@@ -26,15 +26,15 @@ export declare class RequestValidator extends pulumi.CustomResource {
|
|
|
26
26
|
*/
|
|
27
27
|
readonly requestValidatorId: pulumi.Output<string>;
|
|
28
28
|
/**
|
|
29
|
-
* The identifier of the
|
|
29
|
+
* The string identifier of the associated RestApi.
|
|
30
30
|
*/
|
|
31
31
|
readonly restApiId: pulumi.Output<string>;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
|
|
34
34
|
*/
|
|
35
35
|
readonly validateRequestBody: pulumi.Output<boolean | undefined>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* A Boolean flag to indicate whether to validate request parameters (``true``) or not (``false``).
|
|
38
38
|
*/
|
|
39
39
|
readonly validateRequestParameters: pulumi.Output<boolean | undefined>;
|
|
40
40
|
/**
|
|
@@ -51,19 +51,19 @@ export declare class RequestValidator extends pulumi.CustomResource {
|
|
|
51
51
|
*/
|
|
52
52
|
export interface RequestValidatorArgs {
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* The name of this RequestValidator
|
|
55
55
|
*/
|
|
56
56
|
name?: pulumi.Input<string>;
|
|
57
57
|
/**
|
|
58
|
-
* The identifier of the
|
|
58
|
+
* The string identifier of the associated RestApi.
|
|
59
59
|
*/
|
|
60
60
|
restApiId: pulumi.Input<string>;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
|
|
63
63
|
*/
|
|
64
64
|
validateRequestBody?: pulumi.Input<boolean>;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* A Boolean flag to indicate whether to validate request parameters (``true``) or not (``false``).
|
|
67
67
|
*/
|
|
68
68
|
validateRequestParameters?: pulumi.Input<boolean>;
|
|
69
69
|
}
|
|
@@ -6,7 +6,7 @@ exports.RequestValidator = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::RequestValidator`` resource sets up basic validation rules for incoming requests to your API. For more information, see [Enable Basic Request Validation for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) in the *API Gateway Developer Guide*.
|
|
10
10
|
*/
|
|
11
11
|
class RequestValidator extends pulumi.CustomResource {
|
|
12
12
|
/**
|
|
@@ -2,7 +2,8 @@ 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
|
-
*
|
|
5
|
+
* The ``AWS::ApiGateway::UsagePlan`` resource creates a usage plan for deployed APIs. A usage plan sets a target for the throttling and quota limits on individual client API keys. For more information, see [Creating and Using API Usage Plans in Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) in the *API Gateway Developer Guide*.
|
|
6
|
+
* In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests.
|
|
6
7
|
*/
|
|
7
8
|
export declare class UsagePlan extends pulumi.CustomResource {
|
|
8
9
|
/**
|
|
@@ -20,27 +21,27 @@ export declare class UsagePlan extends pulumi.CustomResource {
|
|
|
20
21
|
*/
|
|
21
22
|
static isInstance(obj: any): obj is UsagePlan;
|
|
22
23
|
/**
|
|
23
|
-
* The API stages
|
|
24
|
+
* The associated API stages of a usage plan.
|
|
24
25
|
*/
|
|
25
26
|
readonly apiStages: pulumi.Output<outputs.apigateway.UsagePlanApiStage[] | undefined>;
|
|
26
27
|
/**
|
|
27
|
-
*
|
|
28
|
+
* The description of a usage plan.
|
|
28
29
|
*/
|
|
29
30
|
readonly description: pulumi.Output<string | undefined>;
|
|
30
31
|
/**
|
|
31
|
-
*
|
|
32
|
+
* The target maximum number of permitted requests per a given unit time interval.
|
|
32
33
|
*/
|
|
33
34
|
readonly quota: pulumi.Output<outputs.apigateway.UsagePlanQuotaSettings | undefined>;
|
|
34
35
|
/**
|
|
35
|
-
*
|
|
36
|
+
* The collection of tags. Each tag element is associated with a given resource.
|
|
36
37
|
*/
|
|
37
38
|
readonly tags: pulumi.Output<outputs.apigateway.UsagePlanTag[] | undefined>;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
+
* A map containing method level throttling information for API stage in a usage plan.
|
|
40
41
|
*/
|
|
41
42
|
readonly throttle: pulumi.Output<outputs.apigateway.UsagePlanThrottleSettings | undefined>;
|
|
42
43
|
/**
|
|
43
|
-
*
|
|
44
|
+
* The name of a usage plan.
|
|
44
45
|
*/
|
|
45
46
|
readonly usagePlanName: pulumi.Output<string | undefined>;
|
|
46
47
|
/**
|
|
@@ -57,27 +58,27 @@ export declare class UsagePlan extends pulumi.CustomResource {
|
|
|
57
58
|
*/
|
|
58
59
|
export interface UsagePlanArgs {
|
|
59
60
|
/**
|
|
60
|
-
* The API stages
|
|
61
|
+
* The associated API stages of a usage plan.
|
|
61
62
|
*/
|
|
62
63
|
apiStages?: pulumi.Input<pulumi.Input<inputs.apigateway.UsagePlanApiStageArgs>[]>;
|
|
63
64
|
/**
|
|
64
|
-
*
|
|
65
|
+
* The description of a usage plan.
|
|
65
66
|
*/
|
|
66
67
|
description?: pulumi.Input<string>;
|
|
67
68
|
/**
|
|
68
|
-
*
|
|
69
|
+
* The target maximum number of permitted requests per a given unit time interval.
|
|
69
70
|
*/
|
|
70
71
|
quota?: pulumi.Input<inputs.apigateway.UsagePlanQuotaSettingsArgs>;
|
|
71
72
|
/**
|
|
72
|
-
*
|
|
73
|
+
* The collection of tags. Each tag element is associated with a given resource.
|
|
73
74
|
*/
|
|
74
75
|
tags?: pulumi.Input<pulumi.Input<inputs.apigateway.UsagePlanTagArgs>[]>;
|
|
75
76
|
/**
|
|
76
|
-
*
|
|
77
|
+
* A map containing method level throttling information for API stage in a usage plan.
|
|
77
78
|
*/
|
|
78
79
|
throttle?: pulumi.Input<inputs.apigateway.UsagePlanThrottleSettingsArgs>;
|
|
79
80
|
/**
|
|
80
|
-
*
|
|
81
|
+
* The name of a usage plan.
|
|
81
82
|
*/
|
|
82
83
|
usagePlanName?: pulumi.Input<string>;
|
|
83
84
|
}
|
package/apigateway/usagePlan.js
CHANGED
|
@@ -6,7 +6,8 @@ exports.UsagePlan = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::UsagePlan`` resource creates a usage plan for deployed APIs. A usage plan sets a target for the throttling and quota limits on individual client API keys. For more information, see [Creating and Using API Usage Plans in Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) in the *API Gateway Developer Guide*.
|
|
10
|
+
* In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests.
|
|
10
11
|
*/
|
|
11
12
|
class UsagePlan extends pulumi.CustomResource {
|
|
12
13
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usagePlan.js","sourceRoot":"","sources":["../../apigateway/usagePlan.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"usagePlan.js","sourceRoot":"","sources":["../../apigateway/usagePlan.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;GAGG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,SAAS,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IA2BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAmC;QAC/E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;aAAM;YACH,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA/EL,8BAgFC;AAnEG,gBAAgB;AACO,sBAAY,GAAG,iCAAiC,CAAC"}
|
package/appsync/getResolver.d.ts
CHANGED
|
@@ -5,23 +5,55 @@ import * as outputs from "../types/output";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare function getResolver(args: GetResolverArgs, opts?: pulumi.InvokeOptions): Promise<GetResolverResult>;
|
|
7
7
|
export interface GetResolverArgs {
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* The Amazon Resource Name (ARN) for the resolver.
|
|
10
|
+
*/
|
|
11
|
+
resolverArn: string;
|
|
9
12
|
}
|
|
10
13
|
export interface GetResolverResult {
|
|
14
|
+
/**
|
|
15
|
+
* The caching configuration for the resolver.
|
|
16
|
+
*/
|
|
11
17
|
readonly cachingConfig?: outputs.appsync.ResolverCachingConfig;
|
|
18
|
+
/**
|
|
19
|
+
* The resolver code that contains the request and response functions. When code is used, the runtime is required.
|
|
20
|
+
*/
|
|
12
21
|
readonly code?: string;
|
|
13
|
-
|
|
22
|
+
/**
|
|
23
|
+
* The resolver data source name.
|
|
24
|
+
*/
|
|
14
25
|
readonly dataSourceName?: string;
|
|
15
|
-
|
|
26
|
+
/**
|
|
27
|
+
* The resolver type.
|
|
28
|
+
*/
|
|
16
29
|
readonly kind?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
|
|
32
|
+
*/
|
|
17
33
|
readonly maxBatchSize?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Functions linked with the pipeline resolver.
|
|
36
|
+
*/
|
|
18
37
|
readonly pipelineConfig?: outputs.appsync.ResolverPipelineConfig;
|
|
38
|
+
/**
|
|
39
|
+
* Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
|
|
40
|
+
*/
|
|
19
41
|
readonly requestMappingTemplate?: string;
|
|
20
|
-
|
|
42
|
+
/**
|
|
43
|
+
* The Amazon Resource Name (ARN) for the resolver.
|
|
44
|
+
*/
|
|
21
45
|
readonly resolverArn?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The response mapping template.
|
|
48
|
+
*/
|
|
22
49
|
readonly responseMappingTemplate?: string;
|
|
23
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
|
|
52
|
+
*/
|
|
24
53
|
readonly runtime?: outputs.appsync.ResolverAppSyncRuntime;
|
|
54
|
+
/**
|
|
55
|
+
* The SyncConfig for a resolver attached to a versioned data source.
|
|
56
|
+
*/
|
|
25
57
|
readonly syncConfig?: outputs.appsync.ResolverSyncConfig;
|
|
26
58
|
}
|
|
27
59
|
/**
|
|
@@ -29,5 +61,8 @@ export interface GetResolverResult {
|
|
|
29
61
|
*/
|
|
30
62
|
export declare function getResolverOutput(args: GetResolverOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetResolverResult>;
|
|
31
63
|
export interface GetResolverOutputArgs {
|
|
32
|
-
|
|
64
|
+
/**
|
|
65
|
+
* The Amazon Resource Name (ARN) for the resolver.
|
|
66
|
+
*/
|
|
67
|
+
resolverArn: pulumi.Input<string>;
|
|
33
68
|
}
|
package/appsync/getResolver.js
CHANGED
|
@@ -11,7 +11,7 @@ const utilities = require("../utilities");
|
|
|
11
11
|
function getResolver(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
13
|
return pulumi.runtime.invoke("aws-native:appsync:getResolver", {
|
|
14
|
-
"
|
|
14
|
+
"resolverArn": args.resolverArn,
|
|
15
15
|
}, opts);
|
|
16
16
|
}
|
|
17
17
|
exports.getResolver = getResolver;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getResolver.js","sourceRoot":"","sources":["../../appsync/getResolver.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,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,
|
|
1
|
+
{"version":3,"file":"getResolver.js","sourceRoot":"","sources":["../../appsync/getResolver.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,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,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAuDD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/appsync/resolver.d.ts
CHANGED
|
@@ -3,8 +3,6 @@ import * as inputs from "../types/input";
|
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
5
|
* Resource Type definition for AWS::AppSync::Resolver
|
|
6
|
-
*
|
|
7
|
-
* @deprecated Resolver is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
8
6
|
*/
|
|
9
7
|
export declare class Resolver extends pulumi.CustomResource {
|
|
10
8
|
/**
|
|
@@ -21,22 +19,73 @@ export declare class Resolver extends pulumi.CustomResource {
|
|
|
21
19
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
22
20
|
*/
|
|
23
21
|
static isInstance(obj: any): obj is Resolver;
|
|
22
|
+
/**
|
|
23
|
+
* The AWS AppSync GraphQL API to which you want to attach this resolver.
|
|
24
|
+
*/
|
|
24
25
|
readonly apiId: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The caching configuration for the resolver.
|
|
28
|
+
*/
|
|
25
29
|
readonly cachingConfig: pulumi.Output<outputs.appsync.ResolverCachingConfig | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* The resolver code that contains the request and response functions. When code is used, the runtime is required.
|
|
32
|
+
*/
|
|
26
33
|
readonly code: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The Amazon S3 endpoint.
|
|
36
|
+
*/
|
|
27
37
|
readonly codeS3Location: pulumi.Output<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* The resolver data source name.
|
|
40
|
+
*/
|
|
28
41
|
readonly dataSourceName: pulumi.Output<string | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* The GraphQL field on a type that invokes the resolver.
|
|
44
|
+
*/
|
|
29
45
|
readonly fieldName: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The resolver type.
|
|
48
|
+
*/
|
|
30
49
|
readonly kind: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
|
|
52
|
+
*/
|
|
31
53
|
readonly maxBatchSize: pulumi.Output<number | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Functions linked with the pipeline resolver.
|
|
56
|
+
*/
|
|
32
57
|
readonly pipelineConfig: pulumi.Output<outputs.appsync.ResolverPipelineConfig | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
|
|
60
|
+
*/
|
|
33
61
|
readonly requestMappingTemplate: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* The location of a request mapping template in an Amazon S3 bucket. Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.
|
|
64
|
+
*/
|
|
34
65
|
readonly requestMappingTemplateS3Location: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* The Amazon Resource Name (ARN) for the resolver.
|
|
68
|
+
*/
|
|
35
69
|
readonly resolverArn: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The response mapping template.
|
|
72
|
+
*/
|
|
36
73
|
readonly responseMappingTemplate: pulumi.Output<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The location of a response mapping template in an Amazon S3 bucket. Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.
|
|
76
|
+
*/
|
|
37
77
|
readonly responseMappingTemplateS3Location: pulumi.Output<string | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
|
|
80
|
+
*/
|
|
38
81
|
readonly runtime: pulumi.Output<outputs.appsync.ResolverAppSyncRuntime | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* The SyncConfig for a resolver attached to a versioned data source.
|
|
84
|
+
*/
|
|
39
85
|
readonly syncConfig: pulumi.Output<outputs.appsync.ResolverSyncConfig | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The GraphQL type that invokes this resolver.
|
|
88
|
+
*/
|
|
40
89
|
readonly typeName: pulumi.Output<string>;
|
|
41
90
|
/**
|
|
42
91
|
* Create a Resolver resource with the given unique name, arguments, and options.
|
|
@@ -45,27 +94,74 @@ export declare class Resolver extends pulumi.CustomResource {
|
|
|
45
94
|
* @param args The arguments to use to populate this resource's properties.
|
|
46
95
|
* @param opts A bag of options that control this resource's behavior.
|
|
47
96
|
*/
|
|
48
|
-
/** @deprecated Resolver is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
49
97
|
constructor(name: string, args: ResolverArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
98
|
}
|
|
51
99
|
/**
|
|
52
100
|
* The set of arguments for constructing a Resolver resource.
|
|
53
101
|
*/
|
|
54
102
|
export interface ResolverArgs {
|
|
103
|
+
/**
|
|
104
|
+
* The AWS AppSync GraphQL API to which you want to attach this resolver.
|
|
105
|
+
*/
|
|
55
106
|
apiId: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The caching configuration for the resolver.
|
|
109
|
+
*/
|
|
56
110
|
cachingConfig?: pulumi.Input<inputs.appsync.ResolverCachingConfigArgs>;
|
|
111
|
+
/**
|
|
112
|
+
* The resolver code that contains the request and response functions. When code is used, the runtime is required.
|
|
113
|
+
*/
|
|
57
114
|
code?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The Amazon S3 endpoint.
|
|
117
|
+
*/
|
|
58
118
|
codeS3Location?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The resolver data source name.
|
|
121
|
+
*/
|
|
59
122
|
dataSourceName?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The GraphQL field on a type that invokes the resolver.
|
|
125
|
+
*/
|
|
60
126
|
fieldName: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The resolver type.
|
|
129
|
+
*/
|
|
61
130
|
kind?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
|
|
133
|
+
*/
|
|
62
134
|
maxBatchSize?: pulumi.Input<number>;
|
|
135
|
+
/**
|
|
136
|
+
* Functions linked with the pipeline resolver.
|
|
137
|
+
*/
|
|
63
138
|
pipelineConfig?: pulumi.Input<inputs.appsync.ResolverPipelineConfigArgs>;
|
|
139
|
+
/**
|
|
140
|
+
* Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
|
|
141
|
+
*/
|
|
64
142
|
requestMappingTemplate?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The location of a request mapping template in an Amazon S3 bucket. Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.
|
|
145
|
+
*/
|
|
65
146
|
requestMappingTemplateS3Location?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The response mapping template.
|
|
149
|
+
*/
|
|
66
150
|
responseMappingTemplate?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The location of a response mapping template in an Amazon S3 bucket. Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.
|
|
153
|
+
*/
|
|
67
154
|
responseMappingTemplateS3Location?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
|
|
157
|
+
*/
|
|
68
158
|
runtime?: pulumi.Input<inputs.appsync.ResolverAppSyncRuntimeArgs>;
|
|
159
|
+
/**
|
|
160
|
+
* The SyncConfig for a resolver attached to a versioned data source.
|
|
161
|
+
*/
|
|
69
162
|
syncConfig?: pulumi.Input<inputs.appsync.ResolverSyncConfigArgs>;
|
|
163
|
+
/**
|
|
164
|
+
* The GraphQL type that invokes this resolver.
|
|
165
|
+
*/
|
|
70
166
|
typeName: pulumi.Input<string>;
|
|
71
167
|
}
|
package/appsync/resolver.js
CHANGED
|
@@ -7,8 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Resource Type definition for AWS::AppSync::Resolver
|
|
10
|
-
*
|
|
11
|
-
* @deprecated Resolver is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
12
10
|
*/
|
|
13
11
|
class Resolver extends pulumi.CustomResource {
|
|
14
12
|
/**
|
|
@@ -20,7 +18,6 @@ class Resolver extends pulumi.CustomResource {
|
|
|
20
18
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
19
|
*/
|
|
22
20
|
static get(name, id, opts) {
|
|
23
|
-
pulumi.log.warn("Resolver is deprecated: Resolver is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
24
21
|
return new Resolver(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
25
22
|
}
|
|
26
23
|
/**
|
|
@@ -40,9 +37,7 @@ class Resolver extends pulumi.CustomResource {
|
|
|
40
37
|
* @param args The arguments to use to populate this resource's properties.
|
|
41
38
|
* @param opts A bag of options that control this resource's behavior.
|
|
42
39
|
*/
|
|
43
|
-
/** @deprecated Resolver is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
44
40
|
constructor(name, args, opts) {
|
|
45
|
-
pulumi.log.warn("Resolver is deprecated: Resolver is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
46
41
|
let resourceInputs = {};
|
|
47
42
|
opts = opts || {};
|
|
48
43
|
if (!opts.id) {
|