@pulumi/aws-native 0.7.1 → 0.7.2-alpha.1638295005
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/basePathMapping.d.ts +3 -0
- package/apigateway/basePathMapping.js +5 -0
- package/apigateway/basePathMapping.js.map +1 -1
- package/apigateway/deployment.d.ts +34 -3
- package/apigateway/deployment.js +2 -5
- package/apigateway/deployment.js.map +1 -1
- package/ec2/host.d.ts +4 -5
- package/ec2/host.js.map +1 -1
- package/evidently/experiment.d.ts +59 -0
- package/evidently/experiment.js +88 -0
- package/evidently/experiment.js.map +1 -0
- package/evidently/feature.d.ts +57 -0
- package/evidently/feature.js +80 -0
- package/evidently/feature.js.map +1 -0
- package/evidently/index.d.ts +5 -0
- package/evidently/index.js +47 -0
- package/evidently/index.js.map +1 -0
- package/evidently/launch.d.ts +57 -0
- package/evidently/launch.js +83 -0
- package/evidently/launch.js.map +1 -0
- package/evidently/project.d.ts +49 -0
- package/evidently/project.js +66 -0
- package/evidently/project.js.map +1 -0
- package/index.d.ts +5 -1
- package/index.js +11 -3
- package/index.js.map +1 -1
- package/lambda/url.d.ts +3 -0
- package/lambda/url.js +5 -0
- package/lambda/url.js.map +1 -1
- package/lex/bot.d.ts +91 -0
- package/lex/bot.js +87 -0
- package/lex/bot.js.map +1 -0
- package/lex/botAlias.d.ts +65 -0
- package/lex/botAlias.js +81 -0
- package/lex/botAlias.js.map +1 -0
- package/lex/botVersion.d.ts +41 -0
- package/lex/botVersion.js +70 -0
- package/lex/botVersion.js.map +1 -0
- package/lex/index.d.ts +5 -0
- package/lex/index.js +47 -0
- package/lex/index.js.map +1 -0
- package/lex/resourcePolicy.d.ts +39 -0
- package/lex/resourcePolicy.js +68 -0
- package/lex/resourcePolicy.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/refactorspaces/application.d.ts +60 -0
- package/refactorspaces/application.js +84 -0
- package/refactorspaces/application.js.map +1 -0
- package/refactorspaces/environment.d.ts +51 -0
- package/refactorspaces/environment.js +70 -0
- package/refactorspaces/environment.js.map +1 -0
- package/refactorspaces/index.d.ts +5 -0
- package/refactorspaces/index.js +47 -0
- package/refactorspaces/index.js.map +1 -0
- package/refactorspaces/route.d.ts +55 -0
- package/refactorspaces/route.js +83 -0
- package/refactorspaces/route.js.map +1 -0
- package/refactorspaces/service.d.ts +60 -0
- package/refactorspaces/service.js +84 -0
- package/refactorspaces/service.js.map +1 -0
- package/rum/appMonitor.d.ts +62 -0
- package/rum/appMonitor.js +66 -0
- package/rum/appMonitor.js.map +1 -0
- package/rum/index.d.ts +2 -0
- package/rum/index.js +35 -0
- package/rum/index.js.map +1 -0
- package/timestream/index.d.ts +2 -0
- package/timestream/index.js +6 -0
- package/timestream/index.js.map +1 -1
- package/timestream/scheduledQuery.d.ts +87 -0
- package/timestream/scheduledQuery.js +109 -0
- package/timestream/scheduledQuery.js.map +1 -0
- package/types/enums/ec2/index.d.ts +0 -16
- package/types/enums/ec2/index.js +1 -9
- package/types/enums/ec2/index.js.map +1 -1
- package/types/enums/evidently/index.d.ts +10 -0
- package/types/enums/evidently/index.js +14 -0
- package/types/enums/evidently/index.js.map +1 -0
- package/types/enums/index.d.ts +6 -1
- package/types/enums/index.js +12 -2
- package/types/enums/index.js.map +1 -1
- package/types/enums/lex/index.d.ts +25 -0
- package/types/enums/lex/index.js +24 -0
- package/types/enums/lex/index.js.map +1 -0
- package/types/enums/refactorspaces/index.d.ts +37 -0
- package/types/enums/refactorspaces/index.js +36 -0
- package/types/enums/refactorspaces/index.js.map +1 -0
- package/types/enums/rum/index.d.ts +6 -0
- package/types/enums/rum/index.js +11 -0
- package/types/enums/rum/index.js.map +1 -0
- package/types/enums/timestream/index.d.ts +36 -0
- package/types/enums/timestream/index.js +26 -0
- package/types/enums/timestream/index.js.map +1 -0
- package/types/input.d.ts +1104 -44
- package/types/output.d.ts +1104 -44
- package/wafv2/loggingConfiguration.d.ts +2 -2
package/lex/bot.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.Bot = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Amazon Lex conversational bot performing automated tasks such as ordering a pizza, booking a hotel, and so on.
|
|
10
|
+
*/
|
|
11
|
+
class Bot extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a Bot resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let inputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
if ((!args || args.dataPrivacy === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'dataPrivacy'");
|
|
25
|
+
}
|
|
26
|
+
if ((!args || args.idleSessionTTLInSeconds === undefined) && !opts.urn) {
|
|
27
|
+
throw new Error("Missing required property 'idleSessionTTLInSeconds'");
|
|
28
|
+
}
|
|
29
|
+
if ((!args || args.roleArn === undefined) && !opts.urn) {
|
|
30
|
+
throw new Error("Missing required property 'roleArn'");
|
|
31
|
+
}
|
|
32
|
+
inputs["autoBuildBotLocales"] = args ? args.autoBuildBotLocales : undefined;
|
|
33
|
+
inputs["botFileS3Location"] = args ? args.botFileS3Location : undefined;
|
|
34
|
+
inputs["botLocales"] = args ? args.botLocales : undefined;
|
|
35
|
+
inputs["botTags"] = args ? args.botTags : undefined;
|
|
36
|
+
inputs["dataPrivacy"] = args ? args.dataPrivacy : undefined;
|
|
37
|
+
inputs["description"] = args ? args.description : undefined;
|
|
38
|
+
inputs["idleSessionTTLInSeconds"] = args ? args.idleSessionTTLInSeconds : undefined;
|
|
39
|
+
inputs["name"] = args ? args.name : undefined;
|
|
40
|
+
inputs["roleArn"] = args ? args.roleArn : undefined;
|
|
41
|
+
inputs["testBotAliasTags"] = args ? args.testBotAliasTags : undefined;
|
|
42
|
+
inputs["arn"] = undefined /*out*/;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
inputs["arn"] = undefined /*out*/;
|
|
46
|
+
inputs["autoBuildBotLocales"] = undefined /*out*/;
|
|
47
|
+
inputs["botFileS3Location"] = undefined /*out*/;
|
|
48
|
+
inputs["botLocales"] = undefined /*out*/;
|
|
49
|
+
inputs["botTags"] = undefined /*out*/;
|
|
50
|
+
inputs["dataPrivacy"] = undefined /*out*/;
|
|
51
|
+
inputs["description"] = undefined /*out*/;
|
|
52
|
+
inputs["idleSessionTTLInSeconds"] = undefined /*out*/;
|
|
53
|
+
inputs["name"] = undefined /*out*/;
|
|
54
|
+
inputs["roleArn"] = undefined /*out*/;
|
|
55
|
+
inputs["testBotAliasTags"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
if (!opts.version) {
|
|
58
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
59
|
+
}
|
|
60
|
+
super(Bot.__pulumiType, name, inputs, opts);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Get an existing Bot resource's state with the given name, ID, and optional extra
|
|
64
|
+
* properties used to qualify the lookup.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resulting resource.
|
|
67
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
68
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
+
*/
|
|
70
|
+
static get(name, id, opts) {
|
|
71
|
+
return new Bot(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of Bot. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj) {
|
|
78
|
+
if (obj === undefined || obj === null) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
return obj['__pulumiType'] === Bot.__pulumiType;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.Bot = Bot;
|
|
85
|
+
/** @internal */
|
|
86
|
+
Bot.__pulumiType = 'aws-native:lex:Bot';
|
|
87
|
+
//# sourceMappingURL=bot.js.map
|
package/lex/bot.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bot.js","sourceRoot":"","sources":["../../lex/bot.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAyD1C;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAa,EAAE,IAAmC;QACxE,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,uBAAuB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpE,MAAM,IAAI,KAAK,CAAC,qDAAqD,CAAC,CAAC;aAC1E;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,C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IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;;AAzBL,kBA0GC;AA7FG,gBAAgB;AACO,gBAAY,GAAG,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs, enums } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* A Bot Alias enables you to change the version of a bot without updating applications that use the bot
|
|
5
|
+
*/
|
|
6
|
+
export declare class BotAlias extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing BotAlias resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BotAlias;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of BotAlias. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is BotAlias;
|
|
21
|
+
readonly arn: pulumi.Output<string>;
|
|
22
|
+
readonly botAliasId: pulumi.Output<string>;
|
|
23
|
+
readonly botAliasLocaleSettings: pulumi.Output<outputs.lex.BotAliasLocaleSettingsItem[] | undefined>;
|
|
24
|
+
readonly botAliasName: pulumi.Output<string>;
|
|
25
|
+
readonly botAliasStatus: pulumi.Output<enums.lex.BotAliasStatus>;
|
|
26
|
+
/**
|
|
27
|
+
* A list of tags to add to the bot alias.
|
|
28
|
+
*/
|
|
29
|
+
readonly botAliasTags: pulumi.Output<outputs.lex.BotAliasTag[] | undefined>;
|
|
30
|
+
readonly botId: pulumi.Output<string>;
|
|
31
|
+
readonly botVersion: pulumi.Output<string | undefined>;
|
|
32
|
+
readonly conversationLogSettings: pulumi.Output<outputs.lex.BotAliasConversationLogSettings | undefined>;
|
|
33
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
|
|
36
|
+
*/
|
|
37
|
+
readonly sentimentAnalysisSettings: pulumi.Output<outputs.lex.SentimentAnalysisSettingsProperties | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a BotAlias resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args: BotAliasArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a BotAlias resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface BotAliasArgs {
|
|
51
|
+
botAliasLocaleSettings?: pulumi.Input<pulumi.Input<inputs.lex.BotAliasLocaleSettingsItemArgs>[]>;
|
|
52
|
+
botAliasName?: pulumi.Input<string>;
|
|
53
|
+
/**
|
|
54
|
+
* A list of tags to add to the bot alias.
|
|
55
|
+
*/
|
|
56
|
+
botAliasTags?: pulumi.Input<pulumi.Input<inputs.lex.BotAliasTagArgs>[]>;
|
|
57
|
+
botId: pulumi.Input<string>;
|
|
58
|
+
botVersion?: pulumi.Input<string>;
|
|
59
|
+
conversationLogSettings?: pulumi.Input<inputs.lex.BotAliasConversationLogSettingsArgs>;
|
|
60
|
+
description?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
|
|
63
|
+
*/
|
|
64
|
+
sentimentAnalysisSettings?: pulumi.Input<inputs.lex.SentimentAnalysisSettingsPropertiesArgs>;
|
|
65
|
+
}
|
package/lex/botAlias.js
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.BotAlias = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A Bot Alias enables you to change the version of a bot without updating applications that use the bot
|
|
10
|
+
*/
|
|
11
|
+
class BotAlias extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a BotAlias resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let inputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
if ((!args || args.botId === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'botId'");
|
|
25
|
+
}
|
|
26
|
+
inputs["botAliasLocaleSettings"] = args ? args.botAliasLocaleSettings : undefined;
|
|
27
|
+
inputs["botAliasName"] = args ? args.botAliasName : undefined;
|
|
28
|
+
inputs["botAliasTags"] = args ? args.botAliasTags : undefined;
|
|
29
|
+
inputs["botId"] = args ? args.botId : undefined;
|
|
30
|
+
inputs["botVersion"] = args ? args.botVersion : undefined;
|
|
31
|
+
inputs["conversationLogSettings"] = args ? args.conversationLogSettings : undefined;
|
|
32
|
+
inputs["description"] = args ? args.description : undefined;
|
|
33
|
+
inputs["sentimentAnalysisSettings"] = args ? args.sentimentAnalysisSettings : undefined;
|
|
34
|
+
inputs["arn"] = undefined /*out*/;
|
|
35
|
+
inputs["botAliasId"] = undefined /*out*/;
|
|
36
|
+
inputs["botAliasStatus"] = undefined /*out*/;
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
inputs["arn"] = undefined /*out*/;
|
|
40
|
+
inputs["botAliasId"] = undefined /*out*/;
|
|
41
|
+
inputs["botAliasLocaleSettings"] = undefined /*out*/;
|
|
42
|
+
inputs["botAliasName"] = undefined /*out*/;
|
|
43
|
+
inputs["botAliasStatus"] = undefined /*out*/;
|
|
44
|
+
inputs["botAliasTags"] = undefined /*out*/;
|
|
45
|
+
inputs["botId"] = undefined /*out*/;
|
|
46
|
+
inputs["botVersion"] = undefined /*out*/;
|
|
47
|
+
inputs["conversationLogSettings"] = undefined /*out*/;
|
|
48
|
+
inputs["description"] = undefined /*out*/;
|
|
49
|
+
inputs["sentimentAnalysisSettings"] = undefined /*out*/;
|
|
50
|
+
}
|
|
51
|
+
if (!opts.version) {
|
|
52
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
53
|
+
}
|
|
54
|
+
super(BotAlias.__pulumiType, name, inputs, opts);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Get an existing BotAlias resource's state with the given name, ID, and optional extra
|
|
58
|
+
* properties used to qualify the lookup.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resulting resource.
|
|
61
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
62
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
63
|
+
*/
|
|
64
|
+
static get(name, id, opts) {
|
|
65
|
+
return new BotAlias(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Returns true if the given object is an instance of BotAlias. This is designed to work even
|
|
69
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
+
*/
|
|
71
|
+
static isInstance(obj) {
|
|
72
|
+
if (obj === undefined || obj === null) {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
return obj['__pulumiType'] === BotAlias.__pulumiType;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.BotAlias = BotAlias;
|
|
79
|
+
/** @internal */
|
|
80
|
+
BotAlias.__pulumiType = 'aws-native:lex:BotAlias';
|
|
81
|
+
//# sourceMappingURL=botAlias.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"botAlias.js","sourceRoot":"","sources":["../../lex/botAlias.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IA6C/C;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAmC;QAC7E,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,MAAM,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAA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S,CAAC,OAAO,CAAC;YACzC,MAAM,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,MAAM,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,MAAM,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC3D;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IAtFD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAzBL,4BAwFC;AA3EG,gBAAgB;AACO,qBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* A version is a numbered snapshot of your work that you can publish for use in different parts of your workflow, such as development, beta deployment, and production.
|
|
5
|
+
*/
|
|
6
|
+
export declare class BotVersion extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing BotVersion resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BotVersion;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of BotVersion. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is BotVersion;
|
|
21
|
+
readonly botId: pulumi.Output<string>;
|
|
22
|
+
readonly botVersion: pulumi.Output<string>;
|
|
23
|
+
readonly botVersionLocaleSpecification: pulumi.Output<outputs.lex.BotVersionLocaleSpecificationItemProperties[]>;
|
|
24
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Create a BotVersion resource with the given unique name, arguments, and options.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resource.
|
|
29
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
30
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
31
|
+
*/
|
|
32
|
+
constructor(name: string, args: BotVersionArgs, opts?: pulumi.CustomResourceOptions);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The set of arguments for constructing a BotVersion resource.
|
|
36
|
+
*/
|
|
37
|
+
export interface BotVersionArgs {
|
|
38
|
+
botId: pulumi.Input<string>;
|
|
39
|
+
botVersionLocaleSpecification: pulumi.Input<pulumi.Input<inputs.lex.BotVersionLocaleSpecificationItemPropertiesArgs>[]>;
|
|
40
|
+
description?: pulumi.Input<string>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.BotVersion = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A version is a numbered snapshot of your work that you can publish for use in different parts of your workflow, such as development, beta deployment, and production.
|
|
10
|
+
*/
|
|
11
|
+
class BotVersion extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a BotVersion resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let inputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
if ((!args || args.botId === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'botId'");
|
|
25
|
+
}
|
|
26
|
+
if ((!args || args.botVersionLocaleSpecification === undefined) && !opts.urn) {
|
|
27
|
+
throw new Error("Missing required property 'botVersionLocaleSpecification'");
|
|
28
|
+
}
|
|
29
|
+
inputs["botId"] = args ? args.botId : undefined;
|
|
30
|
+
inputs["botVersionLocaleSpecification"] = args ? args.botVersionLocaleSpecification : undefined;
|
|
31
|
+
inputs["description"] = args ? args.description : undefined;
|
|
32
|
+
inputs["botVersion"] = undefined /*out*/;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
inputs["botId"] = undefined /*out*/;
|
|
36
|
+
inputs["botVersion"] = undefined /*out*/;
|
|
37
|
+
inputs["botVersionLocaleSpecification"] = undefined /*out*/;
|
|
38
|
+
inputs["description"] = undefined /*out*/;
|
|
39
|
+
}
|
|
40
|
+
if (!opts.version) {
|
|
41
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
42
|
+
}
|
|
43
|
+
super(BotVersion.__pulumiType, name, inputs, opts);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing BotVersion resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, opts) {
|
|
54
|
+
return new BotVersion(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of BotVersion. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === BotVersion.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.BotVersion = BotVersion;
|
|
68
|
+
/** @internal */
|
|
69
|
+
BotVersion.__pulumiType = 'aws-native:lex:BotVersion';
|
|
70
|
+
//# sourceMappingURL=botVersion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"botVersion.js","sourceRoot":"","sources":["../../lex/botVersion.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAgCjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAmC;QAC/E,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CA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,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;IA9DD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AAzBL,gCAgEC;AAnDG,gBAAgB;AACO,uBAAY,GAAG,2BAA2B,CAAC"}
|
package/lex/index.d.ts
ADDED
package/lex/index.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
+
}) : (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
o[k2] = m[k];
|
|
10
|
+
}));
|
|
11
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const pulumi = require("@pulumi/pulumi");
|
|
16
|
+
const utilities = require("../utilities");
|
|
17
|
+
// Export members:
|
|
18
|
+
__exportStar(require("./bot"), exports);
|
|
19
|
+
__exportStar(require("./botAlias"), exports);
|
|
20
|
+
__exportStar(require("./botVersion"), exports);
|
|
21
|
+
__exportStar(require("./resourcePolicy"), exports);
|
|
22
|
+
// Export enums:
|
|
23
|
+
__exportStar(require("../types/enums/lex"), exports);
|
|
24
|
+
// Import resources to register:
|
|
25
|
+
const bot_1 = require("./bot");
|
|
26
|
+
const botAlias_1 = require("./botAlias");
|
|
27
|
+
const botVersion_1 = require("./botVersion");
|
|
28
|
+
const resourcePolicy_1 = require("./resourcePolicy");
|
|
29
|
+
const _module = {
|
|
30
|
+
version: utilities.getVersion(),
|
|
31
|
+
construct: (name, type, urn) => {
|
|
32
|
+
switch (type) {
|
|
33
|
+
case "aws-native:lex:Bot":
|
|
34
|
+
return new bot_1.Bot(name, undefined, { urn });
|
|
35
|
+
case "aws-native:lex:BotAlias":
|
|
36
|
+
return new botAlias_1.BotAlias(name, undefined, { urn });
|
|
37
|
+
case "aws-native:lex:BotVersion":
|
|
38
|
+
return new botVersion_1.BotVersion(name, undefined, { urn });
|
|
39
|
+
case "aws-native:lex:ResourcePolicy":
|
|
40
|
+
return new resourcePolicy_1.ResourcePolicy(name, undefined, { urn });
|
|
41
|
+
default:
|
|
42
|
+
throw new Error(`unknown resource type ${type}`);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
pulumi.runtime.registerResourceModule("aws-native", "lex", _module);
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
package/lex/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lex/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,wCAAsB;AACtB,6CAA2B;AAC3B,+CAA6B;AAC7B,mDAAiC;AAEjC,gBAAgB;AAChB,qDAAmC;AAEnC,gCAAgC;AAChC,+BAA4B;AAC5B,yCAAsC;AACtC,6CAA0C;AAC1C,qDAAkD;AAElD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,oBAAoB;gBACrB,OAAO,IAAI,SAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,uBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,+BAA+B;gBAChC,OAAO,IAAI,+BAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* A resource policy with specified policy statements that attaches to a Lex bot or bot alias.
|
|
5
|
+
*/
|
|
6
|
+
export declare class ResourcePolicy extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing ResourcePolicy resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ResourcePolicy;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of ResourcePolicy. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is ResourcePolicy;
|
|
21
|
+
readonly policy: pulumi.Output<outputs.lex.ResourcePolicyPolicy>;
|
|
22
|
+
readonly resourceArn: pulumi.Output<string>;
|
|
23
|
+
readonly revisionId: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Create a ResourcePolicy resource with the given unique name, arguments, and options.
|
|
26
|
+
*
|
|
27
|
+
* @param name The _unique_ name of the resource.
|
|
28
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
29
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
30
|
+
*/
|
|
31
|
+
constructor(name: string, args: ResourcePolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The set of arguments for constructing a ResourcePolicy resource.
|
|
35
|
+
*/
|
|
36
|
+
export interface ResourcePolicyArgs {
|
|
37
|
+
policy: pulumi.Input<inputs.lex.ResourcePolicyPolicyArgs>;
|
|
38
|
+
resourceArn: pulumi.Input<string>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.ResourcePolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A resource policy with specified policy statements that attaches to a Lex bot or bot alias.
|
|
10
|
+
*/
|
|
11
|
+
class ResourcePolicy extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a ResourcePolicy resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let inputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
if ((!args || args.policy === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'policy'");
|
|
25
|
+
}
|
|
26
|
+
if ((!args || args.resourceArn === undefined) && !opts.urn) {
|
|
27
|
+
throw new Error("Missing required property 'resourceArn'");
|
|
28
|
+
}
|
|
29
|
+
inputs["policy"] = args ? args.policy : undefined;
|
|
30
|
+
inputs["resourceArn"] = args ? args.resourceArn : undefined;
|
|
31
|
+
inputs["revisionId"] = undefined /*out*/;
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
inputs["policy"] = undefined /*out*/;
|
|
35
|
+
inputs["resourceArn"] = undefined /*out*/;
|
|
36
|
+
inputs["revisionId"] = undefined /*out*/;
|
|
37
|
+
}
|
|
38
|
+
if (!opts.version) {
|
|
39
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
40
|
+
}
|
|
41
|
+
super(ResourcePolicy.__pulumiType, name, inputs, opts);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing ResourcePolicy resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, opts) {
|
|
52
|
+
return new ResourcePolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of ResourcePolicy. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === ResourcePolicy.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.ResourcePolicy = ResourcePolicy;
|
|
66
|
+
/** @internal */
|
|
67
|
+
ResourcePolicy.__pulumiType = 'aws-native:lex:ResourcePolicy';
|
|
68
|
+
//# sourceMappingURL=resourcePolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourcePolicy.js","sourceRoot":"","sources":["../../lex/resourcePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IA+BrD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAwB,EAAE,IAAmC;QACnF,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,IAAI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/D,CAAC;;AAzBL,wCA6DC;AAhDG,gBAAgB;AACO,2BAAY,GAAG,+BAA+B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws-native",
|
|
3
|
-
"version": "v0.7.
|
|
3
|
+
"version": "v0.7.2-alpha.1638295005+0cd1411e",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"aws",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tsc",
|
|
16
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.7.
|
|
16
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.7.2-alpha.1638295005+0cd1411e"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs, enums } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Definition of AWS::RefactorSpaces::Application Resource Type
|
|
5
|
+
*/
|
|
6
|
+
export declare class Application extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing Application resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Application;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of Application. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is Application;
|
|
21
|
+
readonly apiGatewayId: pulumi.Output<string>;
|
|
22
|
+
readonly apiGatewayProxy: pulumi.Output<outputs.refactorspaces.ApplicationApiGatewayProxyInput | undefined>;
|
|
23
|
+
readonly applicationIdentifier: pulumi.Output<string>;
|
|
24
|
+
readonly arn: pulumi.Output<string>;
|
|
25
|
+
readonly environmentIdentifier: pulumi.Output<string | undefined>;
|
|
26
|
+
readonly name: pulumi.Output<string | undefined>;
|
|
27
|
+
readonly nlbArn: pulumi.Output<string>;
|
|
28
|
+
readonly nlbName: pulumi.Output<string>;
|
|
29
|
+
readonly proxyType: pulumi.Output<enums.refactorspaces.ApplicationProxyType | undefined>;
|
|
30
|
+
readonly proxyUrl: pulumi.Output<string>;
|
|
31
|
+
readonly stageName: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
|
|
34
|
+
*/
|
|
35
|
+
readonly tags: pulumi.Output<outputs.refactorspaces.ApplicationTag[] | undefined>;
|
|
36
|
+
readonly vpcId: pulumi.Output<string | undefined>;
|
|
37
|
+
readonly vpcLinkId: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a Application resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args?: ApplicationArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a Application resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface ApplicationArgs {
|
|
51
|
+
apiGatewayProxy?: pulumi.Input<inputs.refactorspaces.ApplicationApiGatewayProxyInputArgs>;
|
|
52
|
+
environmentIdentifier?: pulumi.Input<string>;
|
|
53
|
+
name?: pulumi.Input<string>;
|
|
54
|
+
proxyType?: pulumi.Input<enums.refactorspaces.ApplicationProxyType>;
|
|
55
|
+
/**
|
|
56
|
+
* Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
|
|
57
|
+
*/
|
|
58
|
+
tags?: pulumi.Input<pulumi.Input<inputs.refactorspaces.ApplicationTagArgs>[]>;
|
|
59
|
+
vpcId?: pulumi.Input<string>;
|
|
60
|
+
}
|