@pulumi/aws-native 0.81.0 → 0.81.1-alpha.1698259876
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/apigateway/account.d.ts +3 -3
- package/apigateway/account.js +1 -1
- package/apigateway/authorizer.d.ts +17 -17
- package/apigateway/authorizer.js +1 -1
- package/apigateway/deployment.d.ts +11 -11
- package/apigateway/deployment.js +1 -1
- package/apigateway/documentationPart.d.ts +7 -7
- package/apigateway/documentationPart.js +1 -1
- package/apigateway/documentationVersion.d.ts +7 -7
- package/apigateway/documentationVersion.js +1 -1
- package/apigateway/getAccount.d.ts +3 -3
- package/apigateway/getAccount.js +2 -2
- package/apigateway/getAuthorizer.d.ts +11 -11
- package/apigateway/getAuthorizer.js +2 -2
- package/apigateway/getDeployment.d.ts +5 -5
- package/apigateway/getDeployment.js +2 -2
- package/apigateway/getDocumentationPart.d.ts +5 -5
- package/apigateway/getDocumentationPart.js +2 -2
- package/apigateway/getDocumentationVersion.d.ts +7 -7
- package/apigateway/getDocumentationVersion.js +2 -2
- package/apigateway/getMethod.d.ts +19 -18
- package/apigateway/getMethod.js +2 -2
- package/apigateway/getMethod.js.map +1 -1
- package/apigateway/getModel.d.ts +10 -8
- package/apigateway/getModel.js +2 -2
- package/apigateway/getModel.js.map +1 -1
- package/apigateway/getResource.d.ts +4 -4
- package/apigateway/getResource.js +2 -2
- package/apigateway/getRestApi.d.ts +31 -2
- package/apigateway/getRestApi.js +4 -2
- package/apigateway/getRestApi.js.map +1 -1
- package/apigateway/getStage.d.ts +18 -18
- package/apigateway/getStage.js +2 -2
- package/apigateway/getUsagePlanKey.d.ts +2 -2
- package/apigateway/getUsagePlanKey.js +2 -2
- package/apigateway/method.d.ts +29 -27
- package/apigateway/method.js +1 -1
- package/apigateway/method.js.map +1 -1
- package/apigateway/model.d.ts +13 -11
- package/apigateway/model.js +1 -1
- package/apigateway/model.js.map +1 -1
- package/apigateway/resource.d.ts +3 -3
- package/apigateway/resource.js +1 -1
- package/apigateway/restApi.d.ts +102 -1
- package/apigateway/restApi.js +2 -1
- package/apigateway/restApi.js.map +1 -1
- package/apigateway/stage.d.ts +29 -29
- package/apigateway/stage.js +1 -1
- package/apigateway/usagePlanKey.d.ts +7 -7
- package/apigateway/usagePlanKey.js +1 -1
- package/appconfig/application.d.ts +22 -3
- package/appconfig/application.js +2 -5
- package/appconfig/application.js.map +1 -1
- package/appconfig/configurationProfile.d.ts +2 -0
- package/appconfig/configurationProfile.js +2 -0
- package/appconfig/configurationProfile.js.map +1 -1
- package/appconfig/getApplication.d.ts +21 -3
- package/appconfig/getApplication.js +1 -1
- package/appconfig/getApplication.js.map +1 -1
- package/appconfig/getConfigurationProfile.d.ts +1 -0
- package/appconfig/getConfigurationProfile.js.map +1 -1
- package/appsync/functionConfiguration.d.ts +91 -4
- package/appsync/functionConfiguration.js +1 -6
- package/appsync/functionConfiguration.js.map +1 -1
- package/appsync/getFunctionConfiguration.d.ts +46 -8
- package/appsync/getFunctionConfiguration.js +3 -3
- package/appsync/getFunctionConfiguration.js.map +1 -1
- package/cognito/getIdentityPool.d.ts +3 -4
- package/cognito/getIdentityPool.js.map +1 -1
- package/cognito/getUserPool.d.ts +3 -4
- package/cognito/getUserPool.js +1 -1
- package/cognito/getUserPool.js.map +1 -1
- package/cognito/getUserPoolGroup.d.ts +4 -3
- package/cognito/getUserPoolGroup.js +2 -1
- package/cognito/getUserPoolGroup.js.map +1 -1
- package/cognito/identityPool.d.ts +0 -8
- package/cognito/identityPool.js +0 -2
- package/cognito/identityPool.js.map +1 -1
- package/cognito/userPool.d.ts +1 -3
- package/cognito/userPool.js +2 -5
- package/cognito/userPool.js.map +1 -1
- package/cognito/userPoolClient.d.ts +0 -3
- package/cognito/userPoolClient.js +0 -5
- package/cognito/userPoolClient.js.map +1 -1
- package/cognito/userPoolGroup.d.ts +0 -3
- package/cognito/userPoolGroup.js +0 -5
- package/cognito/userPoolGroup.js.map +1 -1
- package/connect/contactFlowModule.d.ts +3 -4
- package/connect/getContactFlowModule.d.ts +2 -3
- package/customerprofiles/domain.d.ts +5 -0
- package/customerprofiles/domain.js +6 -0
- package/customerprofiles/domain.js.map +1 -1
- package/customerprofiles/getDomain.d.ts +3 -0
- package/customerprofiles/getDomain.js.map +1 -1
- package/ec2/getSubnet.d.ts +8 -0
- package/ec2/getSubnet.js.map +1 -1
- package/ec2/subnet.d.ts +16 -0
- package/ec2/subnet.js +4 -0
- package/ec2/subnet.js.map +1 -1
- package/entityresolution/getIdMappingWorkflow.d.ts +36 -0
- package/entityresolution/getIdMappingWorkflow.js +25 -0
- package/entityresolution/getIdMappingWorkflow.js.map +1 -0
- package/entityresolution/idMappingWorkflow.d.ts +64 -0
- package/entityresolution/idMappingWorkflow.js +91 -0
- package/entityresolution/idMappingWorkflow.js.map +1 -0
- package/entityresolution/index.d.ts +6 -0
- package/entityresolution/index.js +8 -1
- package/entityresolution/index.js.map +1 -1
- package/events/getRule.d.ts +5 -37
- package/events/getRule.js +1 -1
- package/events/getRule.js.map +1 -1
- package/events/rule.d.ts +4 -58
- package/events/rule.js +1 -1
- package/events/rule.js.map +1 -1
- package/gamelift/fleet.d.ts +8 -0
- package/gamelift/fleet.js +3 -1
- package/gamelift/fleet.js.map +1 -1
- package/iam/getGroup.d.ts +20 -3
- package/iam/getGroup.js +1 -1
- package/iam/getGroup.js.map +1 -1
- package/iam/group.d.ts +27 -3
- package/iam/group.js +0 -5
- package/iam/group.js.map +1 -1
- package/iot/getJobTemplate.d.ts +0 -4
- package/iot/getJobTemplate.js.map +1 -1
- package/iot/getPolicy.d.ts +2 -0
- package/iot/getPolicy.js.map +1 -1
- package/iot/jobTemplate.js +1 -1
- package/iot/jobTemplate.js.map +1 -1
- package/iot/policy.d.ts +4 -0
- package/iot/policy.js +2 -0
- package/iot/policy.js.map +1 -1
- package/lambda/function.d.ts +8 -0
- package/lambda/function.js +2 -0
- package/lambda/function.js.map +1 -1
- package/msk/getReplicator.d.ts +40 -0
- package/msk/getReplicator.js +25 -0
- package/msk/getReplicator.js.map +1 -0
- package/msk/index.d.ts +6 -0
- package/msk/index.js +8 -1
- package/msk/index.js.map +1 -1
- package/msk/replicator.d.ts +95 -0
- package/msk/replicator.js +81 -0
- package/msk/replicator.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/quicksight/analysis.d.ts +2 -0
- package/quicksight/analysis.js +2 -0
- package/quicksight/analysis.js.map +1 -1
- package/quicksight/dashboard.d.ts +2 -0
- package/quicksight/dashboard.js +2 -0
- package/quicksight/dashboard.js.map +1 -1
- package/quicksight/template.d.ts +2 -0
- package/quicksight/template.js +2 -0
- package/quicksight/template.js.map +1 -1
- package/s3/bucket.d.ts +2 -114
- package/s3/bucket.js.map +1 -1
- package/s3/getBucket.d.ts +4 -62
- package/s3/getBucket.js +1 -1
- package/s3/getBucket.js.map +1 -1
- package/servicecatalogappregistry/getAttributeGroupAssociation.d.ts +4 -3
- package/servicecatalogappregistry/getAttributeGroupAssociation.js +2 -1
- package/servicecatalogappregistry/getAttributeGroupAssociation.js.map +1 -1
- package/servicecatalogappregistry/getResourceAssociation.d.ts +13 -3
- package/servicecatalogappregistry/getResourceAssociation.js +3 -1
- package/servicecatalogappregistry/getResourceAssociation.js.map +1 -1
- package/sns/getTopic.d.ts +4 -0
- package/sns/getTopic.js.map +1 -1
- package/sns/topic.d.ts +8 -0
- package/sns/topic.js +2 -0
- package/sns/topic.js.map +1 -1
- package/sqs/getQueuePolicy.d.ts +4 -4
- package/sqs/getQueuePolicy.js +2 -2
- package/sqs/queuePolicy.d.ts +5 -5
- package/sqs/queuePolicy.js +1 -1
- package/types/enums/apigateway/index.d.ts +12 -8
- package/types/enums/apigateway/index.js.map +1 -1
- package/types/enums/connect/index.d.ts +0 -16
- package/types/enums/connect/index.js +1 -9
- package/types/enums/connect/index.js.map +1 -1
- package/types/enums/customerprofiles/index.d.ts +35 -0
- package/types/enums/customerprofiles/index.js +23 -1
- package/types/enums/customerprofiles/index.js.map +1 -1
- package/types/enums/entityresolution/index.d.ts +4 -0
- package/types/enums/entityresolution/index.js +4 -1
- package/types/enums/entityresolution/index.js.map +1 -1
- package/types/enums/events/index.d.ts +0 -8
- package/types/enums/events/index.js +1 -5
- package/types/enums/events/index.js.map +1 -1
- package/types/enums/gamelift/index.d.ts +7 -0
- package/types/enums/gamelift/index.js +4 -1
- package/types/enums/gamelift/index.js.map +1 -1
- package/types/enums/msk/index.d.ts +11 -0
- package/types/enums/msk/index.js +8 -1
- package/types/enums/msk/index.js.map +1 -1
- package/types/enums/quicksight/index.d.ts +15 -0
- package/types/enums/quicksight/index.js +18 -6
- package/types/enums/quicksight/index.js.map +1 -1
- package/types/enums/s3/index.d.ts +0 -209
- package/types/enums/s3/index.js +1 -137
- package/types/enums/s3/index.js.map +1 -1
- package/types/input.d.ts +529 -466
- package/types/output.d.ts +550 -466
package/apigateway/account.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGateway::Account`` resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account.
|
|
4
4
|
*/
|
|
5
5
|
export declare class Account extends pulumi.CustomResource {
|
|
6
6
|
/**
|
|
@@ -18,7 +18,7 @@ export declare class Account extends pulumi.CustomResource {
|
|
|
18
18
|
*/
|
|
19
19
|
static isInstance(obj: any): obj is Account;
|
|
20
20
|
/**
|
|
21
|
-
* The
|
|
21
|
+
* The ARN of an Amazon CloudWatch role for the current Account.
|
|
22
22
|
*/
|
|
23
23
|
readonly cloudWatchRoleArn: pulumi.Output<string | undefined>;
|
|
24
24
|
/**
|
|
@@ -35,7 +35,7 @@ export declare class Account extends pulumi.CustomResource {
|
|
|
35
35
|
*/
|
|
36
36
|
export interface AccountArgs {
|
|
37
37
|
/**
|
|
38
|
-
* The
|
|
38
|
+
* The ARN of an Amazon CloudWatch role for the current Account.
|
|
39
39
|
*/
|
|
40
40
|
cloudWatchRoleArn?: pulumi.Input<string>;
|
|
41
41
|
}
|
package/apigateway/account.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Account = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::Account`` resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account.
|
|
10
10
|
*/
|
|
11
11
|
class Account extends pulumi.CustomResource {
|
|
12
12
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGateway::Authorizer`` resource creates an authorization layer that API Gateway activates for methods that have authorization enabled. API Gateway activates the authorizer when a client calls those methods.
|
|
4
4
|
*/
|
|
5
5
|
export declare class Authorizer extends pulumi.CustomResource {
|
|
6
6
|
/**
|
|
@@ -22,24 +22,24 @@ export declare class Authorizer extends pulumi.CustomResource {
|
|
|
22
22
|
*/
|
|
23
23
|
readonly authType: pulumi.Output<string | undefined>;
|
|
24
24
|
/**
|
|
25
|
-
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer.
|
|
25
|
+
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.
|
|
26
26
|
*/
|
|
27
27
|
readonly authorizerCredentials: pulumi.Output<string | undefined>;
|
|
28
28
|
readonly authorizerId: pulumi.Output<string>;
|
|
29
29
|
/**
|
|
30
|
-
* The TTL in seconds of cached authorizer results.
|
|
30
|
+
* The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.
|
|
31
31
|
*/
|
|
32
32
|
readonly authorizerResultTtlInSeconds: pulumi.Output<number | undefined>;
|
|
33
33
|
/**
|
|
34
|
-
* Specifies the authorizer's Uniform Resource Identifier (URI).
|
|
34
|
+
* Specifies the authorizer's Uniform Resource Identifier (URI). For ``TOKEN`` or ``REQUEST`` authorizers, this must be a well-formed Lambda function URI, for example, ``arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations``. In general, the URI has this form ``arn:aws:apigateway:{region}:lambda:path/{service_api}``, where ``{region}`` is the same as the region hosting the Lambda function, ``path`` indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial ``/``. For Lambda functions, this is usually of the form ``/2015-03-31/functions/[FunctionARN]/invocations``.
|
|
35
35
|
*/
|
|
36
36
|
readonly authorizerUri: pulumi.Output<string | undefined>;
|
|
37
37
|
/**
|
|
38
|
-
* The identity source for which authorization is requested.
|
|
38
|
+
* The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.
|
|
39
39
|
*/
|
|
40
40
|
readonly identitySource: pulumi.Output<string | undefined>;
|
|
41
41
|
/**
|
|
42
|
-
* A validation expression for the incoming identity token.
|
|
42
|
+
* A validation expression for the incoming identity token. For ``TOKEN`` authorizers, this value is a regular expression. For ``COGNITO_USER_POOLS`` authorizers, API Gateway will match the ``aud`` field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the ``REQUEST`` authorizer.
|
|
43
43
|
*/
|
|
44
44
|
readonly identityValidationExpression: pulumi.Output<string | undefined>;
|
|
45
45
|
/**
|
|
@@ -47,15 +47,15 @@ export declare class Authorizer extends pulumi.CustomResource {
|
|
|
47
47
|
*/
|
|
48
48
|
readonly name: pulumi.Output<string>;
|
|
49
49
|
/**
|
|
50
|
-
* A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer.
|
|
50
|
+
* A list of the Amazon Cognito user pool ARNs for the ``COGNITO_USER_POOLS`` authorizer. Each element is of this format: ``arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}``. For a ``TOKEN`` or ``REQUEST`` authorizer, this is not defined.
|
|
51
51
|
*/
|
|
52
52
|
readonly providerArns: pulumi.Output<string[] | undefined>;
|
|
53
53
|
/**
|
|
54
|
-
* The identifier of the
|
|
54
|
+
* The string identifier of the associated RestApi.
|
|
55
55
|
*/
|
|
56
56
|
readonly restApiId: pulumi.Output<string>;
|
|
57
57
|
/**
|
|
58
|
-
* The authorizer type.
|
|
58
|
+
* The authorizer type. Valid values are ``TOKEN`` for a Lambda function using a single authorization token submitted in a custom header, ``REQUEST`` for a Lambda function using incoming request parameters, and ``COGNITO_USER_POOLS`` for using an Amazon Cognito user pool.
|
|
59
59
|
*/
|
|
60
60
|
readonly type: pulumi.Output<string>;
|
|
61
61
|
/**
|
|
@@ -76,23 +76,23 @@ export interface AuthorizerArgs {
|
|
|
76
76
|
*/
|
|
77
77
|
authType?: pulumi.Input<string>;
|
|
78
78
|
/**
|
|
79
|
-
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer.
|
|
79
|
+
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.
|
|
80
80
|
*/
|
|
81
81
|
authorizerCredentials?: pulumi.Input<string>;
|
|
82
82
|
/**
|
|
83
|
-
* The TTL in seconds of cached authorizer results.
|
|
83
|
+
* The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.
|
|
84
84
|
*/
|
|
85
85
|
authorizerResultTtlInSeconds?: pulumi.Input<number>;
|
|
86
86
|
/**
|
|
87
|
-
* Specifies the authorizer's Uniform Resource Identifier (URI).
|
|
87
|
+
* Specifies the authorizer's Uniform Resource Identifier (URI). For ``TOKEN`` or ``REQUEST`` authorizers, this must be a well-formed Lambda function URI, for example, ``arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations``. In general, the URI has this form ``arn:aws:apigateway:{region}:lambda:path/{service_api}``, where ``{region}`` is the same as the region hosting the Lambda function, ``path`` indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial ``/``. For Lambda functions, this is usually of the form ``/2015-03-31/functions/[FunctionARN]/invocations``.
|
|
88
88
|
*/
|
|
89
89
|
authorizerUri?: pulumi.Input<string>;
|
|
90
90
|
/**
|
|
91
|
-
* The identity source for which authorization is requested.
|
|
91
|
+
* The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.
|
|
92
92
|
*/
|
|
93
93
|
identitySource?: pulumi.Input<string>;
|
|
94
94
|
/**
|
|
95
|
-
* A validation expression for the incoming identity token.
|
|
95
|
+
* A validation expression for the incoming identity token. For ``TOKEN`` authorizers, this value is a regular expression. For ``COGNITO_USER_POOLS`` authorizers, API Gateway will match the ``aud`` field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the ``REQUEST`` authorizer.
|
|
96
96
|
*/
|
|
97
97
|
identityValidationExpression?: pulumi.Input<string>;
|
|
98
98
|
/**
|
|
@@ -100,15 +100,15 @@ export interface AuthorizerArgs {
|
|
|
100
100
|
*/
|
|
101
101
|
name?: pulumi.Input<string>;
|
|
102
102
|
/**
|
|
103
|
-
* A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer.
|
|
103
|
+
* A list of the Amazon Cognito user pool ARNs for the ``COGNITO_USER_POOLS`` authorizer. Each element is of this format: ``arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}``. For a ``TOKEN`` or ``REQUEST`` authorizer, this is not defined.
|
|
104
104
|
*/
|
|
105
105
|
providerArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
106
|
/**
|
|
107
|
-
* The identifier of the
|
|
107
|
+
* The string identifier of the associated RestApi.
|
|
108
108
|
*/
|
|
109
109
|
restApiId: pulumi.Input<string>;
|
|
110
110
|
/**
|
|
111
|
-
* The authorizer type.
|
|
111
|
+
* The authorizer type. Valid values are ``TOKEN`` for a Lambda function using a single authorization token submitted in a custom header, ``REQUEST`` for a Lambda function using incoming request parameters, and ``COGNITO_USER_POOLS`` for using an Amazon Cognito user pool.
|
|
112
112
|
*/
|
|
113
113
|
type: pulumi.Input<string>;
|
|
114
114
|
}
|
package/apigateway/authorizer.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Authorizer = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::Authorizer`` resource creates an authorization layer that API Gateway activates for methods that have authorization enabled. API Gateway activates the authorizer when a client calls those methods.
|
|
10
10
|
*/
|
|
11
11
|
class Authorizer extends pulumi.CustomResource {
|
|
12
12
|
/**
|
|
@@ -2,7 +2,7 @@ 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::Deployment`` resource deploys an API Gateway ``RestApi`` resource to a stage so that clients can call the API over the internet. The stage acts as an environment.
|
|
6
6
|
*/
|
|
7
7
|
export declare class Deployment extends pulumi.CustomResource {
|
|
8
8
|
/**
|
|
@@ -20,7 +20,7 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
20
20
|
*/
|
|
21
21
|
static isInstance(obj: any): obj is Deployment;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The input configuration for a canary deployment.
|
|
24
24
|
*/
|
|
25
25
|
readonly deploymentCanarySettings: pulumi.Output<outputs.apigateway.DeploymentCanarySettings | undefined>;
|
|
26
26
|
/**
|
|
@@ -28,19 +28,19 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
28
28
|
*/
|
|
29
29
|
readonly deploymentId: pulumi.Output<string>;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The description for the Deployment resource to create.
|
|
32
32
|
*/
|
|
33
33
|
readonly description: pulumi.Output<string | undefined>;
|
|
34
34
|
/**
|
|
35
|
-
* The
|
|
35
|
+
* The string identifier of the associated RestApi.
|
|
36
36
|
*/
|
|
37
37
|
readonly restApiId: pulumi.Output<string>;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.
|
|
40
40
|
*/
|
|
41
41
|
readonly stageDescription: pulumi.Output<outputs.apigateway.DeploymentStageDescription | undefined>;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* The name of the Stage resource for the Deployment resource to create.
|
|
44
44
|
*/
|
|
45
45
|
readonly stageName: pulumi.Output<string | undefined>;
|
|
46
46
|
/**
|
|
@@ -57,23 +57,23 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
57
57
|
*/
|
|
58
58
|
export interface DeploymentArgs {
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* The input configuration for a canary deployment.
|
|
61
61
|
*/
|
|
62
62
|
deploymentCanarySettings?: pulumi.Input<inputs.apigateway.DeploymentCanarySettingsArgs>;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* The description for the Deployment resource to create.
|
|
65
65
|
*/
|
|
66
66
|
description?: pulumi.Input<string>;
|
|
67
67
|
/**
|
|
68
|
-
* The
|
|
68
|
+
* The string identifier of the associated RestApi.
|
|
69
69
|
*/
|
|
70
70
|
restApiId: pulumi.Input<string>;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.
|
|
73
73
|
*/
|
|
74
74
|
stageDescription?: pulumi.Input<inputs.apigateway.DeploymentStageDescriptionArgs>;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* The name of the Stage resource for the Deployment resource to create.
|
|
77
77
|
*/
|
|
78
78
|
stageName?: pulumi.Input<string>;
|
|
79
79
|
}
|
package/apigateway/deployment.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Deployment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::Deployment`` resource deploys an API Gateway ``RestApi`` resource to a stage so that clients can call the API over the internet. The stage acts as an environment.
|
|
10
10
|
*/
|
|
11
11
|
class Deployment extends pulumi.CustomResource {
|
|
12
12
|
/**
|
|
@@ -2,7 +2,7 @@ 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::DocumentationPart`` resource creates a documentation part for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*.
|
|
6
6
|
*/
|
|
7
7
|
export declare class DocumentationPart extends pulumi.CustomResource {
|
|
8
8
|
/**
|
|
@@ -24,15 +24,15 @@ export declare class DocumentationPart extends pulumi.CustomResource {
|
|
|
24
24
|
*/
|
|
25
25
|
readonly documentationPartId: pulumi.Output<string>;
|
|
26
26
|
/**
|
|
27
|
-
* The location of the API entity
|
|
27
|
+
* The location of the targeted API entity of the to-be-created documentation part.
|
|
28
28
|
*/
|
|
29
29
|
readonly location: pulumi.Output<outputs.apigateway.DocumentationPartLocation>;
|
|
30
30
|
/**
|
|
31
|
-
* The documentation content map of the targeted API entity.
|
|
31
|
+
* The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
|
|
32
32
|
*/
|
|
33
33
|
readonly properties: pulumi.Output<string>;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* The string identifier of the associated RestApi.
|
|
36
36
|
*/
|
|
37
37
|
readonly restApiId: pulumi.Output<string>;
|
|
38
38
|
/**
|
|
@@ -49,15 +49,15 @@ export declare class DocumentationPart extends pulumi.CustomResource {
|
|
|
49
49
|
*/
|
|
50
50
|
export interface DocumentationPartArgs {
|
|
51
51
|
/**
|
|
52
|
-
* The location of the API entity
|
|
52
|
+
* The location of the targeted API entity of the to-be-created documentation part.
|
|
53
53
|
*/
|
|
54
54
|
location: pulumi.Input<inputs.apigateway.DocumentationPartLocationArgs>;
|
|
55
55
|
/**
|
|
56
|
-
* The documentation content map of the targeted API entity.
|
|
56
|
+
* The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
|
|
57
57
|
*/
|
|
58
58
|
properties: pulumi.Input<string>;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* The string identifier of the associated RestApi.
|
|
61
61
|
*/
|
|
62
62
|
restApiId: pulumi.Input<string>;
|
|
63
63
|
}
|
|
@@ -6,7 +6,7 @@ exports.DocumentationPart = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::DocumentationPart`` resource creates a documentation part for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*.
|
|
10
10
|
*/
|
|
11
11
|
class DocumentationPart extends pulumi.CustomResource {
|
|
12
12
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGateway::DocumentationVersion`` resource creates a snapshot of the documentation for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*.
|
|
4
4
|
*/
|
|
5
5
|
export declare class DocumentationVersion extends pulumi.CustomResource {
|
|
6
6
|
/**
|
|
@@ -18,15 +18,15 @@ export declare class DocumentationVersion extends pulumi.CustomResource {
|
|
|
18
18
|
*/
|
|
19
19
|
static isInstance(obj: any): obj is DocumentationVersion;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* A description about the new documentation snapshot.
|
|
22
22
|
*/
|
|
23
23
|
readonly description: pulumi.Output<string | undefined>;
|
|
24
24
|
/**
|
|
25
|
-
* The version identifier of the
|
|
25
|
+
* The version identifier of the to-be-updated documentation version.
|
|
26
26
|
*/
|
|
27
27
|
readonly documentationVersion: 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
|
/**
|
|
@@ -43,15 +43,15 @@ export declare class DocumentationVersion extends pulumi.CustomResource {
|
|
|
43
43
|
*/
|
|
44
44
|
export interface DocumentationVersionArgs {
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* A description about the new documentation snapshot.
|
|
47
47
|
*/
|
|
48
48
|
description?: pulumi.Input<string>;
|
|
49
49
|
/**
|
|
50
|
-
* The version identifier of the
|
|
50
|
+
* The version identifier of the to-be-updated documentation version.
|
|
51
51
|
*/
|
|
52
52
|
documentationVersion: pulumi.Input<string>;
|
|
53
53
|
/**
|
|
54
|
-
* The identifier of the
|
|
54
|
+
* The string identifier of the associated RestApi.
|
|
55
55
|
*/
|
|
56
56
|
restApiId: pulumi.Input<string>;
|
|
57
57
|
}
|
|
@@ -6,7 +6,7 @@ exports.DocumentationVersion = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::DocumentationVersion`` resource creates a snapshot of the documentation for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*.
|
|
10
10
|
*/
|
|
11
11
|
class DocumentationVersion extends pulumi.CustomResource {
|
|
12
12
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGateway::Account`` resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account.
|
|
4
4
|
*/
|
|
5
5
|
export declare function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountResult>;
|
|
6
6
|
export interface GetAccountArgs {
|
|
@@ -11,7 +11,7 @@ export interface GetAccountArgs {
|
|
|
11
11
|
}
|
|
12
12
|
export interface GetAccountResult {
|
|
13
13
|
/**
|
|
14
|
-
* The
|
|
14
|
+
* The ARN of an Amazon CloudWatch role for the current Account.
|
|
15
15
|
*/
|
|
16
16
|
readonly cloudWatchRoleArn?: string;
|
|
17
17
|
/**
|
|
@@ -20,7 +20,7 @@ export interface GetAccountResult {
|
|
|
20
20
|
readonly id?: string;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The ``AWS::ApiGateway::Account`` resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account.
|
|
24
24
|
*/
|
|
25
25
|
export declare function getAccountOutput(args: GetAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccountResult>;
|
|
26
26
|
export interface GetAccountOutputArgs {
|
package/apigateway/getAccount.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getAccountOutput = exports.getAccount = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::Account`` resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account.
|
|
10
10
|
*/
|
|
11
11
|
function getAccount(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -16,7 +16,7 @@ function getAccount(args, opts) {
|
|
|
16
16
|
}
|
|
17
17
|
exports.getAccount = getAccount;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The ``AWS::ApiGateway::Account`` resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account.
|
|
20
20
|
*/
|
|
21
21
|
function getAccountOutput(args, opts) {
|
|
22
22
|
return pulumi.output(args).apply((a) => getAccount(a, opts));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGateway::Authorizer`` resource creates an authorization layer that API Gateway activates for methods that have authorization enabled. API Gateway activates the authorizer when a client calls those methods.
|
|
4
4
|
*/
|
|
5
5
|
export declare function getAuthorizer(args: GetAuthorizerArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthorizerResult>;
|
|
6
6
|
export interface GetAuthorizerArgs {
|
|
7
7
|
authorizerId: string;
|
|
8
8
|
/**
|
|
9
|
-
* The identifier of the
|
|
9
|
+
* The string identifier of the associated RestApi.
|
|
10
10
|
*/
|
|
11
11
|
restApiId: string;
|
|
12
12
|
}
|
|
@@ -16,24 +16,24 @@ export interface GetAuthorizerResult {
|
|
|
16
16
|
*/
|
|
17
17
|
readonly authType?: string;
|
|
18
18
|
/**
|
|
19
|
-
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer.
|
|
19
|
+
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.
|
|
20
20
|
*/
|
|
21
21
|
readonly authorizerCredentials?: string;
|
|
22
22
|
readonly authorizerId?: string;
|
|
23
23
|
/**
|
|
24
|
-
* The TTL in seconds of cached authorizer results.
|
|
24
|
+
* The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.
|
|
25
25
|
*/
|
|
26
26
|
readonly authorizerResultTtlInSeconds?: number;
|
|
27
27
|
/**
|
|
28
|
-
* Specifies the authorizer's Uniform Resource Identifier (URI).
|
|
28
|
+
* Specifies the authorizer's Uniform Resource Identifier (URI). For ``TOKEN`` or ``REQUEST`` authorizers, this must be a well-formed Lambda function URI, for example, ``arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations``. In general, the URI has this form ``arn:aws:apigateway:{region}:lambda:path/{service_api}``, where ``{region}`` is the same as the region hosting the Lambda function, ``path`` indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial ``/``. For Lambda functions, this is usually of the form ``/2015-03-31/functions/[FunctionARN]/invocations``.
|
|
29
29
|
*/
|
|
30
30
|
readonly authorizerUri?: string;
|
|
31
31
|
/**
|
|
32
|
-
* The identity source for which authorization is requested.
|
|
32
|
+
* The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.
|
|
33
33
|
*/
|
|
34
34
|
readonly identitySource?: string;
|
|
35
35
|
/**
|
|
36
|
-
* A validation expression for the incoming identity token.
|
|
36
|
+
* A validation expression for the incoming identity token. For ``TOKEN`` authorizers, this value is a regular expression. For ``COGNITO_USER_POOLS`` authorizers, API Gateway will match the ``aud`` field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the ``REQUEST`` authorizer.
|
|
37
37
|
*/
|
|
38
38
|
readonly identityValidationExpression?: string;
|
|
39
39
|
/**
|
|
@@ -41,22 +41,22 @@ export interface GetAuthorizerResult {
|
|
|
41
41
|
*/
|
|
42
42
|
readonly name?: string;
|
|
43
43
|
/**
|
|
44
|
-
* A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer.
|
|
44
|
+
* A list of the Amazon Cognito user pool ARNs for the ``COGNITO_USER_POOLS`` authorizer. Each element is of this format: ``arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}``. For a ``TOKEN`` or ``REQUEST`` authorizer, this is not defined.
|
|
45
45
|
*/
|
|
46
46
|
readonly providerArns?: string[];
|
|
47
47
|
/**
|
|
48
|
-
* The authorizer type.
|
|
48
|
+
* The authorizer type. Valid values are ``TOKEN`` for a Lambda function using a single authorization token submitted in a custom header, ``REQUEST`` for a Lambda function using incoming request parameters, and ``COGNITO_USER_POOLS`` for using an Amazon Cognito user pool.
|
|
49
49
|
*/
|
|
50
50
|
readonly type?: string;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* The ``AWS::ApiGateway::Authorizer`` resource creates an authorization layer that API Gateway activates for methods that have authorization enabled. API Gateway activates the authorizer when a client calls those methods.
|
|
54
54
|
*/
|
|
55
55
|
export declare function getAuthorizerOutput(args: GetAuthorizerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAuthorizerResult>;
|
|
56
56
|
export interface GetAuthorizerOutputArgs {
|
|
57
57
|
authorizerId: pulumi.Input<string>;
|
|
58
58
|
/**
|
|
59
|
-
* The identifier of the
|
|
59
|
+
* The string identifier of the associated RestApi.
|
|
60
60
|
*/
|
|
61
61
|
restApiId: pulumi.Input<string>;
|
|
62
62
|
}
|
|
@@ -6,7 +6,7 @@ exports.getAuthorizerOutput = exports.getAuthorizer = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::Authorizer`` resource creates an authorization layer that API Gateway activates for methods that have authorization enabled. API Gateway activates the authorizer when a client calls those methods.
|
|
10
10
|
*/
|
|
11
11
|
function getAuthorizer(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,7 +17,7 @@ function getAuthorizer(args, opts) {
|
|
|
17
17
|
}
|
|
18
18
|
exports.getAuthorizer = getAuthorizer;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The ``AWS::ApiGateway::Authorizer`` resource creates an authorization layer that API Gateway activates for methods that have authorization enabled. API Gateway activates the authorizer when a client calls those methods.
|
|
21
21
|
*/
|
|
22
22
|
function getAuthorizerOutput(args, opts) {
|
|
23
23
|
return pulumi.output(args).apply((a) => getAuthorizer(a, opts));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGateway::Deployment`` resource deploys an API Gateway ``RestApi`` resource to a stage so that clients can call the API over the internet. The stage acts as an environment.
|
|
4
4
|
*/
|
|
5
5
|
export declare function getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise<GetDeploymentResult>;
|
|
6
6
|
export interface GetDeploymentArgs {
|
|
@@ -9,7 +9,7 @@ export interface GetDeploymentArgs {
|
|
|
9
9
|
*/
|
|
10
10
|
deploymentId: string;
|
|
11
11
|
/**
|
|
12
|
-
* The
|
|
12
|
+
* The string identifier of the associated RestApi.
|
|
13
13
|
*/
|
|
14
14
|
restApiId: string;
|
|
15
15
|
}
|
|
@@ -19,12 +19,12 @@ export interface GetDeploymentResult {
|
|
|
19
19
|
*/
|
|
20
20
|
readonly deploymentId?: string;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* The description for the Deployment resource to create.
|
|
23
23
|
*/
|
|
24
24
|
readonly description?: string;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* The ``AWS::ApiGateway::Deployment`` resource deploys an API Gateway ``RestApi`` resource to a stage so that clients can call the API over the internet. The stage acts as an environment.
|
|
28
28
|
*/
|
|
29
29
|
export declare function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDeploymentResult>;
|
|
30
30
|
export interface GetDeploymentOutputArgs {
|
|
@@ -33,7 +33,7 @@ export interface GetDeploymentOutputArgs {
|
|
|
33
33
|
*/
|
|
34
34
|
deploymentId: pulumi.Input<string>;
|
|
35
35
|
/**
|
|
36
|
-
* The
|
|
36
|
+
* The string identifier of the associated RestApi.
|
|
37
37
|
*/
|
|
38
38
|
restApiId: pulumi.Input<string>;
|
|
39
39
|
}
|
|
@@ -6,7 +6,7 @@ exports.getDeploymentOutput = exports.getDeployment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::Deployment`` resource deploys an API Gateway ``RestApi`` resource to a stage so that clients can call the API over the internet. The stage acts as an environment.
|
|
10
10
|
*/
|
|
11
11
|
function getDeployment(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,7 +17,7 @@ function getDeployment(args, opts) {
|
|
|
17
17
|
}
|
|
18
18
|
exports.getDeployment = getDeployment;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The ``AWS::ApiGateway::Deployment`` resource deploys an API Gateway ``RestApi`` resource to a stage so that clients can call the API over the internet. The stage acts as an environment.
|
|
21
21
|
*/
|
|
22
22
|
function getDeploymentOutput(args, opts) {
|
|
23
23
|
return pulumi.output(args).apply((a) => getDeployment(a, opts));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::ApiGateway::DocumentationPart`` resource creates a documentation part for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*.
|
|
4
4
|
*/
|
|
5
5
|
export declare function getDocumentationPart(args: GetDocumentationPartArgs, opts?: pulumi.InvokeOptions): Promise<GetDocumentationPartResult>;
|
|
6
6
|
export interface GetDocumentationPartArgs {
|
|
@@ -9,7 +9,7 @@ export interface GetDocumentationPartArgs {
|
|
|
9
9
|
*/
|
|
10
10
|
documentationPartId: string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* The string identifier of the associated RestApi.
|
|
13
13
|
*/
|
|
14
14
|
restApiId: string;
|
|
15
15
|
}
|
|
@@ -19,12 +19,12 @@ export interface GetDocumentationPartResult {
|
|
|
19
19
|
*/
|
|
20
20
|
readonly documentationPartId?: string;
|
|
21
21
|
/**
|
|
22
|
-
* The documentation content map of the targeted API entity.
|
|
22
|
+
* The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
|
|
23
23
|
*/
|
|
24
24
|
readonly properties?: string;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* The ``AWS::ApiGateway::DocumentationPart`` resource creates a documentation part for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*.
|
|
28
28
|
*/
|
|
29
29
|
export declare function getDocumentationPartOutput(args: GetDocumentationPartOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDocumentationPartResult>;
|
|
30
30
|
export interface GetDocumentationPartOutputArgs {
|
|
@@ -33,7 +33,7 @@ export interface GetDocumentationPartOutputArgs {
|
|
|
33
33
|
*/
|
|
34
34
|
documentationPartId: pulumi.Input<string>;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* The string identifier of the associated RestApi.
|
|
37
37
|
*/
|
|
38
38
|
restApiId: pulumi.Input<string>;
|
|
39
39
|
}
|
|
@@ -6,7 +6,7 @@ exports.getDocumentationPartOutput = exports.getDocumentationPart = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The ``AWS::ApiGateway::DocumentationPart`` resource creates a documentation part for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*.
|
|
10
10
|
*/
|
|
11
11
|
function getDocumentationPart(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,7 +17,7 @@ function getDocumentationPart(args, opts) {
|
|
|
17
17
|
}
|
|
18
18
|
exports.getDocumentationPart = getDocumentationPart;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The ``AWS::ApiGateway::DocumentationPart`` resource creates a documentation part for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*.
|
|
21
21
|
*/
|
|
22
22
|
function getDocumentationPartOutput(args, opts) {
|
|
23
23
|
return pulumi.output(args).apply((a) => getDocumentationPart(a, opts));
|