@pulumi/aws-native 1.4.0 → 1.5.0-alpha.1730206131
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/appconfig/deploymentStrategy.d.ts +151 -0
- package/appconfig/deploymentStrategy.js +106 -0
- package/appconfig/deploymentStrategy.js.map +1 -0
- package/appconfig/getDeploymentStrategy.d.ts +65 -0
- package/appconfig/getDeploymentStrategy.js +28 -0
- package/appconfig/getDeploymentStrategy.js.map +1 -0
- package/appconfig/index.d.ts +7 -0
- package/appconfig/index.js +24 -1
- package/appconfig/index.js.map +1 -1
- package/appsync/getGraphQlApi.d.ts +126 -0
- package/appsync/getGraphQlApi.js +28 -0
- package/appsync/getGraphQlApi.js.map +1 -0
- package/appsync/graphQlApi.d.ts +211 -0
- package/appsync/graphQlApi.js +107 -0
- package/appsync/graphQlApi.js.map +1 -0
- package/appsync/index.d.ts +6 -0
- package/appsync/index.js +8 -1
- package/appsync/index.js.map +1 -1
- package/autoscaling/autoScalingGroup.d.ts +8 -0
- package/autoscaling/autoScalingGroup.js +2 -0
- package/autoscaling/autoScalingGroup.js.map +1 -1
- package/autoscaling/getAutoScalingGroup.d.ts +4 -0
- package/autoscaling/getAutoScalingGroup.js.map +1 -1
- package/autoscaling/index.d.ts +1 -0
- package/autoscaling/index.js +16 -0
- package/autoscaling/index.js.map +1 -1
- package/backup/getLogicallyAirGappedBackupVault.d.ts +20 -0
- package/backup/getLogicallyAirGappedBackupVault.js.map +1 -1
- package/backup/getRestoreTestingPlan.d.ts +3 -0
- package/backup/getRestoreTestingPlan.js.map +1 -1
- package/backup/logicallyAirGappedBackupVault.d.ts +50 -0
- package/backup/logicallyAirGappedBackupVault.js.map +1 -1
- package/backup/restoreTestingPlan.d.ts +6 -0
- package/backup/restoreTestingPlan.js.map +1 -1
- package/bedrock/getPromptVersion.d.ts +0 -3
- package/bedrock/getPromptVersion.js.map +1 -1
- package/bedrock/promptVersion.js +1 -1
- package/bedrock/promptVersion.js.map +1 -1
- package/dms/dataMigration.d.ts +108 -0
- package/dms/dataMigration.js +83 -0
- package/dms/dataMigration.js.map +1 -0
- package/dms/getDataMigration.d.ts +61 -0
- package/dms/getDataMigration.js +28 -0
- package/dms/getDataMigration.js.map +1 -0
- package/dms/index.d.ts +6 -0
- package/dms/index.js +8 -1
- package/dms/index.js.map +1 -1
- package/ec2/capacityReservation.d.ts +6 -0
- package/ec2/capacityReservation.js.map +1 -1
- package/ec2/eip.d.ts +4 -0
- package/ec2/eip.js +5 -1
- package/ec2/eip.js.map +1 -1
- package/eks/cluster.d.ts +6 -0
- package/eks/cluster.js.map +1 -1
- package/eks/getCluster.d.ts +3 -0
- package/eks/getCluster.js.map +1 -1
- package/iot/domainConfiguration.d.ts +0 -12
- package/iot/domainConfiguration.js.map +1 -1
- package/iot/getDomainConfiguration.d.ts +0 -6
- package/iot/getDomainConfiguration.js.map +1 -1
- package/iot/getSoftwarePackageVersion.d.ts +20 -0
- package/iot/getSoftwarePackageVersion.js.map +1 -1
- package/iot/softwarePackageVersion.d.ts +28 -0
- package/iot/softwarePackageVersion.js.map +1 -1
- package/package.json +3 -3
- package/package.json.dev +2 -2
- package/qbusiness/dataSource.d.ts +14 -14
- package/qbusiness/getDataSource.d.ts +7 -7
- package/qbusiness/getWebExperience.d.ts +0 -5
- package/qbusiness/getWebExperience.js.map +1 -1
- package/qbusiness/webExperience.d.ts +0 -10
- package/qbusiness/webExperience.js.map +1 -1
- package/redshift/integration.d.ts +6 -0
- package/redshift/integration.js.map +1 -1
- package/refactorspaces/environment.d.ts +4 -4
- package/refactorspaces/environment.js +0 -3
- package/refactorspaces/environment.js.map +1 -1
- package/sagemaker/domain.d.ts +8 -0
- package/sagemaker/domain.js +2 -0
- package/sagemaker/domain.js.map +1 -1
- package/sagemaker/endpoint.d.ts +95 -0
- package/sagemaker/endpoint.js +75 -0
- package/sagemaker/endpoint.js.map +1 -0
- package/sagemaker/getDomain.d.ts +4 -0
- package/sagemaker/getDomain.js.map +1 -1
- package/sagemaker/getEndpoint.d.ts +40 -0
- package/sagemaker/getEndpoint.js +28 -0
- package/sagemaker/getEndpoint.js.map +1 -0
- package/sagemaker/index.d.ts +6 -0
- package/sagemaker/index.js +9 -2
- package/sagemaker/index.js.map +1 -1
- package/types/enums/appconfig/index.d.ts +28 -0
- package/types/enums/appconfig/index.js +14 -0
- package/types/enums/appconfig/index.js.map +1 -0
- package/types/enums/autoscaling/index.d.ts +5 -0
- package/types/enums/autoscaling/index.js +10 -0
- package/types/enums/autoscaling/index.js.map +1 -0
- package/types/enums/bedrock/index.d.ts +1 -0
- package/types/enums/bedrock/index.js +1 -0
- package/types/enums/bedrock/index.js.map +1 -1
- package/types/enums/connect/index.d.ts +1 -0
- package/types/enums/connect/index.js +1 -0
- package/types/enums/connect/index.js.map +1 -1
- package/types/enums/dms/index.d.ts +9 -0
- package/types/enums/dms/index.js +6 -1
- package/types/enums/dms/index.js.map +1 -1
- package/types/enums/ec2/index.d.ts +8 -13
- package/types/enums/ec2/index.js.map +1 -1
- package/types/enums/index.d.ts +3 -1
- package/types/enums/index.js +8 -4
- package/types/enums/index.js.map +1 -1
- package/types/enums/iot/index.d.ts +0 -4
- package/types/enums/iot/index.js.map +1 -1
- package/types/enums/sagemaker/index.d.ts +16 -0
- package/types/enums/sagemaker/index.js +10 -2
- package/types/enums/sagemaker/index.js.map +1 -1
- package/types/input.d.ts +387 -72
- package/types/output.d.ts +406 -84
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
import * as enums from "../types/enums";
|
|
5
|
+
/**
|
|
6
|
+
* Resource Type definition for AWS::AppConfig::DeploymentStrategy
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
* ### Example
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws_native from "@pulumi/aws-native";
|
|
14
|
+
*
|
|
15
|
+
* const basicDeploymentStrategy = new aws_native.appconfig.DeploymentStrategy("basicDeploymentStrategy", {
|
|
16
|
+
* name: "MyTestDeploymentStrategy",
|
|
17
|
+
* description: "A sample test deployment strategy.",
|
|
18
|
+
* deploymentDurationInMinutes: 3,
|
|
19
|
+
* finalBakeTimeInMinutes: 4,
|
|
20
|
+
* growthFactor: 10,
|
|
21
|
+
* growthType: aws_native.appconfig.DeploymentStrategyGrowthType.Linear,
|
|
22
|
+
* replicateTo: aws_native.appconfig.DeploymentStrategyReplicateTo.None,
|
|
23
|
+
* tags: [{
|
|
24
|
+
* key: "Env",
|
|
25
|
+
* value: "test",
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
*
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class DeploymentStrategy extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing DeploymentStrategy resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DeploymentStrategy;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of DeploymentStrategy. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is DeploymentStrategy;
|
|
46
|
+
/**
|
|
47
|
+
* The deployment strategy ID.
|
|
48
|
+
*/
|
|
49
|
+
readonly awsId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Total amount of time for a deployment to last.
|
|
52
|
+
*/
|
|
53
|
+
readonly deploymentDurationInMinutes: pulumi.Output<number>;
|
|
54
|
+
/**
|
|
55
|
+
* A description of the deployment strategy.
|
|
56
|
+
*/
|
|
57
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies the amount of time AWS AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AWS AppConfig rolls back the deployment. You must configure permissions for AWS AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AWS AppConfig User Guide.
|
|
60
|
+
*/
|
|
61
|
+
readonly finalBakeTimeInMinutes: pulumi.Output<number | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* The percentage of targets to receive a deployed configuration during each interval.
|
|
64
|
+
*/
|
|
65
|
+
readonly growthFactor: pulumi.Output<number>;
|
|
66
|
+
/**
|
|
67
|
+
* The algorithm used to define how percentage grows over time. AWS AppConfig supports the following growth types:
|
|
68
|
+
*
|
|
69
|
+
* Linear: For this type, AWS AppConfig processes the deployment by dividing the total number of targets by the value specified for Step percentage. For example, a linear deployment that uses a Step percentage of 10 deploys the configuration to 10 percent of the hosts. After those deployments are complete, the system deploys the configuration to the next 10 percent. This continues until 100% of the targets have successfully received the configuration.
|
|
70
|
+
*
|
|
71
|
+
* Exponential: For this type, AWS AppConfig processes the deployment exponentially using the following formula: G*(2^N). In this formula, G is the growth factor specified by the user and N is the number of steps until the configuration is deployed to all targets. For example, if you specify a growth factor of 2, then the system rolls out the configuration as follows:
|
|
72
|
+
*
|
|
73
|
+
* 2*(2^0)
|
|
74
|
+
*
|
|
75
|
+
* 2*(2^1)
|
|
76
|
+
*
|
|
77
|
+
* 2*(2^2)
|
|
78
|
+
*
|
|
79
|
+
* Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4% of the targets, 8% of the targets, and continues until the configuration has been deployed to all targets.
|
|
80
|
+
*/
|
|
81
|
+
readonly growthType: pulumi.Output<enums.appconfig.DeploymentStrategyGrowthType | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* A name for the deployment strategy.
|
|
84
|
+
*/
|
|
85
|
+
readonly name: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Save the deployment strategy to a Systems Manager (SSM) document.
|
|
88
|
+
*/
|
|
89
|
+
readonly replicateTo: pulumi.Output<enums.appconfig.DeploymentStrategyReplicateTo>;
|
|
90
|
+
/**
|
|
91
|
+
* Assigns metadata to an AWS AppConfig resource. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.
|
|
92
|
+
*/
|
|
93
|
+
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Create a DeploymentStrategy resource with the given unique name, arguments, and options.
|
|
96
|
+
*
|
|
97
|
+
* @param name The _unique_ name of the resource.
|
|
98
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
99
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
100
|
+
*/
|
|
101
|
+
constructor(name: string, args: DeploymentStrategyArgs, opts?: pulumi.CustomResourceOptions);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* The set of arguments for constructing a DeploymentStrategy resource.
|
|
105
|
+
*/
|
|
106
|
+
export interface DeploymentStrategyArgs {
|
|
107
|
+
/**
|
|
108
|
+
* Total amount of time for a deployment to last.
|
|
109
|
+
*/
|
|
110
|
+
deploymentDurationInMinutes: pulumi.Input<number>;
|
|
111
|
+
/**
|
|
112
|
+
* A description of the deployment strategy.
|
|
113
|
+
*/
|
|
114
|
+
description?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Specifies the amount of time AWS AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AWS AppConfig rolls back the deployment. You must configure permissions for AWS AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AWS AppConfig User Guide.
|
|
117
|
+
*/
|
|
118
|
+
finalBakeTimeInMinutes?: pulumi.Input<number>;
|
|
119
|
+
/**
|
|
120
|
+
* The percentage of targets to receive a deployed configuration during each interval.
|
|
121
|
+
*/
|
|
122
|
+
growthFactor: pulumi.Input<number>;
|
|
123
|
+
/**
|
|
124
|
+
* The algorithm used to define how percentage grows over time. AWS AppConfig supports the following growth types:
|
|
125
|
+
*
|
|
126
|
+
* Linear: For this type, AWS AppConfig processes the deployment by dividing the total number of targets by the value specified for Step percentage. For example, a linear deployment that uses a Step percentage of 10 deploys the configuration to 10 percent of the hosts. After those deployments are complete, the system deploys the configuration to the next 10 percent. This continues until 100% of the targets have successfully received the configuration.
|
|
127
|
+
*
|
|
128
|
+
* Exponential: For this type, AWS AppConfig processes the deployment exponentially using the following formula: G*(2^N). In this formula, G is the growth factor specified by the user and N is the number of steps until the configuration is deployed to all targets. For example, if you specify a growth factor of 2, then the system rolls out the configuration as follows:
|
|
129
|
+
*
|
|
130
|
+
* 2*(2^0)
|
|
131
|
+
*
|
|
132
|
+
* 2*(2^1)
|
|
133
|
+
*
|
|
134
|
+
* 2*(2^2)
|
|
135
|
+
*
|
|
136
|
+
* Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4% of the targets, 8% of the targets, and continues until the configuration has been deployed to all targets.
|
|
137
|
+
*/
|
|
138
|
+
growthType?: pulumi.Input<enums.appconfig.DeploymentStrategyGrowthType>;
|
|
139
|
+
/**
|
|
140
|
+
* A name for the deployment strategy.
|
|
141
|
+
*/
|
|
142
|
+
name?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Save the deployment strategy to a Systems Manager (SSM) document.
|
|
145
|
+
*/
|
|
146
|
+
replicateTo: pulumi.Input<enums.appconfig.DeploymentStrategyReplicateTo>;
|
|
147
|
+
/**
|
|
148
|
+
* Assigns metadata to an AWS AppConfig resource. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.
|
|
149
|
+
*/
|
|
150
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
|
|
151
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DeploymentStrategy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::AppConfig::DeploymentStrategy
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Example
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws_native from "@pulumi/aws-native";
|
|
17
|
+
*
|
|
18
|
+
* const basicDeploymentStrategy = new aws_native.appconfig.DeploymentStrategy("basicDeploymentStrategy", {
|
|
19
|
+
* name: "MyTestDeploymentStrategy",
|
|
20
|
+
* description: "A sample test deployment strategy.",
|
|
21
|
+
* deploymentDurationInMinutes: 3,
|
|
22
|
+
* finalBakeTimeInMinutes: 4,
|
|
23
|
+
* growthFactor: 10,
|
|
24
|
+
* growthType: aws_native.appconfig.DeploymentStrategyGrowthType.Linear,
|
|
25
|
+
* replicateTo: aws_native.appconfig.DeploymentStrategyReplicateTo.None,
|
|
26
|
+
* tags: [{
|
|
27
|
+
* key: "Env",
|
|
28
|
+
* value: "test",
|
|
29
|
+
* }],
|
|
30
|
+
* });
|
|
31
|
+
*
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class DeploymentStrategy extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing DeploymentStrategy resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new DeploymentStrategy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of DeploymentStrategy. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === DeploymentStrategy.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Create a DeploymentStrategy resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name, args, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (!opts.id) {
|
|
67
|
+
if ((!args || args.deploymentDurationInMinutes === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'deploymentDurationInMinutes'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.growthFactor === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'growthFactor'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.replicateTo === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'replicateTo'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["deploymentDurationInMinutes"] = args ? args.deploymentDurationInMinutes : undefined;
|
|
77
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
78
|
+
resourceInputs["finalBakeTimeInMinutes"] = args ? args.finalBakeTimeInMinutes : undefined;
|
|
79
|
+
resourceInputs["growthFactor"] = args ? args.growthFactor : undefined;
|
|
80
|
+
resourceInputs["growthType"] = args ? args.growthType : undefined;
|
|
81
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
82
|
+
resourceInputs["replicateTo"] = args ? args.replicateTo : undefined;
|
|
83
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
84
|
+
resourceInputs["awsId"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
resourceInputs["awsId"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["deploymentDurationInMinutes"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["finalBakeTimeInMinutes"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["growthFactor"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["growthType"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["replicateTo"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
96
|
+
}
|
|
97
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
|
+
const replaceOnChanges = { replaceOnChanges: ["name", "replicateTo"] };
|
|
99
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
100
|
+
super(DeploymentStrategy.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.DeploymentStrategy = DeploymentStrategy;
|
|
104
|
+
/** @internal */
|
|
105
|
+
DeploymentStrategy.__pulumiType = 'aws-native:appconfig:DeploymentStrategy';
|
|
106
|
+
//# sourceMappingURL=deploymentStrategy.js.map
|
|
@@ -0,0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AS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC,EAAE,CAAC;QACvE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAxHL,gDAyHC;AA5GG,gBAAgB;AACO,+BAAY,GAAG,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* Resource Type definition for AWS::AppConfig::DeploymentStrategy
|
|
6
|
+
*/
|
|
7
|
+
export declare function getDeploymentStrategy(args: GetDeploymentStrategyArgs, opts?: pulumi.InvokeOptions): Promise<GetDeploymentStrategyResult>;
|
|
8
|
+
export interface GetDeploymentStrategyArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The deployment strategy ID.
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetDeploymentStrategyResult {
|
|
15
|
+
/**
|
|
16
|
+
* Total amount of time for a deployment to last.
|
|
17
|
+
*/
|
|
18
|
+
readonly deploymentDurationInMinutes?: number;
|
|
19
|
+
/**
|
|
20
|
+
* A description of the deployment strategy.
|
|
21
|
+
*/
|
|
22
|
+
readonly description?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Specifies the amount of time AWS AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AWS AppConfig rolls back the deployment. You must configure permissions for AWS AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AWS AppConfig User Guide.
|
|
25
|
+
*/
|
|
26
|
+
readonly finalBakeTimeInMinutes?: number;
|
|
27
|
+
/**
|
|
28
|
+
* The percentage of targets to receive a deployed configuration during each interval.
|
|
29
|
+
*/
|
|
30
|
+
readonly growthFactor?: number;
|
|
31
|
+
/**
|
|
32
|
+
* The algorithm used to define how percentage grows over time. AWS AppConfig supports the following growth types:
|
|
33
|
+
*
|
|
34
|
+
* Linear: For this type, AWS AppConfig processes the deployment by dividing the total number of targets by the value specified for Step percentage. For example, a linear deployment that uses a Step percentage of 10 deploys the configuration to 10 percent of the hosts. After those deployments are complete, the system deploys the configuration to the next 10 percent. This continues until 100% of the targets have successfully received the configuration.
|
|
35
|
+
*
|
|
36
|
+
* Exponential: For this type, AWS AppConfig processes the deployment exponentially using the following formula: G*(2^N). In this formula, G is the growth factor specified by the user and N is the number of steps until the configuration is deployed to all targets. For example, if you specify a growth factor of 2, then the system rolls out the configuration as follows:
|
|
37
|
+
*
|
|
38
|
+
* 2*(2^0)
|
|
39
|
+
*
|
|
40
|
+
* 2*(2^1)
|
|
41
|
+
*
|
|
42
|
+
* 2*(2^2)
|
|
43
|
+
*
|
|
44
|
+
* Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4% of the targets, 8% of the targets, and continues until the configuration has been deployed to all targets.
|
|
45
|
+
*/
|
|
46
|
+
readonly growthType?: enums.appconfig.DeploymentStrategyGrowthType;
|
|
47
|
+
/**
|
|
48
|
+
* The deployment strategy ID.
|
|
49
|
+
*/
|
|
50
|
+
readonly id?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Assigns metadata to an AWS AppConfig resource. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.
|
|
53
|
+
*/
|
|
54
|
+
readonly tags?: outputs.Tag[];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Resource Type definition for AWS::AppConfig::DeploymentStrategy
|
|
58
|
+
*/
|
|
59
|
+
export declare function getDeploymentStrategyOutput(args: GetDeploymentStrategyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDeploymentStrategyResult>;
|
|
60
|
+
export interface GetDeploymentStrategyOutputArgs {
|
|
61
|
+
/**
|
|
62
|
+
* The deployment strategy ID.
|
|
63
|
+
*/
|
|
64
|
+
id: pulumi.Input<string>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getDeploymentStrategyOutput = exports.getDeploymentStrategy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::AppConfig::DeploymentStrategy
|
|
10
|
+
*/
|
|
11
|
+
function getDeploymentStrategy(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:appconfig:getDeploymentStrategy", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getDeploymentStrategy = getDeploymentStrategy;
|
|
18
|
+
/**
|
|
19
|
+
* Resource Type definition for AWS::AppConfig::DeploymentStrategy
|
|
20
|
+
*/
|
|
21
|
+
function getDeploymentStrategyOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("aws-native:appconfig:getDeploymentStrategy", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getDeploymentStrategyOutput = getDeploymentStrategyOutput;
|
|
28
|
+
//# sourceMappingURL=getDeploymentStrategy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDeploymentStrategy.js","sourceRoot":"","sources":["../../appconfig/getDeploymentStrategy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC;AAmDD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kEAKC"}
|
package/appconfig/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export declare const Application: typeof import("./application").Application;
|
|
|
4
4
|
export { ConfigurationProfileArgs } from "./configurationProfile";
|
|
5
5
|
export type ConfigurationProfile = import("./configurationProfile").ConfigurationProfile;
|
|
6
6
|
export declare const ConfigurationProfile: typeof import("./configurationProfile").ConfigurationProfile;
|
|
7
|
+
export { DeploymentStrategyArgs } from "./deploymentStrategy";
|
|
8
|
+
export type DeploymentStrategy = import("./deploymentStrategy").DeploymentStrategy;
|
|
9
|
+
export declare const DeploymentStrategy: typeof import("./deploymentStrategy").DeploymentStrategy;
|
|
7
10
|
export { EnvironmentArgs } from "./environment";
|
|
8
11
|
export type Environment = import("./environment").Environment;
|
|
9
12
|
export declare const Environment: typeof import("./environment").Environment;
|
|
@@ -19,6 +22,9 @@ export declare const getApplicationOutput: typeof import("./getApplication").get
|
|
|
19
22
|
export { GetConfigurationProfileArgs, GetConfigurationProfileResult, GetConfigurationProfileOutputArgs } from "./getConfigurationProfile";
|
|
20
23
|
export declare const getConfigurationProfile: typeof import("./getConfigurationProfile").getConfigurationProfile;
|
|
21
24
|
export declare const getConfigurationProfileOutput: typeof import("./getConfigurationProfile").getConfigurationProfileOutput;
|
|
25
|
+
export { GetDeploymentStrategyArgs, GetDeploymentStrategyResult, GetDeploymentStrategyOutputArgs } from "./getDeploymentStrategy";
|
|
26
|
+
export declare const getDeploymentStrategy: typeof import("./getDeploymentStrategy").getDeploymentStrategy;
|
|
27
|
+
export declare const getDeploymentStrategyOutput: typeof import("./getDeploymentStrategy").getDeploymentStrategyOutput;
|
|
22
28
|
export { GetEnvironmentArgs, GetEnvironmentResult, GetEnvironmentOutputArgs } from "./getEnvironment";
|
|
23
29
|
export declare const getEnvironment: typeof import("./getEnvironment").getEnvironment;
|
|
24
30
|
export declare const getEnvironmentOutput: typeof import("./getEnvironment").getEnvironmentOutput;
|
|
@@ -34,3 +40,4 @@ export declare const getHostedConfigurationVersionOutput: typeof import("./getHo
|
|
|
34
40
|
export { HostedConfigurationVersionArgs } from "./hostedConfigurationVersion";
|
|
35
41
|
export type HostedConfigurationVersion = import("./hostedConfigurationVersion").HostedConfigurationVersion;
|
|
36
42
|
export declare const HostedConfigurationVersion: typeof import("./hostedConfigurationVersion").HostedConfigurationVersion;
|
|
43
|
+
export * from "../types/enums/appconfig";
|
package/appconfig/index.js
CHANGED
|
@@ -1,14 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
4
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.HostedConfigurationVersion = exports.getHostedConfigurationVersionOutput = exports.getHostedConfigurationVersion = exports.getExtensionAssociationOutput = exports.getExtensionAssociation = exports.getExtensionOutput = exports.getExtension = exports.getEnvironmentOutput = exports.getEnvironment = exports.getConfigurationProfileOutput = exports.getConfigurationProfile = exports.getApplicationOutput = exports.getApplication = exports.ExtensionAssociation = exports.Extension = exports.Environment = exports.ConfigurationProfile = exports.Application = void 0;
|
|
19
|
+
exports.HostedConfigurationVersion = exports.getHostedConfigurationVersionOutput = exports.getHostedConfigurationVersion = exports.getExtensionAssociationOutput = exports.getExtensionAssociation = exports.getExtensionOutput = exports.getExtension = exports.getEnvironmentOutput = exports.getEnvironment = exports.getDeploymentStrategyOutput = exports.getDeploymentStrategy = exports.getConfigurationProfileOutput = exports.getConfigurationProfile = exports.getApplicationOutput = exports.getApplication = exports.ExtensionAssociation = exports.Extension = exports.Environment = exports.DeploymentStrategy = exports.ConfigurationProfile = exports.Application = void 0;
|
|
6
20
|
const pulumi = require("@pulumi/pulumi");
|
|
7
21
|
const utilities = require("../utilities");
|
|
8
22
|
exports.Application = null;
|
|
9
23
|
utilities.lazyLoad(exports, ["Application"], () => require("./application"));
|
|
10
24
|
exports.ConfigurationProfile = null;
|
|
11
25
|
utilities.lazyLoad(exports, ["ConfigurationProfile"], () => require("./configurationProfile"));
|
|
26
|
+
exports.DeploymentStrategy = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["DeploymentStrategy"], () => require("./deploymentStrategy"));
|
|
12
28
|
exports.Environment = null;
|
|
13
29
|
utilities.lazyLoad(exports, ["Environment"], () => require("./environment"));
|
|
14
30
|
exports.Extension = null;
|
|
@@ -21,6 +37,9 @@ utilities.lazyLoad(exports, ["getApplication", "getApplicationOutput"], () => re
|
|
|
21
37
|
exports.getConfigurationProfile = null;
|
|
22
38
|
exports.getConfigurationProfileOutput = null;
|
|
23
39
|
utilities.lazyLoad(exports, ["getConfigurationProfile", "getConfigurationProfileOutput"], () => require("./getConfigurationProfile"));
|
|
40
|
+
exports.getDeploymentStrategy = null;
|
|
41
|
+
exports.getDeploymentStrategyOutput = null;
|
|
42
|
+
utilities.lazyLoad(exports, ["getDeploymentStrategy", "getDeploymentStrategyOutput"], () => require("./getDeploymentStrategy"));
|
|
24
43
|
exports.getEnvironment = null;
|
|
25
44
|
exports.getEnvironmentOutput = null;
|
|
26
45
|
utilities.lazyLoad(exports, ["getEnvironment", "getEnvironmentOutput"], () => require("./getEnvironment"));
|
|
@@ -35,6 +54,8 @@ exports.getHostedConfigurationVersionOutput = null;
|
|
|
35
54
|
utilities.lazyLoad(exports, ["getHostedConfigurationVersion", "getHostedConfigurationVersionOutput"], () => require("./getHostedConfigurationVersion"));
|
|
36
55
|
exports.HostedConfigurationVersion = null;
|
|
37
56
|
utilities.lazyLoad(exports, ["HostedConfigurationVersion"], () => require("./hostedConfigurationVersion"));
|
|
57
|
+
// Export enums:
|
|
58
|
+
__exportStar(require("../types/enums/appconfig"), exports);
|
|
38
59
|
const _module = {
|
|
39
60
|
version: utilities.getVersion(),
|
|
40
61
|
construct: (name, type, urn) => {
|
|
@@ -43,6 +64,8 @@ const _module = {
|
|
|
43
64
|
return new exports.Application(name, undefined, { urn });
|
|
44
65
|
case "aws-native:appconfig:ConfigurationProfile":
|
|
45
66
|
return new exports.ConfigurationProfile(name, undefined, { urn });
|
|
67
|
+
case "aws-native:appconfig:DeploymentStrategy":
|
|
68
|
+
return new exports.DeploymentStrategy(name, undefined, { urn });
|
|
46
69
|
case "aws-native:appconfig:Environment":
|
|
47
70
|
return new exports.Environment(name, undefined, { urn });
|
|
48
71
|
case "aws-native:appconfig:Extension":
|
package/appconfig/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../appconfig/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../appconfig/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,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0,0 +1,126 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::AppSync::GraphQLApi
|
|
5
|
+
*/
|
|
6
|
+
export declare function getGraphQlApi(args: GetGraphQlApiArgs, opts?: pulumi.InvokeOptions): Promise<GetGraphQlApiResult>;
|
|
7
|
+
export interface GetGraphQlApiArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Unique AWS AppSync GraphQL API identifier.
|
|
10
|
+
*/
|
|
11
|
+
apiId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetGraphQlApiResult {
|
|
14
|
+
/**
|
|
15
|
+
* A list of additional authentication providers for the GraphqlApi API.
|
|
16
|
+
*/
|
|
17
|
+
readonly additionalAuthenticationProviders?: outputs.appsync.GraphQlApiAdditionalAuthenticationProvider[];
|
|
18
|
+
/**
|
|
19
|
+
* Unique AWS AppSync GraphQL API identifier.
|
|
20
|
+
*/
|
|
21
|
+
readonly apiId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The value that indicates whether the GraphQL API is a standard API (GRAPHQL) or merged API (MERGED).
|
|
24
|
+
*/
|
|
25
|
+
readonly apiType?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The Amazon Resource Name (ARN) of the API key
|
|
28
|
+
*/
|
|
29
|
+
readonly arn?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Security configuration for your GraphQL API
|
|
32
|
+
*/
|
|
33
|
+
readonly authenticationType?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Enables and controls the enhanced metrics feature. Enhanced metrics emit granular data on API usage and performance such as AppSync request and error counts, latency, and cache hits/misses. All enhanced metric data is sent to your CloudWatch account, and you can configure the types of data that will be sent.
|
|
36
|
+
*/
|
|
37
|
+
readonly enhancedMetricsConfig?: outputs.appsync.GraphQlApiEnhancedMetricsConfig;
|
|
38
|
+
/**
|
|
39
|
+
* A map containing the list of resources with their properties and environment variables.
|
|
40
|
+
*/
|
|
41
|
+
readonly environmentVariables?: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* The fully qualified domain name (FQDN) of the endpoint URL of your GraphQL API.
|
|
46
|
+
*/
|
|
47
|
+
readonly graphQlDns?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The GraphQL endpoint ARN.
|
|
50
|
+
*/
|
|
51
|
+
readonly graphQlEndpointArn?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The Endpoint URL of your GraphQL API.
|
|
54
|
+
*/
|
|
55
|
+
readonly graphQlUrl?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.
|
|
58
|
+
*/
|
|
59
|
+
readonly introspectionConfig?: string;
|
|
60
|
+
/**
|
|
61
|
+
* A LambdaAuthorizerConfig holds configuration on how to authorize AWS AppSync API access when using the AWS_LAMBDA authorizer mode. Be aware that an AWS AppSync API may have only one Lambda authorizer configured at a time.
|
|
62
|
+
*/
|
|
63
|
+
readonly lambdaAuthorizerConfig?: outputs.appsync.GraphQlApiLambdaAuthorizerConfig;
|
|
64
|
+
/**
|
|
65
|
+
* The Amazon CloudWatch Logs configuration.
|
|
66
|
+
*/
|
|
67
|
+
readonly logConfig?: outputs.appsync.GraphQlApiLogConfig;
|
|
68
|
+
/**
|
|
69
|
+
* The AWS Identity and Access Management service role ARN for a merged API.
|
|
70
|
+
*/
|
|
71
|
+
readonly mergedApiExecutionRoleArn?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The API name
|
|
74
|
+
*/
|
|
75
|
+
readonly name?: string;
|
|
76
|
+
/**
|
|
77
|
+
* The OpenID Connect configuration.
|
|
78
|
+
*/
|
|
79
|
+
readonly openIdConnectConfig?: outputs.appsync.GraphQlApiOpenIdConnectConfig;
|
|
80
|
+
/**
|
|
81
|
+
* The owner contact information for an API resource.
|
|
82
|
+
*/
|
|
83
|
+
readonly ownerContact?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query.
|
|
86
|
+
*/
|
|
87
|
+
readonly queryDepthLimit?: number;
|
|
88
|
+
/**
|
|
89
|
+
* The fully qualified domain name (FQDN) of the real-time endpoint URL of your GraphQL API.
|
|
90
|
+
*/
|
|
91
|
+
readonly realtimeDns?: string;
|
|
92
|
+
/**
|
|
93
|
+
* The GraphQL API real-time endpoint URL.
|
|
94
|
+
*/
|
|
95
|
+
readonly realtimeUrl?: string;
|
|
96
|
+
/**
|
|
97
|
+
* The maximum number of resolvers that can be invoked in a single request.
|
|
98
|
+
*/
|
|
99
|
+
readonly resolverCountLimit?: number;
|
|
100
|
+
/**
|
|
101
|
+
* An arbitrary set of tags (key-value pairs) for this GraphQL API.
|
|
102
|
+
*/
|
|
103
|
+
readonly tags?: outputs.Tag[];
|
|
104
|
+
/**
|
|
105
|
+
* Optional authorization configuration for using Amazon Cognito user pools with your GraphQL endpoint.
|
|
106
|
+
*/
|
|
107
|
+
readonly userPoolConfig?: outputs.appsync.GraphQlApiUserPoolConfig;
|
|
108
|
+
/**
|
|
109
|
+
* Sets the scope of the GraphQL API to public (GLOBAL) or private (PRIVATE). By default, the scope is set to Global if no value is provided.
|
|
110
|
+
*/
|
|
111
|
+
readonly visibility?: string;
|
|
112
|
+
/**
|
|
113
|
+
* A flag indicating whether to use AWS X-Ray tracing for this GraphqlApi.
|
|
114
|
+
*/
|
|
115
|
+
readonly xrayEnabled?: boolean;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Resource Type definition for AWS::AppSync::GraphQLApi
|
|
119
|
+
*/
|
|
120
|
+
export declare function getGraphQlApiOutput(args: GetGraphQlApiOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGraphQlApiResult>;
|
|
121
|
+
export interface GetGraphQlApiOutputArgs {
|
|
122
|
+
/**
|
|
123
|
+
* Unique AWS AppSync GraphQL API identifier.
|
|
124
|
+
*/
|
|
125
|
+
apiId: pulumi.Input<string>;
|
|
126
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getGraphQlApiOutput = exports.getGraphQlApi = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::AppSync::GraphQLApi
|
|
10
|
+
*/
|
|
11
|
+
function getGraphQlApi(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:appsync:getGraphQlApi", {
|
|
14
|
+
"apiId": args.apiId,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getGraphQlApi = getGraphQlApi;
|
|
18
|
+
/**
|
|
19
|
+
* Resource Type definition for AWS::AppSync::GraphQLApi
|
|
20
|
+
*/
|
|
21
|
+
function getGraphQlApiOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("aws-native:appsync:getGraphQlApi", {
|
|
24
|
+
"apiId": args.apiId,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getGraphQlApiOutput = getGraphQlApiOutput;
|
|
28
|
+
//# sourceMappingURL=getGraphQlApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGraphQlApi.js","sourceRoot":"","sources":["../../appsync/getGraphQlApi.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AA+GD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
|