@pulumi/aws 5.19.0 → 5.20.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 (201) hide show
  1. package/acm/getCertificate.d.ts +2 -2
  2. package/acmpca/certificate.d.ts +5 -1
  3. package/acmpca/certificate.js +5 -1
  4. package/acmpca/certificate.js.map +1 -1
  5. package/acmpca/certificateAuthority.d.ts +29 -0
  6. package/acmpca/certificateAuthority.js +19 -0
  7. package/acmpca/certificateAuthority.js.map +1 -1
  8. package/acmpca/getCertificateAuthority.d.ts +4 -0
  9. package/acmpca/getCertificateAuthority.js.map +1 -1
  10. package/alb/targetGroup.d.ts +12 -0
  11. package/alb/targetGroup.js +2 -0
  12. package/alb/targetGroup.js.map +1 -1
  13. package/applicationloadbalancing/targetGroup.d.ts +12 -0
  14. package/applicationloadbalancing/targetGroup.js +2 -0
  15. package/applicationloadbalancing/targetGroup.js.map +1 -1
  16. package/apprunner/index.d.ts +3 -0
  17. package/apprunner/index.js +6 -1
  18. package/apprunner/index.js.map +1 -1
  19. package/apprunner/vpcConnector.d.ts +9 -0
  20. package/apprunner/vpcConnector.js +2 -0
  21. package/apprunner/vpcConnector.js.map +1 -1
  22. package/apprunner/vpcIngressConnection.d.ts +145 -0
  23. package/apprunner/vpcIngressConnection.js +98 -0
  24. package/apprunner/vpcIngressConnection.js.map +1 -0
  25. package/batch/computeEnvironment.d.ts +12 -0
  26. package/batch/computeEnvironment.js +2 -0
  27. package/batch/computeEnvironment.js.map +1 -1
  28. package/budgets/budget.d.ts +51 -5
  29. package/budgets/budget.js +26 -6
  30. package/budgets/budget.js.map +1 -1
  31. package/cloudfront/distribution.d.ts +1 -1
  32. package/cloudfront/distribution.js +1 -1
  33. package/cloudfront/getCachePolicy.d.ts +13 -0
  34. package/cloudfront/getCachePolicy.js +13 -0
  35. package/cloudfront/getCachePolicy.js.map +1 -1
  36. package/cloudfront/getOriginAccessIdentity.d.ts +16 -0
  37. package/cloudfront/getOriginAccessIdentity.js +16 -0
  38. package/cloudfront/getOriginAccessIdentity.js.map +1 -1
  39. package/cloudfront/getOriginRequestPolicy.d.ts +13 -2
  40. package/cloudfront/getOriginRequestPolicy.js +13 -2
  41. package/cloudfront/getOriginRequestPolicy.js.map +1 -1
  42. package/cloudfront/getResponseHeadersPolicy.d.ts +13 -0
  43. package/cloudfront/getResponseHeadersPolicy.js +13 -0
  44. package/cloudfront/getResponseHeadersPolicy.js.map +1 -1
  45. package/cognito/userPool.d.ts +12 -0
  46. package/cognito/userPool.js +2 -0
  47. package/cognito/userPool.js.map +1 -1
  48. package/cognito/userPoolClient.d.ts +12 -0
  49. package/cognito/userPoolClient.js +2 -0
  50. package/cognito/userPoolClient.js.map +1 -1
  51. package/connect/getInstanceStorageConfig.d.ts +70 -0
  52. package/connect/getInstanceStorageConfig.js +40 -0
  53. package/connect/getInstanceStorageConfig.js.map +1 -0
  54. package/connect/index.d.ts +6 -0
  55. package/connect/index.js +9 -1
  56. package/connect/index.js.map +1 -1
  57. package/connect/phoneNumber.d.ts +195 -0
  58. package/connect/phoneNumber.js +131 -0
  59. package/connect/phoneNumber.js.map +1 -0
  60. package/directconnect/getRouterConfiguration.d.ts +67 -0
  61. package/directconnect/getRouterConfiguration.js +37 -0
  62. package/directconnect/getRouterConfiguration.js.map +1 -0
  63. package/directconnect/index.d.ts +3 -0
  64. package/directconnect/index.js +4 -1
  65. package/directconnect/index.js.map +1 -1
  66. package/ec2/amiCopy.d.ts +8 -0
  67. package/ec2/amiCopy.js +2 -0
  68. package/ec2/amiCopy.js.map +1 -1
  69. package/ec2/amiFromInstance.d.ts +8 -0
  70. package/ec2/amiFromInstance.js +2 -0
  71. package/ec2/amiFromInstance.js.map +1 -1
  72. package/ec2/capacityReservation.d.ts +12 -0
  73. package/ec2/capacityReservation.js +2 -0
  74. package/ec2/capacityReservation.js.map +1 -1
  75. package/ec2/defaultNetworkAcl.d.ts +3 -3
  76. package/ec2/flowLog.d.ts +52 -4
  77. package/ec2/flowLog.js +49 -1
  78. package/ec2/flowLog.js.map +1 -1
  79. package/ec2/networkInterfaceAttachment.d.ts +8 -0
  80. package/ec2/networkInterfaceAttachment.js +8 -0
  81. package/ec2/networkInterfaceAttachment.js.map +1 -1
  82. package/elasticache/globalReplicationGroup.d.ts +24 -0
  83. package/elasticache/globalReplicationGroup.js +4 -0
  84. package/elasticache/globalReplicationGroup.js.map +1 -1
  85. package/elasticloadbalancingv2/targetGroup.d.ts +12 -0
  86. package/elasticloadbalancingv2/targetGroup.js +2 -0
  87. package/elasticloadbalancingv2/targetGroup.js.map +1 -1
  88. package/evidently/index.d.ts +3 -0
  89. package/evidently/index.js +6 -1
  90. package/evidently/index.js.map +1 -1
  91. package/evidently/project.d.ts +2 -2
  92. package/evidently/project.js +2 -2
  93. package/evidently/segment.d.ts +205 -0
  94. package/evidently/segment.js +127 -0
  95. package/evidently/segment.js.map +1 -0
  96. package/fsx/fileCache.d.ts +263 -0
  97. package/fsx/fileCache.js +141 -0
  98. package/fsx/fileCache.js.map +1 -0
  99. package/fsx/index.d.ts +3 -0
  100. package/fsx/index.js +6 -1
  101. package/fsx/index.js.map +1 -1
  102. package/inspector2/enabler.d.ts +80 -0
  103. package/inspector2/enabler.js +86 -0
  104. package/inspector2/enabler.js.map +1 -0
  105. package/inspector2/index.d.ts +3 -0
  106. package/inspector2/index.js +6 -1
  107. package/inspector2/index.js.map +1 -1
  108. package/lb/targetGroup.d.ts +12 -0
  109. package/lb/targetGroup.js +2 -0
  110. package/lb/targetGroup.js.map +1 -1
  111. package/lightsail/disk.d.ts +153 -0
  112. package/lightsail/disk.js +99 -0
  113. package/lightsail/disk.js.map +1 -0
  114. package/lightsail/disk_attachment.d.ts +112 -0
  115. package/lightsail/disk_attachment.js +102 -0
  116. package/lightsail/disk_attachment.js.map +1 -0
  117. package/lightsail/index.d.ts +15 -0
  118. package/lightsail/index.js +26 -1
  119. package/lightsail/index.js.map +1 -1
  120. package/lightsail/lbCertificate.d.ts +136 -0
  121. package/lightsail/lbCertificate.js +96 -0
  122. package/lightsail/lbCertificate.js.map +1 -0
  123. package/lightsail/lbCertificateAttachment.d.ts +94 -0
  124. package/lightsail/lbCertificateAttachment.js +91 -0
  125. package/lightsail/lbCertificateAttachment.js.map +1 -0
  126. package/lightsail/lbStickinessPolicy.d.ts +103 -0
  127. package/lightsail/lbStickinessPolicy.js +93 -0
  128. package/lightsail/lbStickinessPolicy.js.map +1 -0
  129. package/networkmanager/getCoreNetworkPolicyDocument.d.ts +2 -2
  130. package/networkmanager/getCoreNetworkPolicyDocument.js +2 -2
  131. package/outposts/getAssets.d.ts +42 -1
  132. package/outposts/getAssets.js +25 -0
  133. package/outposts/getAssets.js.map +1 -1
  134. package/package.json +2 -2
  135. package/package.json.dev +2 -2
  136. package/rds/instance.d.ts +3 -6
  137. package/rds/instance.js.map +1 -1
  138. package/rds/parameterGroup.d.ts +0 -21
  139. package/rds/parameterGroup.js +0 -21
  140. package/rds/parameterGroup.js.map +1 -1
  141. package/route53/getTrafficPolicyDocument.d.ts +75 -0
  142. package/route53/getTrafficPolicyDocument.js +75 -0
  143. package/route53/getTrafficPolicyDocument.js.map +1 -1
  144. package/route53/index.d.ts +3 -0
  145. package/route53/index.js +6 -1
  146. package/route53/index.js.map +1 -1
  147. package/route53/resolverConfig.d.ts +96 -0
  148. package/route53/resolverConfig.js +87 -0
  149. package/route53/resolverConfig.js.map +1 -0
  150. package/sagemaker/domain.d.ts +35 -3
  151. package/sagemaker/domain.js +6 -0
  152. package/sagemaker/domain.js.map +1 -1
  153. package/sagemaker/index.d.ts +3 -0
  154. package/sagemaker/index.js +6 -1
  155. package/sagemaker/index.js.map +1 -1
  156. package/sagemaker/servicecatalogPortfolioStatus.d.ts +72 -0
  157. package/sagemaker/servicecatalogPortfolioStatus.js +76 -0
  158. package/sagemaker/servicecatalogPortfolioStatus.js.map +1 -0
  159. package/sagemaker/workforce.d.ts +14 -0
  160. package/sagemaker/workforce.js +2 -0
  161. package/sagemaker/workforce.js.map +1 -1
  162. package/secretsmanager/secret.d.ts +1 -1
  163. package/secretsmanager/secret.js +1 -1
  164. package/secretsmanager/secretRotation.d.ts +1 -1
  165. package/secretsmanager/secretRotation.js +1 -1
  166. package/sesv2/dedicatedIpAssignment.d.ts +82 -0
  167. package/sesv2/dedicatedIpAssignment.js +79 -0
  168. package/sesv2/dedicatedIpAssignment.js.map +1 -0
  169. package/sesv2/dedicatedIpPool.d.ts +23 -0
  170. package/sesv2/dedicatedIpPool.js +13 -0
  171. package/sesv2/dedicatedIpPool.js.map +1 -1
  172. package/sesv2/emailIdentity.d.ts +161 -0
  173. package/sesv2/emailIdentity.js +111 -0
  174. package/sesv2/emailIdentity.js.map +1 -0
  175. package/sesv2/emailIdentityFeedbackAttributes.d.ts +83 -0
  176. package/sesv2/emailIdentityFeedbackAttributes.js +77 -0
  177. package/sesv2/emailIdentityFeedbackAttributes.js.map +1 -0
  178. package/sesv2/getDedicatedIpPool.d.ts +4 -0
  179. package/sesv2/getDedicatedIpPool.js.map +1 -1
  180. package/sesv2/index.d.ts +9 -0
  181. package/sesv2/index.js +16 -1
  182. package/sesv2/index.js.map +1 -1
  183. package/sfn/stateMachine.d.ts +9 -6
  184. package/sfn/stateMachine.js +2 -0
  185. package/sfn/stateMachine.js.map +1 -1
  186. package/ssm/defaultPatchBaseline.d.ts +139 -0
  187. package/ssm/defaultPatchBaseline.js +88 -0
  188. package/ssm/defaultPatchBaseline.js.map +1 -0
  189. package/ssm/index.d.ts +3 -0
  190. package/ssm/index.js +6 -1
  191. package/ssm/index.js.map +1 -1
  192. package/ssm/parameter.d.ts +3 -3
  193. package/ssm/patchBaseline.d.ts +111 -32
  194. package/ssm/patchBaseline.js +6 -8
  195. package/ssm/patchBaseline.js.map +1 -1
  196. package/swf/domain.d.ts +1 -1
  197. package/transfer/workflow.d.ts +30 -0
  198. package/transfer/workflow.js +30 -0
  199. package/transfer/workflow.js.map +1 -1
  200. package/types/input.d.ts +422 -19
  201. package/types/output.d.ts +527 -19
@@ -0,0 +1,205 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a CloudWatch Evidently Segment resource.
4
+ *
5
+ * ## Example Usage
6
+ * ### Basic
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const example = new aws.evidently.Segment("example", {
13
+ * pattern: "{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}",
14
+ * tags: {
15
+ * Key1: "example Segment",
16
+ * },
17
+ * });
18
+ * ```
19
+ * ### With JSON object in pattern
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as aws from "@pulumi/aws";
24
+ *
25
+ * const example = new aws.evidently.Segment("example", {
26
+ * pattern: ` {
27
+ * "Price": [
28
+ * {
29
+ * "numeric": [">",10,"<=",20]
30
+ * }
31
+ * ]
32
+ * }
33
+ * `,
34
+ * tags: {
35
+ * Key1: "example Segment",
36
+ * },
37
+ * });
38
+ * ```
39
+ * ### With Description
40
+ *
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as aws from "@pulumi/aws";
44
+ *
45
+ * const example = new aws.evidently.Segment("example", {
46
+ * description: "example",
47
+ * pattern: "{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}",
48
+ * });
49
+ * ```
50
+ *
51
+ * ## Import
52
+ *
53
+ * CloudWatch Evidently Segment can be imported using the `name`, e.g.,
54
+ *
55
+ * ```sh
56
+ * $ pulumi import aws:evidently/segment:Segment example example
57
+ * ```
58
+ */
59
+ export declare class Segment extends pulumi.CustomResource {
60
+ /**
61
+ * Get an existing Segment resource's state with the given name, ID, and optional extra
62
+ * properties used to qualify the lookup.
63
+ *
64
+ * @param name The _unique_ name of the resulting resource.
65
+ * @param id The _unique_ provider ID of the resource to lookup.
66
+ * @param state Any extra arguments used during the lookup.
67
+ * @param opts Optional settings to control the behavior of the CustomResource.
68
+ */
69
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SegmentState, opts?: pulumi.CustomResourceOptions): Segment;
70
+ /**
71
+ * Returns true if the given object is an instance of Segment. This is designed to work even
72
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
73
+ */
74
+ static isInstance(obj: any): obj is Segment;
75
+ /**
76
+ * The ARN of the segment.
77
+ */
78
+ readonly arn: pulumi.Output<string>;
79
+ /**
80
+ * The date and time that the segment is created.
81
+ */
82
+ readonly createdTime: pulumi.Output<string>;
83
+ /**
84
+ * Specifies the description of the segment.
85
+ */
86
+ readonly description: pulumi.Output<string | undefined>;
87
+ /**
88
+ * The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running.
89
+ */
90
+ readonly experimentCount: pulumi.Output<number>;
91
+ /**
92
+ * The date and time that this segment was most recently updated.
93
+ */
94
+ readonly lastUpdatedTime: pulumi.Output<string>;
95
+ /**
96
+ * The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running.
97
+ */
98
+ readonly launchCount: pulumi.Output<number>;
99
+ /**
100
+ * A name for the segment.
101
+ */
102
+ readonly name: pulumi.Output<string>;
103
+ /**
104
+ * The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html).
105
+ */
106
+ readonly pattern: pulumi.Output<string>;
107
+ /**
108
+ * Tags to apply to the segment. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
109
+ */
110
+ readonly tags: pulumi.Output<{
111
+ [key: string]: string;
112
+ } | undefined>;
113
+ /**
114
+ * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
115
+ */
116
+ readonly tagsAll: pulumi.Output<{
117
+ [key: string]: string;
118
+ }>;
119
+ /**
120
+ * Create a Segment resource with the given unique name, arguments, and options.
121
+ *
122
+ * @param name The _unique_ name of the resource.
123
+ * @param args The arguments to use to populate this resource's properties.
124
+ * @param opts A bag of options that control this resource's behavior.
125
+ */
126
+ constructor(name: string, args: SegmentArgs, opts?: pulumi.CustomResourceOptions);
127
+ }
128
+ /**
129
+ * Input properties used for looking up and filtering Segment resources.
130
+ */
131
+ export interface SegmentState {
132
+ /**
133
+ * The ARN of the segment.
134
+ */
135
+ arn?: pulumi.Input<string>;
136
+ /**
137
+ * The date and time that the segment is created.
138
+ */
139
+ createdTime?: pulumi.Input<string>;
140
+ /**
141
+ * Specifies the description of the segment.
142
+ */
143
+ description?: pulumi.Input<string>;
144
+ /**
145
+ * The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running.
146
+ */
147
+ experimentCount?: pulumi.Input<number>;
148
+ /**
149
+ * The date and time that this segment was most recently updated.
150
+ */
151
+ lastUpdatedTime?: pulumi.Input<string>;
152
+ /**
153
+ * The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running.
154
+ */
155
+ launchCount?: pulumi.Input<number>;
156
+ /**
157
+ * A name for the segment.
158
+ */
159
+ name?: pulumi.Input<string>;
160
+ /**
161
+ * The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html).
162
+ */
163
+ pattern?: pulumi.Input<string>;
164
+ /**
165
+ * Tags to apply to the segment. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
166
+ */
167
+ tags?: pulumi.Input<{
168
+ [key: string]: pulumi.Input<string>;
169
+ }>;
170
+ /**
171
+ * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
172
+ */
173
+ tagsAll?: pulumi.Input<{
174
+ [key: string]: pulumi.Input<string>;
175
+ }>;
176
+ }
177
+ /**
178
+ * The set of arguments for constructing a Segment resource.
179
+ */
180
+ export interface SegmentArgs {
181
+ /**
182
+ * Specifies the description of the segment.
183
+ */
184
+ description?: pulumi.Input<string>;
185
+ /**
186
+ * A name for the segment.
187
+ */
188
+ name?: pulumi.Input<string>;
189
+ /**
190
+ * The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html).
191
+ */
192
+ pattern: pulumi.Input<string>;
193
+ /**
194
+ * Tags to apply to the segment. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
195
+ */
196
+ tags?: pulumi.Input<{
197
+ [key: string]: pulumi.Input<string>;
198
+ }>;
199
+ /**
200
+ * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
201
+ */
202
+ tagsAll?: pulumi.Input<{
203
+ [key: string]: pulumi.Input<string>;
204
+ }>;
205
+ }
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.Segment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a CloudWatch Evidently Segment resource.
10
+ *
11
+ * ## Example Usage
12
+ * ### Basic
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const example = new aws.evidently.Segment("example", {
19
+ * pattern: "{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}",
20
+ * tags: {
21
+ * Key1: "example Segment",
22
+ * },
23
+ * });
24
+ * ```
25
+ * ### With JSON object in pattern
26
+ *
27
+ * ```typescript
28
+ * import * as pulumi from "@pulumi/pulumi";
29
+ * import * as aws from "@pulumi/aws";
30
+ *
31
+ * const example = new aws.evidently.Segment("example", {
32
+ * pattern: ` {
33
+ * "Price": [
34
+ * {
35
+ * "numeric": [">",10,"<=",20]
36
+ * }
37
+ * ]
38
+ * }
39
+ * `,
40
+ * tags: {
41
+ * Key1: "example Segment",
42
+ * },
43
+ * });
44
+ * ```
45
+ * ### With Description
46
+ *
47
+ * ```typescript
48
+ * import * as pulumi from "@pulumi/pulumi";
49
+ * import * as aws from "@pulumi/aws";
50
+ *
51
+ * const example = new aws.evidently.Segment("example", {
52
+ * description: "example",
53
+ * pattern: "{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}",
54
+ * });
55
+ * ```
56
+ *
57
+ * ## Import
58
+ *
59
+ * CloudWatch Evidently Segment can be imported using the `name`, e.g.,
60
+ *
61
+ * ```sh
62
+ * $ pulumi import aws:evidently/segment:Segment example example
63
+ * ```
64
+ */
65
+ class Segment extends pulumi.CustomResource {
66
+ constructor(name, argsOrState, opts) {
67
+ let resourceInputs = {};
68
+ opts = opts || {};
69
+ if (opts.id) {
70
+ const state = argsOrState;
71
+ resourceInputs["arn"] = state ? state.arn : undefined;
72
+ resourceInputs["createdTime"] = state ? state.createdTime : undefined;
73
+ resourceInputs["description"] = state ? state.description : undefined;
74
+ resourceInputs["experimentCount"] = state ? state.experimentCount : undefined;
75
+ resourceInputs["lastUpdatedTime"] = state ? state.lastUpdatedTime : undefined;
76
+ resourceInputs["launchCount"] = state ? state.launchCount : undefined;
77
+ resourceInputs["name"] = state ? state.name : undefined;
78
+ resourceInputs["pattern"] = state ? state.pattern : undefined;
79
+ resourceInputs["tags"] = state ? state.tags : undefined;
80
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
81
+ }
82
+ else {
83
+ const args = argsOrState;
84
+ if ((!args || args.pattern === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'pattern'");
86
+ }
87
+ resourceInputs["description"] = args ? args.description : undefined;
88
+ resourceInputs["name"] = args ? args.name : undefined;
89
+ resourceInputs["pattern"] = args ? args.pattern : undefined;
90
+ resourceInputs["tags"] = args ? args.tags : undefined;
91
+ resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
92
+ resourceInputs["arn"] = undefined /*out*/;
93
+ resourceInputs["createdTime"] = undefined /*out*/;
94
+ resourceInputs["experimentCount"] = undefined /*out*/;
95
+ resourceInputs["lastUpdatedTime"] = undefined /*out*/;
96
+ resourceInputs["launchCount"] = undefined /*out*/;
97
+ }
98
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
99
+ super(Segment.__pulumiType, name, resourceInputs, opts);
100
+ }
101
+ /**
102
+ * Get an existing Segment resource's state with the given name, ID, and optional extra
103
+ * properties used to qualify the lookup.
104
+ *
105
+ * @param name The _unique_ name of the resulting resource.
106
+ * @param id The _unique_ provider ID of the resource to lookup.
107
+ * @param state Any extra arguments used during the lookup.
108
+ * @param opts Optional settings to control the behavior of the CustomResource.
109
+ */
110
+ static get(name, id, state, opts) {
111
+ return new Segment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
112
+ }
113
+ /**
114
+ * Returns true if the given object is an instance of Segment. This is designed to work even
115
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
116
+ */
117
+ static isInstance(obj) {
118
+ if (obj === undefined || obj === null) {
119
+ return false;
120
+ }
121
+ return obj['__pulumiType'] === Segment.__pulumiType;
122
+ }
123
+ }
124
+ exports.Segment = Segment;
125
+ /** @internal */
126
+ Segment.__pulumiType = 'aws:evidently/segment:Segment';
127
+ //# sourceMappingURL=segment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"segment.js","sourceRoot":"","sources":["../../evidently/segment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAE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AAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IA7GD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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;;AA1BL,0BA+GC;AAjGG,gBAAgB;AACO,oBAAY,GAAG,+BAA+B,CAAC"}
@@ -0,0 +1,263 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const example = new aws.fsx.FileCache("example", {
12
+ * dataRepositoryAssociations: [{
13
+ * dataRepositoryPath: "nfs://filer.domain.com",
14
+ * dataRepositorySubdirectories: [
15
+ * "test",
16
+ * "test2",
17
+ * ],
18
+ * fileCachePath: "/ns1",
19
+ * nfs: [{
20
+ * dnsIps: [
21
+ * "192.168.0.1",
22
+ * "192.168.0.2",
23
+ * ],
24
+ * version: "NFS3",
25
+ * }],
26
+ * }],
27
+ * fileCacheType: "LUSTRE",
28
+ * fileCacheTypeVersion: "2.12",
29
+ * lustreConfigurations: [{
30
+ * deploymentType: "CACHE_1",
31
+ * metadataConfigurations: [{
32
+ * storageCapacity: 2400,
33
+ * }],
34
+ * perUnitStorageThroughput: 1000,
35
+ * weeklyMaintenanceStartTime: "2:05:00",
36
+ * }],
37
+ * subnetIds: [aws_subnet.test1.id],
38
+ * storageCapacity: 1200,
39
+ * });
40
+ * ```
41
+ *
42
+ * ## Import
43
+ *
44
+ * FSx File Cache can be imported using the resource `id`.
45
+ *
46
+ * ```sh
47
+ * $ pulumi import aws:fsx/fileCache:FileCache example fc-8012925589
48
+ * ```
49
+ */
50
+ export declare class FileCache extends pulumi.CustomResource {
51
+ /**
52
+ * Get an existing FileCache resource's state with the given name, ID, and optional extra
53
+ * properties used to qualify the lookup.
54
+ *
55
+ * @param name The _unique_ name of the resulting resource.
56
+ * @param id The _unique_ provider ID of the resource to lookup.
57
+ * @param state Any extra arguments used during the lookup.
58
+ * @param opts Optional settings to control the behavior of the CustomResource.
59
+ */
60
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FileCacheState, opts?: pulumi.CustomResourceOptions): FileCache;
61
+ /**
62
+ * Returns true if the given object is an instance of FileCache. This is designed to work even
63
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
64
+ */
65
+ static isInstance(obj: any): obj is FileCache;
66
+ /**
67
+ * The Amazon Resource Name (ARN) for the resource.
68
+ */
69
+ readonly arn: pulumi.Output<string>;
70
+ /**
71
+ * A boolean flag indicating whether tags for the cache should be copied to data repository associations. This value defaults to false.
72
+ */
73
+ readonly copyTagsToDataRepositoryAssociations: pulumi.Output<boolean | undefined>;
74
+ /**
75
+ * A list of IDs of data repository associations that are associated with this cache.
76
+ */
77
+ readonly dataRepositoryAssociationIds: pulumi.Output<string[]>;
78
+ /**
79
+ * See the `dataRepositoryAssociation` configuration block. Max of 8.
80
+ * A list of up to 8 configurations for data repository associations (DRAs) to be created during the cache creation. The DRAs link the cache to either an Amazon S3 data repository or a Network File System (NFS) data repository that supports the NFSv3 protocol. The DRA configurations must meet the following requirements: 1) All configurations on the list must be of the same data repository type, either all S3 or all NFS. A cache can't link to different data repository types at the same time. 2) An NFS DRA must link to an NFS file system that supports the NFSv3 protocol. DRA automatic import and automatic export is not supported.
81
+ */
82
+ readonly dataRepositoryAssociations: pulumi.Output<outputs.fsx.FileCacheDataRepositoryAssociation[] | undefined>;
83
+ /**
84
+ * The Domain Name System (DNS) name for the cache.
85
+ */
86
+ readonly dnsName: pulumi.Output<string>;
87
+ /**
88
+ * The system-generated, unique ID of the cache.
89
+ */
90
+ readonly fileCacheId: pulumi.Output<string>;
91
+ /**
92
+ * The type of cache that you're creating. The only supported value is `LUSTRE`.
93
+ */
94
+ readonly fileCacheType: pulumi.Output<string>;
95
+ /**
96
+ * The version for the type of cache that you're creating. The only supported value is `2.12`.
97
+ */
98
+ readonly fileCacheTypeVersion: pulumi.Output<string>;
99
+ /**
100
+ * Specifies the ID of the AWS Key Management Service (AWS KMS) key to use for encrypting data on an Amazon File Cache. If a KmsKeyId isn't specified, the Amazon FSx-managed AWS KMS key for your account is used.
101
+ */
102
+ readonly kmsKeyId: pulumi.Output<string>;
103
+ /**
104
+ * See the `lustreConfiguration` block. Required when `fileCacheType` is `LUSTRE`.
105
+ */
106
+ readonly lustreConfigurations: pulumi.Output<outputs.fsx.FileCacheLustreConfiguration[] | undefined>;
107
+ /**
108
+ * A list of network interface IDs.
109
+ */
110
+ readonly networkInterfaceIds: pulumi.Output<string[]>;
111
+ readonly ownerId: pulumi.Output<string>;
112
+ /**
113
+ * A list of IDs specifying the security groups to apply to all network interfaces created for Amazon File Cache access.
114
+ */
115
+ readonly securityGroupIds: pulumi.Output<string[] | undefined>;
116
+ /**
117
+ * The storage capacity of the Lustre MDT (Metadata Target) storage volume in gibibytes (GiB). The only supported value is `2400` GiB.
118
+ */
119
+ readonly storageCapacity: pulumi.Output<number>;
120
+ /**
121
+ * A list of subnet IDs that the cache will be accessible from. You can specify only one subnet ID.
122
+ */
123
+ readonly subnetIds: pulumi.Output<string[]>;
124
+ readonly tags: pulumi.Output<{
125
+ [key: string]: string;
126
+ } | undefined>;
127
+ readonly tagsAll: pulumi.Output<{
128
+ [key: string]: string;
129
+ }>;
130
+ /**
131
+ * The ID of your virtual private cloud (VPC).
132
+ */
133
+ readonly vpcId: pulumi.Output<string>;
134
+ /**
135
+ * Create a FileCache resource with the given unique name, arguments, and options.
136
+ *
137
+ * @param name The _unique_ name of the resource.
138
+ * @param args The arguments to use to populate this resource's properties.
139
+ * @param opts A bag of options that control this resource's behavior.
140
+ */
141
+ constructor(name: string, args: FileCacheArgs, opts?: pulumi.CustomResourceOptions);
142
+ }
143
+ /**
144
+ * Input properties used for looking up and filtering FileCache resources.
145
+ */
146
+ export interface FileCacheState {
147
+ /**
148
+ * The Amazon Resource Name (ARN) for the resource.
149
+ */
150
+ arn?: pulumi.Input<string>;
151
+ /**
152
+ * A boolean flag indicating whether tags for the cache should be copied to data repository associations. This value defaults to false.
153
+ */
154
+ copyTagsToDataRepositoryAssociations?: pulumi.Input<boolean>;
155
+ /**
156
+ * A list of IDs of data repository associations that are associated with this cache.
157
+ */
158
+ dataRepositoryAssociationIds?: pulumi.Input<pulumi.Input<string>[]>;
159
+ /**
160
+ * See the `dataRepositoryAssociation` configuration block. Max of 8.
161
+ * A list of up to 8 configurations for data repository associations (DRAs) to be created during the cache creation. The DRAs link the cache to either an Amazon S3 data repository or a Network File System (NFS) data repository that supports the NFSv3 protocol. The DRA configurations must meet the following requirements: 1) All configurations on the list must be of the same data repository type, either all S3 or all NFS. A cache can't link to different data repository types at the same time. 2) An NFS DRA must link to an NFS file system that supports the NFSv3 protocol. DRA automatic import and automatic export is not supported.
162
+ */
163
+ dataRepositoryAssociations?: pulumi.Input<pulumi.Input<inputs.fsx.FileCacheDataRepositoryAssociation>[]>;
164
+ /**
165
+ * The Domain Name System (DNS) name for the cache.
166
+ */
167
+ dnsName?: pulumi.Input<string>;
168
+ /**
169
+ * The system-generated, unique ID of the cache.
170
+ */
171
+ fileCacheId?: pulumi.Input<string>;
172
+ /**
173
+ * The type of cache that you're creating. The only supported value is `LUSTRE`.
174
+ */
175
+ fileCacheType?: pulumi.Input<string>;
176
+ /**
177
+ * The version for the type of cache that you're creating. The only supported value is `2.12`.
178
+ */
179
+ fileCacheTypeVersion?: pulumi.Input<string>;
180
+ /**
181
+ * Specifies the ID of the AWS Key Management Service (AWS KMS) key to use for encrypting data on an Amazon File Cache. If a KmsKeyId isn't specified, the Amazon FSx-managed AWS KMS key for your account is used.
182
+ */
183
+ kmsKeyId?: pulumi.Input<string>;
184
+ /**
185
+ * See the `lustreConfiguration` block. Required when `fileCacheType` is `LUSTRE`.
186
+ */
187
+ lustreConfigurations?: pulumi.Input<pulumi.Input<inputs.fsx.FileCacheLustreConfiguration>[]>;
188
+ /**
189
+ * A list of network interface IDs.
190
+ */
191
+ networkInterfaceIds?: pulumi.Input<pulumi.Input<string>[]>;
192
+ ownerId?: pulumi.Input<string>;
193
+ /**
194
+ * A list of IDs specifying the security groups to apply to all network interfaces created for Amazon File Cache access.
195
+ */
196
+ securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
197
+ /**
198
+ * The storage capacity of the Lustre MDT (Metadata Target) storage volume in gibibytes (GiB). The only supported value is `2400` GiB.
199
+ */
200
+ storageCapacity?: pulumi.Input<number>;
201
+ /**
202
+ * A list of subnet IDs that the cache will be accessible from. You can specify only one subnet ID.
203
+ */
204
+ subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
205
+ tags?: pulumi.Input<{
206
+ [key: string]: pulumi.Input<string>;
207
+ }>;
208
+ tagsAll?: pulumi.Input<{
209
+ [key: string]: pulumi.Input<string>;
210
+ }>;
211
+ /**
212
+ * The ID of your virtual private cloud (VPC).
213
+ */
214
+ vpcId?: pulumi.Input<string>;
215
+ }
216
+ /**
217
+ * The set of arguments for constructing a FileCache resource.
218
+ */
219
+ export interface FileCacheArgs {
220
+ /**
221
+ * A boolean flag indicating whether tags for the cache should be copied to data repository associations. This value defaults to false.
222
+ */
223
+ copyTagsToDataRepositoryAssociations?: pulumi.Input<boolean>;
224
+ /**
225
+ * See the `dataRepositoryAssociation` configuration block. Max of 8.
226
+ * A list of up to 8 configurations for data repository associations (DRAs) to be created during the cache creation. The DRAs link the cache to either an Amazon S3 data repository or a Network File System (NFS) data repository that supports the NFSv3 protocol. The DRA configurations must meet the following requirements: 1) All configurations on the list must be of the same data repository type, either all S3 or all NFS. A cache can't link to different data repository types at the same time. 2) An NFS DRA must link to an NFS file system that supports the NFSv3 protocol. DRA automatic import and automatic export is not supported.
227
+ */
228
+ dataRepositoryAssociations?: pulumi.Input<pulumi.Input<inputs.fsx.FileCacheDataRepositoryAssociation>[]>;
229
+ /**
230
+ * The type of cache that you're creating. The only supported value is `LUSTRE`.
231
+ */
232
+ fileCacheType: pulumi.Input<string>;
233
+ /**
234
+ * The version for the type of cache that you're creating. The only supported value is `2.12`.
235
+ */
236
+ fileCacheTypeVersion: pulumi.Input<string>;
237
+ /**
238
+ * Specifies the ID of the AWS Key Management Service (AWS KMS) key to use for encrypting data on an Amazon File Cache. If a KmsKeyId isn't specified, the Amazon FSx-managed AWS KMS key for your account is used.
239
+ */
240
+ kmsKeyId?: pulumi.Input<string>;
241
+ /**
242
+ * See the `lustreConfiguration` block. Required when `fileCacheType` is `LUSTRE`.
243
+ */
244
+ lustreConfigurations?: pulumi.Input<pulumi.Input<inputs.fsx.FileCacheLustreConfiguration>[]>;
245
+ /**
246
+ * A list of IDs specifying the security groups to apply to all network interfaces created for Amazon File Cache access.
247
+ */
248
+ securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
249
+ /**
250
+ * The storage capacity of the Lustre MDT (Metadata Target) storage volume in gibibytes (GiB). The only supported value is `2400` GiB.
251
+ */
252
+ storageCapacity: pulumi.Input<number>;
253
+ /**
254
+ * A list of subnet IDs that the cache will be accessible from. You can specify only one subnet ID.
255
+ */
256
+ subnetIds: pulumi.Input<pulumi.Input<string>[]>;
257
+ tags?: pulumi.Input<{
258
+ [key: string]: pulumi.Input<string>;
259
+ }>;
260
+ tagsAll?: pulumi.Input<{
261
+ [key: string]: pulumi.Input<string>;
262
+ }>;
263
+ }