@pulumi/aws-native 0.7.2-alpha.1637738911 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/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 +4 -1
- package/index.js +9 -3
- package/index.js.map +1 -1
- 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/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 +5 -1
- package/types/enums/index.js +10 -2
- package/types/enums/index.js.map +1 -1
- 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 +470 -0
- package/types/output.d.ts +470 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Resource Type definition for AWS::ApiGateway::BasePathMapping
|
|
4
|
+
*
|
|
5
|
+
* @deprecated BasePathMapping is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
4
6
|
*/
|
|
5
7
|
export declare class BasePathMapping extends pulumi.CustomResource {
|
|
6
8
|
/**
|
|
@@ -40,6 +42,7 @@ export declare class BasePathMapping extends pulumi.CustomResource {
|
|
|
40
42
|
* @param args The arguments to use to populate this resource's properties.
|
|
41
43
|
* @param opts A bag of options that control this resource's behavior.
|
|
42
44
|
*/
|
|
45
|
+
/** @deprecated BasePathMapping is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
43
46
|
constructor(name: string, args: BasePathMappingArgs, opts?: pulumi.CustomResourceOptions);
|
|
44
47
|
}
|
|
45
48
|
/**
|
|
@@ -7,6 +7,8 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Resource Type definition for AWS::ApiGateway::BasePathMapping
|
|
10
|
+
*
|
|
11
|
+
* @deprecated BasePathMapping is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
10
12
|
*/
|
|
11
13
|
class BasePathMapping extends pulumi.CustomResource {
|
|
12
14
|
/**
|
|
@@ -16,7 +18,9 @@ class BasePathMapping extends pulumi.CustomResource {
|
|
|
16
18
|
* @param args The arguments to use to populate this resource's properties.
|
|
17
19
|
* @param opts A bag of options that control this resource's behavior.
|
|
18
20
|
*/
|
|
21
|
+
/** @deprecated BasePathMapping is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
19
22
|
constructor(name, args, opts) {
|
|
23
|
+
pulumi.log.warn("BasePathMapping is deprecated: BasePathMapping is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
20
24
|
let inputs = {};
|
|
21
25
|
opts = opts || {};
|
|
22
26
|
if (!opts.id) {
|
|
@@ -48,6 +52,7 @@ class BasePathMapping extends pulumi.CustomResource {
|
|
|
48
52
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
53
|
*/
|
|
50
54
|
static get(name, id, opts) {
|
|
55
|
+
pulumi.log.warn("BasePathMapping is deprecated: BasePathMapping is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
51
56
|
return new BasePathMapping(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
57
|
}
|
|
53
58
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basePathMapping.js","sourceRoot":"","sources":["../../apigateway/basePathMapping.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"basePathMapping.js","sourceRoot":"","sources":["../../apigateway/basePathMapping.ts"],"names":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AAC,OAAO,CAAC;SACvC;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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IA1ED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2KAA2K,CAAC,CAAA;QAC5L,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CA4EC;AA9DG,gBAAgB;AACO,4BAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import { input as inputs, output as outputs } from "../types";
|
|
3
3
|
/**
|
|
4
4
|
* Resource Type definition for AWS::ApiGateway::Deployment
|
|
5
|
-
*
|
|
6
|
-
* @deprecated Deployment is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
7
5
|
*/
|
|
8
6
|
export declare class Deployment extends pulumi.CustomResource {
|
|
9
7
|
/**
|
|
@@ -20,10 +18,29 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
20
18
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
19
|
*/
|
|
22
20
|
static isInstance(obj: any): obj is Deployment;
|
|
21
|
+
/**
|
|
22
|
+
* Specifies settings for the canary deployment.
|
|
23
|
+
*/
|
|
23
24
|
readonly deploymentCanarySettings: pulumi.Output<outputs.apigateway.DeploymentCanarySettings | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Primary Id for this resource
|
|
27
|
+
*/
|
|
28
|
+
readonly deploymentId: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* A description of the purpose of the API Gateway deployment.
|
|
31
|
+
*/
|
|
24
32
|
readonly description: pulumi.Output<string | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* The ID of the RestApi resource to deploy.
|
|
35
|
+
*/
|
|
25
36
|
readonly restApiId: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Configures the stage that API Gateway creates with this deployment.
|
|
39
|
+
*/
|
|
26
40
|
readonly stageDescription: pulumi.Output<outputs.apigateway.DeploymentStageDescription | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* A name for the stage that API Gateway creates with this deployment. Use only alphanumeric characters.
|
|
43
|
+
*/
|
|
27
44
|
readonly stageName: pulumi.Output<string | undefined>;
|
|
28
45
|
/**
|
|
29
46
|
* Create a Deployment resource with the given unique name, arguments, and options.
|
|
@@ -32,16 +49,30 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
32
49
|
* @param args The arguments to use to populate this resource's properties.
|
|
33
50
|
* @param opts A bag of options that control this resource's behavior.
|
|
34
51
|
*/
|
|
35
|
-
/** @deprecated Deployment is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
36
52
|
constructor(name: string, args: DeploymentArgs, opts?: pulumi.CustomResourceOptions);
|
|
37
53
|
}
|
|
38
54
|
/**
|
|
39
55
|
* The set of arguments for constructing a Deployment resource.
|
|
40
56
|
*/
|
|
41
57
|
export interface DeploymentArgs {
|
|
58
|
+
/**
|
|
59
|
+
* Specifies settings for the canary deployment.
|
|
60
|
+
*/
|
|
42
61
|
deploymentCanarySettings?: pulumi.Input<inputs.apigateway.DeploymentCanarySettingsArgs>;
|
|
62
|
+
/**
|
|
63
|
+
* A description of the purpose of the API Gateway deployment.
|
|
64
|
+
*/
|
|
43
65
|
description?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The ID of the RestApi resource to deploy.
|
|
68
|
+
*/
|
|
44
69
|
restApiId: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Configures the stage that API Gateway creates with this deployment.
|
|
72
|
+
*/
|
|
45
73
|
stageDescription?: pulumi.Input<inputs.apigateway.DeploymentStageDescriptionArgs>;
|
|
74
|
+
/**
|
|
75
|
+
* A name for the stage that API Gateway creates with this deployment. Use only alphanumeric characters.
|
|
76
|
+
*/
|
|
46
77
|
stageName?: pulumi.Input<string>;
|
|
47
78
|
}
|
package/apigateway/deployment.js
CHANGED
|
@@ -7,8 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Resource Type definition for AWS::ApiGateway::Deployment
|
|
10
|
-
*
|
|
11
|
-
* @deprecated Deployment is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
12
10
|
*/
|
|
13
11
|
class Deployment extends pulumi.CustomResource {
|
|
14
12
|
/**
|
|
@@ -18,9 +16,7 @@ class Deployment extends pulumi.CustomResource {
|
|
|
18
16
|
* @param args The arguments to use to populate this resource's properties.
|
|
19
17
|
* @param opts A bag of options that control this resource's behavior.
|
|
20
18
|
*/
|
|
21
|
-
/** @deprecated Deployment is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
22
19
|
constructor(name, args, opts) {
|
|
23
|
-
pulumi.log.warn("Deployment is deprecated: Deployment is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
24
20
|
let inputs = {};
|
|
25
21
|
opts = opts || {};
|
|
26
22
|
if (!opts.id) {
|
|
@@ -32,9 +28,11 @@ class Deployment extends pulumi.CustomResource {
|
|
|
32
28
|
inputs["restApiId"] = args ? args.restApiId : undefined;
|
|
33
29
|
inputs["stageDescription"] = args ? args.stageDescription : undefined;
|
|
34
30
|
inputs["stageName"] = args ? args.stageName : undefined;
|
|
31
|
+
inputs["deploymentId"] = undefined /*out*/;
|
|
35
32
|
}
|
|
36
33
|
else {
|
|
37
34
|
inputs["deploymentCanarySettings"] = undefined /*out*/;
|
|
35
|
+
inputs["deploymentId"] = undefined /*out*/;
|
|
38
36
|
inputs["description"] = undefined /*out*/;
|
|
39
37
|
inputs["restApiId"] = undefined /*out*/;
|
|
40
38
|
inputs["stageDescription"] = undefined /*out*/;
|
|
@@ -54,7 +52,6 @@ class Deployment extends pulumi.CustomResource {
|
|
|
54
52
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
53
|
*/
|
|
56
54
|
static get(name, id, opts) {
|
|
57
|
-
pulumi.log.warn("Deployment is deprecated: Deployment is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
58
55
|
return new Deployment(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
59
56
|
}
|
|
60
57
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../../apigateway/deployment.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../../apigateway/deployment.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAoDjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAmC;QAC/E,IAAI,MAAM,GAAkB,EAAE,C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AAC,OAAO,CAAC;SAC3C;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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;IAnFD;;;;;;;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,gCAqFC;AAxEG,gBAAgB;AACO,uBAAY,GAAG,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::Evidently::Experiment.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Experiment extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing Experiment 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): Experiment;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of Experiment. 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 Experiment;
|
|
21
|
+
readonly arn: pulumi.Output<string>;
|
|
22
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
23
|
+
readonly metricGoals: pulumi.Output<outputs.evidently.ExperimentMetricGoalObject[]>;
|
|
24
|
+
readonly name: pulumi.Output<string>;
|
|
25
|
+
readonly onlineAbConfig: pulumi.Output<outputs.evidently.ExperimentOnlineAbConfigObject>;
|
|
26
|
+
readonly project: pulumi.Output<string>;
|
|
27
|
+
readonly randomizationSalt: pulumi.Output<string | undefined>;
|
|
28
|
+
readonly samplingRate: pulumi.Output<number | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* An array of key-value pairs to apply to this resource.
|
|
31
|
+
*/
|
|
32
|
+
readonly tags: pulumi.Output<outputs.evidently.ExperimentTag[] | undefined>;
|
|
33
|
+
readonly treatments: pulumi.Output<outputs.evidently.ExperimentTreatmentObject[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Create a Experiment resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name: string, args: ExperimentArgs, opts?: pulumi.CustomResourceOptions);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The set of arguments for constructing a Experiment resource.
|
|
45
|
+
*/
|
|
46
|
+
export interface ExperimentArgs {
|
|
47
|
+
description?: pulumi.Input<string>;
|
|
48
|
+
metricGoals: pulumi.Input<pulumi.Input<inputs.evidently.ExperimentMetricGoalObjectArgs>[]>;
|
|
49
|
+
name?: pulumi.Input<string>;
|
|
50
|
+
onlineAbConfig: pulumi.Input<inputs.evidently.ExperimentOnlineAbConfigObjectArgs>;
|
|
51
|
+
project: pulumi.Input<string>;
|
|
52
|
+
randomizationSalt?: pulumi.Input<string>;
|
|
53
|
+
samplingRate?: pulumi.Input<number>;
|
|
54
|
+
/**
|
|
55
|
+
* An array of key-value pairs to apply to this resource.
|
|
56
|
+
*/
|
|
57
|
+
tags?: pulumi.Input<pulumi.Input<inputs.evidently.ExperimentTagArgs>[]>;
|
|
58
|
+
treatments: pulumi.Input<pulumi.Input<inputs.evidently.ExperimentTreatmentObjectArgs>[]>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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.Experiment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::Evidently::Experiment.
|
|
10
|
+
*/
|
|
11
|
+
class Experiment extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a Experiment 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.metricGoals === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'metricGoals'");
|
|
25
|
+
}
|
|
26
|
+
if ((!args || args.onlineAbConfig === undefined) && !opts.urn) {
|
|
27
|
+
throw new Error("Missing required property 'onlineAbConfig'");
|
|
28
|
+
}
|
|
29
|
+
if ((!args || args.project === undefined) && !opts.urn) {
|
|
30
|
+
throw new Error("Missing required property 'project'");
|
|
31
|
+
}
|
|
32
|
+
if ((!args || args.treatments === undefined) && !opts.urn) {
|
|
33
|
+
throw new Error("Missing required property 'treatments'");
|
|
34
|
+
}
|
|
35
|
+
inputs["description"] = args ? args.description : undefined;
|
|
36
|
+
inputs["metricGoals"] = args ? args.metricGoals : undefined;
|
|
37
|
+
inputs["name"] = args ? args.name : undefined;
|
|
38
|
+
inputs["onlineAbConfig"] = args ? args.onlineAbConfig : undefined;
|
|
39
|
+
inputs["project"] = args ? args.project : undefined;
|
|
40
|
+
inputs["randomizationSalt"] = args ? args.randomizationSalt : undefined;
|
|
41
|
+
inputs["samplingRate"] = args ? args.samplingRate : undefined;
|
|
42
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
43
|
+
inputs["treatments"] = args ? args.treatments : undefined;
|
|
44
|
+
inputs["arn"] = undefined /*out*/;
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
inputs["arn"] = undefined /*out*/;
|
|
48
|
+
inputs["description"] = undefined /*out*/;
|
|
49
|
+
inputs["metricGoals"] = undefined /*out*/;
|
|
50
|
+
inputs["name"] = undefined /*out*/;
|
|
51
|
+
inputs["onlineAbConfig"] = undefined /*out*/;
|
|
52
|
+
inputs["project"] = undefined /*out*/;
|
|
53
|
+
inputs["randomizationSalt"] = undefined /*out*/;
|
|
54
|
+
inputs["samplingRate"] = undefined /*out*/;
|
|
55
|
+
inputs["tags"] = undefined /*out*/;
|
|
56
|
+
inputs["treatments"] = undefined /*out*/;
|
|
57
|
+
}
|
|
58
|
+
if (!opts.version) {
|
|
59
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
60
|
+
}
|
|
61
|
+
super(Experiment.__pulumiType, name, inputs, opts);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Get an existing Experiment resource's state with the given name, ID, and optional extra
|
|
65
|
+
* properties used to qualify the lookup.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resulting resource.
|
|
68
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
69
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
70
|
+
*/
|
|
71
|
+
static get(name, id, opts) {
|
|
72
|
+
return new Experiment(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the given object is an instance of Experiment. This is designed to work even
|
|
76
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
+
*/
|
|
78
|
+
static isInstance(obj) {
|
|
79
|
+
if (obj === undefined || obj === null) {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
return obj['__pulumiType'] === Experiment.__pulumiType;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.Experiment = Experiment;
|
|
86
|
+
/** @internal */
|
|
87
|
+
Experiment.__pulumiType = 'aws-native:evidently:Experiment';
|
|
88
|
+
//# sourceMappingURL=experiment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"experiment.js","sourceRoot":"","sources":["../../evidently/experiment.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAyCjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAmC;QAC/E,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;g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CAAC,CAAC;IACvD,CAAC;IAzFD;;;;;;;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,gCA2FC;AA9EG,gBAAgB;AACO,uBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs, enums } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::Evidently::Feature.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Feature extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing Feature 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): Feature;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of Feature. 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 Feature;
|
|
21
|
+
readonly arn: pulumi.Output<string>;
|
|
22
|
+
readonly defaultVariation: pulumi.Output<string | undefined>;
|
|
23
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
24
|
+
readonly entityOverrides: pulumi.Output<outputs.evidently.FeatureEntityOverride[] | undefined>;
|
|
25
|
+
readonly evaluationStrategy: pulumi.Output<enums.evidently.FeatureEvaluationStrategy | undefined>;
|
|
26
|
+
readonly name: pulumi.Output<string>;
|
|
27
|
+
readonly project: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* An array of key-value pairs to apply to this resource.
|
|
30
|
+
*/
|
|
31
|
+
readonly tags: pulumi.Output<outputs.evidently.FeatureTag[] | undefined>;
|
|
32
|
+
readonly variations: pulumi.Output<outputs.evidently.FeatureVariationObject[]>;
|
|
33
|
+
/**
|
|
34
|
+
* Create a Feature resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name: string, args: FeatureArgs, opts?: pulumi.CustomResourceOptions);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The set of arguments for constructing a Feature resource.
|
|
44
|
+
*/
|
|
45
|
+
export interface FeatureArgs {
|
|
46
|
+
defaultVariation?: pulumi.Input<string>;
|
|
47
|
+
description?: pulumi.Input<string>;
|
|
48
|
+
entityOverrides?: pulumi.Input<pulumi.Input<inputs.evidently.FeatureEntityOverrideArgs>[]>;
|
|
49
|
+
evaluationStrategy?: pulumi.Input<enums.evidently.FeatureEvaluationStrategy>;
|
|
50
|
+
name?: pulumi.Input<string>;
|
|
51
|
+
project: pulumi.Input<string>;
|
|
52
|
+
/**
|
|
53
|
+
* An array of key-value pairs to apply to this resource.
|
|
54
|
+
*/
|
|
55
|
+
tags?: pulumi.Input<pulumi.Input<inputs.evidently.FeatureTagArgs>[]>;
|
|
56
|
+
variations: pulumi.Input<pulumi.Input<inputs.evidently.FeatureVariationObjectArgs>[]>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.Feature = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::Evidently::Feature.
|
|
10
|
+
*/
|
|
11
|
+
class Feature extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a Feature 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.project === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'project'");
|
|
25
|
+
}
|
|
26
|
+
if ((!args || args.variations === undefined) && !opts.urn) {
|
|
27
|
+
throw new Error("Missing required property 'variations'");
|
|
28
|
+
}
|
|
29
|
+
inputs["defaultVariation"] = args ? args.defaultVariation : undefined;
|
|
30
|
+
inputs["description"] = args ? args.description : undefined;
|
|
31
|
+
inputs["entityOverrides"] = args ? args.entityOverrides : undefined;
|
|
32
|
+
inputs["evaluationStrategy"] = args ? args.evaluationStrategy : undefined;
|
|
33
|
+
inputs["name"] = args ? args.name : undefined;
|
|
34
|
+
inputs["project"] = args ? args.project : undefined;
|
|
35
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
36
|
+
inputs["variations"] = args ? args.variations : undefined;
|
|
37
|
+
inputs["arn"] = undefined /*out*/;
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
inputs["arn"] = undefined /*out*/;
|
|
41
|
+
inputs["defaultVariation"] = undefined /*out*/;
|
|
42
|
+
inputs["description"] = undefined /*out*/;
|
|
43
|
+
inputs["entityOverrides"] = undefined /*out*/;
|
|
44
|
+
inputs["evaluationStrategy"] = undefined /*out*/;
|
|
45
|
+
inputs["name"] = undefined /*out*/;
|
|
46
|
+
inputs["project"] = undefined /*out*/;
|
|
47
|
+
inputs["tags"] = undefined /*out*/;
|
|
48
|
+
inputs["variations"] = undefined /*out*/;
|
|
49
|
+
}
|
|
50
|
+
if (!opts.version) {
|
|
51
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
52
|
+
}
|
|
53
|
+
super(Feature.__pulumiType, name, inputs, opts);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Get an existing Feature resource's state with the given name, ID, and optional extra
|
|
57
|
+
* properties used to qualify the lookup.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resulting resource.
|
|
60
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name, id, opts) {
|
|
64
|
+
return new Feature(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of Feature. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj) {
|
|
71
|
+
if (obj === undefined || obj === null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return obj['__pulumiType'] === Feature.__pulumiType;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.Feature = Feature;
|
|
78
|
+
/** @internal */
|
|
79
|
+
Feature.__pulumiType = 'aws-native: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AK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;IAhFD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AAzBL,0BAkFC;AArEG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -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("./experiment"), exports);
|
|
19
|
+
__exportStar(require("./feature"), exports);
|
|
20
|
+
__exportStar(require("./launch"), exports);
|
|
21
|
+
__exportStar(require("./project"), exports);
|
|
22
|
+
// Export enums:
|
|
23
|
+
__exportStar(require("../types/enums/evidently"), exports);
|
|
24
|
+
// Import resources to register:
|
|
25
|
+
const experiment_1 = require("./experiment");
|
|
26
|
+
const feature_1 = require("./feature");
|
|
27
|
+
const launch_1 = require("./launch");
|
|
28
|
+
const project_1 = require("./project");
|
|
29
|
+
const _module = {
|
|
30
|
+
version: utilities.getVersion(),
|
|
31
|
+
construct: (name, type, urn) => {
|
|
32
|
+
switch (type) {
|
|
33
|
+
case "aws-native:evidently:Experiment":
|
|
34
|
+
return new experiment_1.Experiment(name, undefined, { urn });
|
|
35
|
+
case "aws-native:evidently:Feature":
|
|
36
|
+
return new feature_1.Feature(name, undefined, { urn });
|
|
37
|
+
case "aws-native:evidently:Launch":
|
|
38
|
+
return new launch_1.Launch(name, undefined, { urn });
|
|
39
|
+
case "aws-native:evidently:Project":
|
|
40
|
+
return new project_1.Project(name, undefined, { urn });
|
|
41
|
+
default:
|
|
42
|
+
throw new Error(`unknown resource type ${type}`);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
pulumi.runtime.registerResourceModule("aws-native", "evidently", _module);
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../evidently/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,+CAA6B;AAC7B,4CAA0B;AAC1B,2CAAyB;AACzB,4CAA0B;AAE1B,gBAAgB;AAChB,2DAAyC;AAEzC,gCAAgC;AAChC,6CAA0C;AAC1C,uCAAoC;AACpC,qCAAkC;AAClC,uCAAoC;AAEpC,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,iCAAiC;gBAClC,OAAO,IAAI,uBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,eAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::Evidently::Launch.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Launch extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing Launch 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): Launch;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of Launch. 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 Launch;
|
|
21
|
+
readonly arn: pulumi.Output<string>;
|
|
22
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
23
|
+
readonly groups: pulumi.Output<outputs.evidently.LaunchGroupObject[]>;
|
|
24
|
+
readonly metricMonitors: pulumi.Output<outputs.evidently.LaunchMetricDefinitionObject[] | undefined>;
|
|
25
|
+
readonly name: pulumi.Output<string>;
|
|
26
|
+
readonly project: pulumi.Output<string>;
|
|
27
|
+
readonly randomizationSalt: pulumi.Output<string | undefined>;
|
|
28
|
+
readonly scheduledSplitsConfig: pulumi.Output<outputs.evidently.LaunchStepConfig[]>;
|
|
29
|
+
/**
|
|
30
|
+
* An array of key-value pairs to apply to this resource.
|
|
31
|
+
*/
|
|
32
|
+
readonly tags: pulumi.Output<outputs.evidently.LaunchTag[] | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Create a Launch resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name: string, args: LaunchArgs, opts?: pulumi.CustomResourceOptions);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The set of arguments for constructing a Launch resource.
|
|
44
|
+
*/
|
|
45
|
+
export interface LaunchArgs {
|
|
46
|
+
description?: pulumi.Input<string>;
|
|
47
|
+
groups: pulumi.Input<pulumi.Input<inputs.evidently.LaunchGroupObjectArgs>[]>;
|
|
48
|
+
metricMonitors?: pulumi.Input<pulumi.Input<inputs.evidently.LaunchMetricDefinitionObjectArgs>[]>;
|
|
49
|
+
name?: pulumi.Input<string>;
|
|
50
|
+
project: pulumi.Input<string>;
|
|
51
|
+
randomizationSalt?: pulumi.Input<string>;
|
|
52
|
+
scheduledSplitsConfig: pulumi.Input<pulumi.Input<inputs.evidently.LaunchStepConfigArgs>[]>;
|
|
53
|
+
/**
|
|
54
|
+
* An array of key-value pairs to apply to this resource.
|
|
55
|
+
*/
|
|
56
|
+
tags?: pulumi.Input<pulumi.Input<inputs.evidently.LaunchTagArgs>[]>;
|
|
57
|
+
}
|