@pulumi/aws 5.30.0-alpha.1676319993 → 5.30.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.
Files changed (66) hide show
  1. package/acmpca/certificateAuthority.d.ts +4 -4
  2. package/acmpca/certificateAuthority.js +1 -1
  3. package/alb/loadBalancer.d.ts +3 -3
  4. package/applicationloadbalancing/loadBalancer.d.ts +3 -3
  5. package/cfg/recorderStatus.d.ts +1 -1
  6. package/cfg/recorderStatus.js +1 -1
  7. package/codebuild/webhook.d.ts +1 -1
  8. package/codebuild/webhook.js +1 -1
  9. package/dms/endpoint.d.ts +30 -9
  10. package/dms/endpoint.js.map +1 -1
  11. package/dynamodb/table.d.ts +8 -2
  12. package/dynamodb/table.js +1 -1
  13. package/dynamodb/table.js.map +1 -1
  14. package/dynamodb/tableReplica.d.ts +6 -0
  15. package/dynamodb/tableReplica.js +1 -1
  16. package/dynamodb/tableReplica.js.map +1 -1
  17. package/ec2/securityGroup.d.ts +2 -0
  18. package/ec2/securityGroup.js +2 -0
  19. package/ec2/securityGroup.js.map +1 -1
  20. package/ec2/vpcIpamPool.d.ts +15 -3
  21. package/ec2/vpcIpamPool.js +2 -0
  22. package/ec2/vpcIpamPool.js.map +1 -1
  23. package/ec2/vpcIpamPoolCidr.d.ts +24 -4
  24. package/ec2/vpcIpamPoolCidr.js +5 -1
  25. package/ec2/vpcIpamPoolCidr.js.map +1 -1
  26. package/ec2/vpcIpamPoolCidrAllocation.d.ts +3 -3
  27. package/elasticloadbalancingv2/loadBalancer.d.ts +3 -3
  28. package/evidently/index.d.ts +3 -0
  29. package/evidently/index.js +6 -1
  30. package/evidently/index.js.map +1 -1
  31. package/evidently/launch.d.ts +462 -0
  32. package/evidently/launch.js +339 -0
  33. package/evidently/launch.js.map +1 -0
  34. package/iam/serverCertificate.d.ts +1 -1
  35. package/lambda/eventSourceMapping.d.ts +3 -3
  36. package/lambda/function.d.ts +36 -12
  37. package/lambda/function.js +4 -0
  38. package/lambda/function.js.map +1 -1
  39. package/lambda/getFunction.d.ts +1 -1
  40. package/lb/loadBalancer.d.ts +3 -3
  41. package/lightsail/bucketAccessKey.d.ts +91 -0
  42. package/lightsail/bucketAccessKey.js +71 -0
  43. package/lightsail/bucketAccessKey.js.map +1 -0
  44. package/lightsail/index.d.ts +3 -0
  45. package/lightsail/index.js +6 -1
  46. package/lightsail/index.js.map +1 -1
  47. package/medialive/channel.d.ts +2 -2
  48. package/medialive/channel.js +2 -2
  49. package/networkmanager/coreNetwork.d.ts +73 -12
  50. package/networkmanager/coreNetwork.js +43 -8
  51. package/networkmanager/coreNetwork.js.map +1 -1
  52. package/networkmanager/coreNetworkPolicyAttachment.d.ts +137 -0
  53. package/networkmanager/coreNetworkPolicyAttachment.js +128 -0
  54. package/networkmanager/coreNetworkPolicyAttachment.js.map +1 -0
  55. package/networkmanager/index.d.ts +3 -0
  56. package/networkmanager/index.js +6 -1
  57. package/networkmanager/index.js.map +1 -1
  58. package/opsworks/permission.d.ts +1 -1
  59. package/opsworks/permission.js +3 -0
  60. package/opsworks/permission.js.map +1 -1
  61. package/package.json +2 -2
  62. package/package.json.dev +2 -2
  63. package/rds/getCluster.d.ts +9 -0
  64. package/rds/getCluster.js.map +1 -1
  65. package/types/input.d.ts +114 -4
  66. package/types/output.d.ts +114 -4
@@ -15,7 +15,7 @@ const utilities = require("../utilities");
15
15
  *
16
16
  * ## Import
17
17
  *
18
- * IPAMs can be imported using the `<cidr>_<ipam-pool-id>`, e.g.
18
+ * IPAMs can be imported using the `<cidr>_<ipam-pool-id>`. Please note we **DO NOT** use the ipam pool cidr id as this was introduced after the resource already existed. An import example
19
19
  *
20
20
  * ```sh
21
21
  * $ pulumi import aws:ec2/vpcIpamPoolCidr:VpcIpamPoolCidr example 172.2.0.0/24_ipam-pool-0e634f5a1517cccdc
@@ -51,7 +51,9 @@ class VpcIpamPoolCidr extends pulumi.CustomResource {
51
51
  const state = argsOrState;
52
52
  resourceInputs["cidr"] = state ? state.cidr : undefined;
53
53
  resourceInputs["cidrAuthorizationContext"] = state ? state.cidrAuthorizationContext : undefined;
54
+ resourceInputs["ipamPoolCidrId"] = state ? state.ipamPoolCidrId : undefined;
54
55
  resourceInputs["ipamPoolId"] = state ? state.ipamPoolId : undefined;
56
+ resourceInputs["netmaskLength"] = state ? state.netmaskLength : undefined;
55
57
  }
56
58
  else {
57
59
  const args = argsOrState;
@@ -61,6 +63,8 @@ class VpcIpamPoolCidr extends pulumi.CustomResource {
61
63
  resourceInputs["cidr"] = args ? args.cidr : undefined;
62
64
  resourceInputs["cidrAuthorizationContext"] = args ? args.cidrAuthorizationContext : undefined;
63
65
  resourceInputs["ipamPoolId"] = args ? args.ipamPoolId : undefined;
66
+ resourceInputs["netmaskLength"] = args ? args.netmaskLength : undefined;
67
+ resourceInputs["ipamPoolCidrId"] = undefined /*out*/;
64
68
  }
65
69
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
66
70
  super(VpcIpamPoolCidr.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"vpcIpamPoolCidr.js","sourceRoot":"","sources":["../../ec2/vpcIpamPoolCidr.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SA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,IAAI,CAAC,CAAC;IACpE,CAAC;;AAhFL,0CAiFC;AAnEG,gBAAgB;AACO,4BAAY,GAAG,yCAAyC,CAAC"}
@@ -101,7 +101,7 @@ export declare class VpcIpamPoolCidrAllocation extends pulumi.CustomResource {
101
101
  */
102
102
  readonly ipamPoolId: pulumi.Output<string>;
103
103
  /**
104
- * The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: `0-32`.
104
+ * The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: `0-128`.
105
105
  */
106
106
  readonly netmaskLength: pulumi.Output<number | undefined>;
107
107
  /**
@@ -147,7 +147,7 @@ export interface VpcIpamPoolCidrAllocationState {
147
147
  */
148
148
  ipamPoolId?: pulumi.Input<string>;
149
149
  /**
150
- * The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: `0-32`.
150
+ * The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: `0-128`.
151
151
  */
152
152
  netmaskLength?: pulumi.Input<number>;
153
153
  /**
@@ -184,7 +184,7 @@ export interface VpcIpamPoolCidrAllocationArgs {
184
184
  */
185
185
  ipamPoolId: pulumi.Input<string>;
186
186
  /**
187
- * The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: `0-32`.
187
+ * The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: `0-128`.
188
188
  */
189
189
  netmaskLength?: pulumi.Input<number>;
190
190
  }
@@ -141,7 +141,7 @@ export declare class LoadBalancer extends pulumi.CustomResource {
141
141
  */
142
142
  readonly dropInvalidHeaderFields: pulumi.Output<boolean | undefined>;
143
143
  /**
144
- * If true, cross-zone load balancing of the load balancer will be enabled. This is a `network` load balancer feature. Defaults to `false`.
144
+ * If true, cross-zone load balancing of the load balancer will be enabled. For `network` and `gateway` type load balancers, this feature is disabled by default (`false`). For `application` load balancer this feature is always enabled (`true`) and cannot be disabled. Defaults to `false`.
145
145
  */
146
146
  readonly enableCrossZoneLoadBalancing: pulumi.Output<boolean | undefined>;
147
147
  /**
@@ -260,7 +260,7 @@ export interface LoadBalancerState {
260
260
  */
261
261
  dropInvalidHeaderFields?: pulumi.Input<boolean>;
262
262
  /**
263
- * If true, cross-zone load balancing of the load balancer will be enabled. This is a `network` load balancer feature. Defaults to `false`.
263
+ * If true, cross-zone load balancing of the load balancer will be enabled. For `network` and `gateway` type load balancers, this feature is disabled by default (`false`). For `application` load balancer this feature is always enabled (`true`) and cannot be disabled. Defaults to `false`.
264
264
  */
265
265
  enableCrossZoneLoadBalancing?: pulumi.Input<boolean>;
266
266
  /**
@@ -358,7 +358,7 @@ export interface LoadBalancerArgs {
358
358
  */
359
359
  dropInvalidHeaderFields?: pulumi.Input<boolean>;
360
360
  /**
361
- * If true, cross-zone load balancing of the load balancer will be enabled. This is a `network` load balancer feature. Defaults to `false`.
361
+ * If true, cross-zone load balancing of the load balancer will be enabled. For `network` and `gateway` type load balancers, this feature is disabled by default (`false`). For `application` load balancer this feature is always enabled (`true`) and cannot be disabled. Defaults to `false`.
362
362
  */
363
363
  enableCrossZoneLoadBalancing?: pulumi.Input<boolean>;
364
364
  /**
@@ -1,6 +1,9 @@
1
1
  export { FeatureArgs, FeatureState } from "./feature";
2
2
  export type Feature = import("./feature").Feature;
3
3
  export declare const Feature: typeof import("./feature").Feature;
4
+ export { LaunchArgs, LaunchState } from "./launch";
5
+ export type Launch = import("./launch").Launch;
6
+ export declare const Launch: typeof import("./launch").Launch;
4
7
  export { ProjectArgs, ProjectState } from "./project";
5
8
  export type Project = import("./project").Project;
6
9
  export declare const Project: typeof import("./project").Project;
@@ -2,11 +2,13 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Segment = exports.Project = exports.Feature = void 0;
5
+ exports.Segment = exports.Project = exports.Launch = exports.Feature = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.Feature = null;
9
9
  utilities.lazyLoad(exports, ["Feature"], () => require("./feature"));
10
+ exports.Launch = null;
11
+ utilities.lazyLoad(exports, ["Launch"], () => require("./launch"));
10
12
  exports.Project = null;
11
13
  utilities.lazyLoad(exports, ["Project"], () => require("./project"));
12
14
  exports.Segment = null;
@@ -17,6 +19,8 @@ const _module = {
17
19
  switch (type) {
18
20
  case "aws:evidently/feature:Feature":
19
21
  return new exports.Feature(name, undefined, { urn });
22
+ case "aws:evidently/launch:Launch":
23
+ return new exports.Launch(name, undefined, { urn });
20
24
  case "aws:evidently/project:Project":
21
25
  return new exports.Project(name, undefined, { urn });
22
26
  case "aws:evidently/segment:Segment":
@@ -27,6 +31,7 @@ const _module = {
27
31
  },
28
32
  };
29
33
  pulumi.runtime.registerResourceModule("aws", "evidently/feature", _module);
34
+ pulumi.runtime.registerResourceModule("aws", "evidently/launch", _module);
30
35
  pulumi.runtime.registerResourceModule("aws", "evidently/project", _module);
31
36
  pulumi.runtime.registerResourceModule("aws", "evidently/segment", _module);
32
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../evidently/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS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AAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,462 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a CloudWatch Evidently Launch resource.
6
+ *
7
+ * ## Example Usage
8
+ * ### Basic
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as aws from "@pulumi/aws";
13
+ *
14
+ * const example = new aws.evidently.Launch("example", {
15
+ * project: aws_evidently_project.example.name,
16
+ * groups: [{
17
+ * feature: aws_evidently_feature.example.name,
18
+ * name: "Variation1",
19
+ * variation: "Variation1",
20
+ * }],
21
+ * scheduledSplitsConfig: {
22
+ * steps: [{
23
+ * groupWeights: {
24
+ * Variation1: 0,
25
+ * },
26
+ * startTime: "2024-01-07 01:43:59+00:00",
27
+ * }],
28
+ * },
29
+ * });
30
+ * ```
31
+ * ### With description
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as aws from "@pulumi/aws";
36
+ *
37
+ * const example = new aws.evidently.Launch("example", {
38
+ * project: aws_evidently_project.example.name,
39
+ * description: "example description",
40
+ * groups: [{
41
+ * feature: aws_evidently_feature.example.name,
42
+ * name: "Variation1",
43
+ * variation: "Variation1",
44
+ * }],
45
+ * scheduledSplitsConfig: {
46
+ * steps: [{
47
+ * groupWeights: {
48
+ * Variation1: 0,
49
+ * },
50
+ * startTime: "2024-01-07 01:43:59+00:00",
51
+ * }],
52
+ * },
53
+ * });
54
+ * ```
55
+ * ### With multiple groups
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as aws from "@pulumi/aws";
60
+ *
61
+ * const example = new aws.evidently.Launch("example", {
62
+ * project: aws_evidently_project.example.name,
63
+ * groups: [
64
+ * {
65
+ * feature: aws_evidently_feature.example.name,
66
+ * name: "Variation1",
67
+ * variation: "Variation1",
68
+ * description: "first-group",
69
+ * },
70
+ * {
71
+ * feature: aws_evidently_feature.example.name,
72
+ * name: "Variation2",
73
+ * variation: "Variation2",
74
+ * description: "second-group",
75
+ * },
76
+ * ],
77
+ * scheduledSplitsConfig: {
78
+ * steps: [{
79
+ * groupWeights: {
80
+ * Variation1: 0,
81
+ * Variation2: 0,
82
+ * },
83
+ * startTime: "2024-01-07 01:43:59+00:00",
84
+ * }],
85
+ * },
86
+ * });
87
+ * ```
88
+ * ### With metricMonitors
89
+ *
90
+ * ```typescript
91
+ * import * as pulumi from "@pulumi/pulumi";
92
+ * import * as aws from "@pulumi/aws";
93
+ *
94
+ * const example = new aws.evidently.Launch("example", {
95
+ * project: aws_evidently_project.example.name,
96
+ * groups: [{
97
+ * feature: aws_evidently_feature.example.name,
98
+ * name: "Variation1",
99
+ * variation: "Variation1",
100
+ * }],
101
+ * metricMonitors: [
102
+ * {
103
+ * metricDefinition: {
104
+ * entityIdKey: "entity_id_key1",
105
+ * eventPattern: "{\"Price\":[{\"numeric\":[\">\",11,\"<=\",22]}]}",
106
+ * name: "name1",
107
+ * unitLabel: "unit_label1",
108
+ * valueKey: "value_key1",
109
+ * },
110
+ * },
111
+ * {
112
+ * metricDefinition: {
113
+ * entityIdKey: "entity_id_key2",
114
+ * eventPattern: "{\"Price\":[{\"numeric\":[\">\",9,\"<=\",19]}]}",
115
+ * name: "name2",
116
+ * unitLabel: "unit_label2",
117
+ * valueKey: "value_key2",
118
+ * },
119
+ * },
120
+ * ],
121
+ * scheduledSplitsConfig: {
122
+ * steps: [{
123
+ * groupWeights: {
124
+ * Variation1: 0,
125
+ * },
126
+ * startTime: "2024-01-07 01:43:59+00:00",
127
+ * }],
128
+ * },
129
+ * });
130
+ * ```
131
+ * ### With randomizationSalt
132
+ *
133
+ * ```typescript
134
+ * import * as pulumi from "@pulumi/pulumi";
135
+ * import * as aws from "@pulumi/aws";
136
+ *
137
+ * const example = new aws.evidently.Launch("example", {
138
+ * project: aws_evidently_project.example.name,
139
+ * randomizationSalt: "example randomization salt",
140
+ * groups: [{
141
+ * feature: aws_evidently_feature.example.name,
142
+ * name: "Variation1",
143
+ * variation: "Variation1",
144
+ * }],
145
+ * scheduledSplitsConfig: {
146
+ * steps: [{
147
+ * groupWeights: {
148
+ * Variation1: 0,
149
+ * },
150
+ * startTime: "2024-01-07 01:43:59+00:00",
151
+ * }],
152
+ * },
153
+ * });
154
+ * ```
155
+ * ### With multiple steps
156
+ *
157
+ * ```typescript
158
+ * import * as pulumi from "@pulumi/pulumi";
159
+ * import * as aws from "@pulumi/aws";
160
+ *
161
+ * const example = new aws.evidently.Launch("example", {
162
+ * project: aws_evidently_project.example.name,
163
+ * groups: [
164
+ * {
165
+ * feature: aws_evidently_feature.example.name,
166
+ * name: "Variation1",
167
+ * variation: "Variation1",
168
+ * },
169
+ * {
170
+ * feature: aws_evidently_feature.example.name,
171
+ * name: "Variation2",
172
+ * variation: "Variation2",
173
+ * },
174
+ * ],
175
+ * scheduledSplitsConfig: {
176
+ * steps: [
177
+ * {
178
+ * groupWeights: {
179
+ * Variation1: 15,
180
+ * Variation2: 10,
181
+ * },
182
+ * startTime: "2024-01-07 01:43:59+00:00",
183
+ * },
184
+ * {
185
+ * groupWeights: {
186
+ * Variation1: 20,
187
+ * Variation2: 25,
188
+ * },
189
+ * startTime: "2024-01-08 01:43:59+00:00",
190
+ * },
191
+ * ],
192
+ * },
193
+ * });
194
+ * ```
195
+ * ### With segment overrides
196
+ *
197
+ * ```typescript
198
+ * import * as pulumi from "@pulumi/pulumi";
199
+ * import * as aws from "@pulumi/aws";
200
+ *
201
+ * const example = new aws.evidently.Launch("example", {
202
+ * project: aws_evidently_project.example.name,
203
+ * groups: [
204
+ * {
205
+ * feature: aws_evidently_feature.example.name,
206
+ * name: "Variation1",
207
+ * variation: "Variation1",
208
+ * },
209
+ * {
210
+ * feature: aws_evidently_feature.example.name,
211
+ * name: "Variation2",
212
+ * variation: "Variation2",
213
+ * },
214
+ * ],
215
+ * scheduledSplitsConfig: {
216
+ * steps: [{
217
+ * groupWeights: {
218
+ * Variation1: 0,
219
+ * Variation2: 0,
220
+ * },
221
+ * segmentOverrides: [
222
+ * {
223
+ * evaluationOrder: 1,
224
+ * segment: aws_evidently_segment.example.name,
225
+ * weights: {
226
+ * Variation2: 10000,
227
+ * },
228
+ * },
229
+ * {
230
+ * evaluationOrder: 2,
231
+ * segment: aws_evidently_segment.example.name,
232
+ * weights: {
233
+ * Variation1: 40000,
234
+ * Variation2: 30000,
235
+ * },
236
+ * },
237
+ * ],
238
+ * startTime: "2024-01-08 01:43:59+00:00",
239
+ * }],
240
+ * },
241
+ * });
242
+ * ```
243
+ *
244
+ * ## Import
245
+ *
246
+ * CloudWatch Evidently Launch can be imported using the `name` of the launch and `name` or `arn` of the hosting CloudWatch Evidently Project separated by a `:`, e.g. with the `name` of the launch and `arn` of the project,
247
+ *
248
+ * ```sh
249
+ * $ pulumi import aws:evidently/launch:Launch example exampleLaunchName:arn:aws:evidently:us-east-1:123456789012:project/exampleProjectName
250
+ * ```
251
+ *
252
+ * e.g. with the `name` of the launch and `name` of the project,
253
+ *
254
+ * ```sh
255
+ * $ pulumi import aws:evidently/launch:Launch example exampleLaunchName:exampleProjectName
256
+ * ```
257
+ */
258
+ export declare class Launch extends pulumi.CustomResource {
259
+ /**
260
+ * Get an existing Launch resource's state with the given name, ID, and optional extra
261
+ * properties used to qualify the lookup.
262
+ *
263
+ * @param name The _unique_ name of the resulting resource.
264
+ * @param id The _unique_ provider ID of the resource to lookup.
265
+ * @param state Any extra arguments used during the lookup.
266
+ * @param opts Optional settings to control the behavior of the CustomResource.
267
+ */
268
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LaunchState, opts?: pulumi.CustomResourceOptions): Launch;
269
+ /**
270
+ * Returns true if the given object is an instance of Launch. This is designed to work even
271
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
272
+ */
273
+ static isInstance(obj: any): obj is Launch;
274
+ /**
275
+ * The ARN of the launch.
276
+ */
277
+ readonly arn: pulumi.Output<string>;
278
+ /**
279
+ * The date and time that the launch is created.
280
+ */
281
+ readonly createdTime: pulumi.Output<string>;
282
+ /**
283
+ * Specifies the description of the launch.
284
+ */
285
+ readonly description: pulumi.Output<string | undefined>;
286
+ /**
287
+ * A block that contains information about the start and end times of the launch. Detailed below
288
+ */
289
+ readonly executions: pulumi.Output<outputs.evidently.LaunchExecution[]>;
290
+ /**
291
+ * One or up to five blocks that contain the feature and variations that are to be used for the launch. Detailed below.
292
+ */
293
+ readonly groups: pulumi.Output<outputs.evidently.LaunchGroup[]>;
294
+ /**
295
+ * The date and time that the launch was most recently updated.
296
+ */
297
+ readonly lastUpdatedTime: pulumi.Output<string>;
298
+ /**
299
+ * One or up to three blocks that define the metrics that will be used to monitor the launch performance. Detailed below.
300
+ */
301
+ readonly metricMonitors: pulumi.Output<outputs.evidently.LaunchMetricMonitor[] | undefined>;
302
+ /**
303
+ * The name for the new launch. Minimum length of `1`. Maximum length of `127`.
304
+ */
305
+ readonly name: pulumi.Output<string>;
306
+ /**
307
+ * The name or ARN of the project that is to contain the new launch.
308
+ */
309
+ readonly project: pulumi.Output<string>;
310
+ /**
311
+ * When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt. If you omit randomizationSalt, Evidently uses the launch name as the randomizationSalt.
312
+ */
313
+ readonly randomizationSalt: pulumi.Output<string | undefined>;
314
+ /**
315
+ * A block that defines the traffic allocation percentages among the feature variations during each step of the launch. Detailed below.
316
+ */
317
+ readonly scheduledSplitsConfig: pulumi.Output<outputs.evidently.LaunchScheduledSplitsConfig | undefined>;
318
+ /**
319
+ * The current state of the launch. Valid values are `CREATED`, `UPDATING`, `RUNNING`, `COMPLETED`, and `CANCELLED`.
320
+ */
321
+ readonly status: pulumi.Output<string>;
322
+ /**
323
+ * If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.
324
+ */
325
+ readonly statusReason: pulumi.Output<string>;
326
+ /**
327
+ * Tags to apply to the launch. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
328
+ */
329
+ readonly tags: pulumi.Output<{
330
+ [key: string]: string;
331
+ } | undefined>;
332
+ /**
333
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
334
+ */
335
+ readonly tagsAll: pulumi.Output<{
336
+ [key: string]: string;
337
+ }>;
338
+ /**
339
+ * The type of launch.
340
+ */
341
+ readonly type: pulumi.Output<string>;
342
+ /**
343
+ * Create a Launch resource with the given unique name, arguments, and options.
344
+ *
345
+ * @param name The _unique_ name of the resource.
346
+ * @param args The arguments to use to populate this resource's properties.
347
+ * @param opts A bag of options that control this resource's behavior.
348
+ */
349
+ constructor(name: string, args: LaunchArgs, opts?: pulumi.CustomResourceOptions);
350
+ }
351
+ /**
352
+ * Input properties used for looking up and filtering Launch resources.
353
+ */
354
+ export interface LaunchState {
355
+ /**
356
+ * The ARN of the launch.
357
+ */
358
+ arn?: pulumi.Input<string>;
359
+ /**
360
+ * The date and time that the launch is created.
361
+ */
362
+ createdTime?: pulumi.Input<string>;
363
+ /**
364
+ * Specifies the description of the launch.
365
+ */
366
+ description?: pulumi.Input<string>;
367
+ /**
368
+ * A block that contains information about the start and end times of the launch. Detailed below
369
+ */
370
+ executions?: pulumi.Input<pulumi.Input<inputs.evidently.LaunchExecution>[]>;
371
+ /**
372
+ * One or up to five blocks that contain the feature and variations that are to be used for the launch. Detailed below.
373
+ */
374
+ groups?: pulumi.Input<pulumi.Input<inputs.evidently.LaunchGroup>[]>;
375
+ /**
376
+ * The date and time that the launch was most recently updated.
377
+ */
378
+ lastUpdatedTime?: pulumi.Input<string>;
379
+ /**
380
+ * One or up to three blocks that define the metrics that will be used to monitor the launch performance. Detailed below.
381
+ */
382
+ metricMonitors?: pulumi.Input<pulumi.Input<inputs.evidently.LaunchMetricMonitor>[]>;
383
+ /**
384
+ * The name for the new launch. Minimum length of `1`. Maximum length of `127`.
385
+ */
386
+ name?: pulumi.Input<string>;
387
+ /**
388
+ * The name or ARN of the project that is to contain the new launch.
389
+ */
390
+ project?: pulumi.Input<string>;
391
+ /**
392
+ * When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt. If you omit randomizationSalt, Evidently uses the launch name as the randomizationSalt.
393
+ */
394
+ randomizationSalt?: pulumi.Input<string>;
395
+ /**
396
+ * A block that defines the traffic allocation percentages among the feature variations during each step of the launch. Detailed below.
397
+ */
398
+ scheduledSplitsConfig?: pulumi.Input<inputs.evidently.LaunchScheduledSplitsConfig>;
399
+ /**
400
+ * The current state of the launch. Valid values are `CREATED`, `UPDATING`, `RUNNING`, `COMPLETED`, and `CANCELLED`.
401
+ */
402
+ status?: pulumi.Input<string>;
403
+ /**
404
+ * If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.
405
+ */
406
+ statusReason?: pulumi.Input<string>;
407
+ /**
408
+ * Tags to apply to the launch. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
409
+ */
410
+ tags?: pulumi.Input<{
411
+ [key: string]: pulumi.Input<string>;
412
+ }>;
413
+ /**
414
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
415
+ */
416
+ tagsAll?: pulumi.Input<{
417
+ [key: string]: pulumi.Input<string>;
418
+ }>;
419
+ /**
420
+ * The type of launch.
421
+ */
422
+ type?: pulumi.Input<string>;
423
+ }
424
+ /**
425
+ * The set of arguments for constructing a Launch resource.
426
+ */
427
+ export interface LaunchArgs {
428
+ /**
429
+ * Specifies the description of the launch.
430
+ */
431
+ description?: pulumi.Input<string>;
432
+ /**
433
+ * One or up to five blocks that contain the feature and variations that are to be used for the launch. Detailed below.
434
+ */
435
+ groups: pulumi.Input<pulumi.Input<inputs.evidently.LaunchGroup>[]>;
436
+ /**
437
+ * One or up to three blocks that define the metrics that will be used to monitor the launch performance. Detailed below.
438
+ */
439
+ metricMonitors?: pulumi.Input<pulumi.Input<inputs.evidently.LaunchMetricMonitor>[]>;
440
+ /**
441
+ * The name for the new launch. Minimum length of `1`. Maximum length of `127`.
442
+ */
443
+ name?: pulumi.Input<string>;
444
+ /**
445
+ * The name or ARN of the project that is to contain the new launch.
446
+ */
447
+ project: pulumi.Input<string>;
448
+ /**
449
+ * When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt. If you omit randomizationSalt, Evidently uses the launch name as the randomizationSalt.
450
+ */
451
+ randomizationSalt?: pulumi.Input<string>;
452
+ /**
453
+ * A block that defines the traffic allocation percentages among the feature variations during each step of the launch. Detailed below.
454
+ */
455
+ scheduledSplitsConfig?: pulumi.Input<inputs.evidently.LaunchScheduledSplitsConfig>;
456
+ /**
457
+ * Tags to apply to the launch. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
458
+ */
459
+ tags?: pulumi.Input<{
460
+ [key: string]: pulumi.Input<string>;
461
+ }>;
462
+ }