@pulumi/aws-native 1.32.0-alpha.1754026912 → 1.32.0-alpha.1754570277

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 (211) hide show
  1. package/appconfig/deployment.d.ts +5 -0
  2. package/appconfig/deployment.js +2 -0
  3. package/appconfig/deployment.js.map +1 -1
  4. package/appconfig/getDeployment.d.ts +5 -0
  5. package/appconfig/getDeployment.js.map +1 -1
  6. package/arcregionswitch/getPlan.d.ts +71 -0
  7. package/arcregionswitch/getPlan.js +28 -0
  8. package/arcregionswitch/getPlan.js.map +1 -0
  9. package/arcregionswitch/index.d.ts +7 -0
  10. package/arcregionswitch/index.js +41 -0
  11. package/arcregionswitch/index.js.map +1 -0
  12. package/arcregionswitch/plan.d.ts +144 -0
  13. package/arcregionswitch/plan.js +98 -0
  14. package/arcregionswitch/plan.js.map +1 -0
  15. package/batch/getJobQueue.d.ts +4 -0
  16. package/batch/getJobQueue.js.map +1 -1
  17. package/batch/getServiceEnvironment.d.ts +15 -0
  18. package/batch/getServiceEnvironment.js.map +1 -1
  19. package/batch/jobQueue.d.ts +18 -2
  20. package/batch/jobQueue.js +5 -4
  21. package/batch/jobQueue.js.map +1 -1
  22. package/batch/serviceEnvironment.d.ts +27 -0
  23. package/batch/serviceEnvironment.js.map +1 -1
  24. package/cloudwatch/alarm.d.ts +4 -4
  25. package/cloudwatch/getAlarm.d.ts +2 -2
  26. package/ec2/natGateway.d.ts +3 -3
  27. package/ec2/natGateway.js +0 -3
  28. package/ec2/natGateway.js.map +1 -1
  29. package/ecr/getRepository.d.ts +4 -0
  30. package/ecr/getRepository.js.map +1 -1
  31. package/ecr/getRepositoryCreationTemplate.d.ts +4 -0
  32. package/ecr/getRepositoryCreationTemplate.js.map +1 -1
  33. package/ecr/repository.d.ts +8 -0
  34. package/ecr/repository.js +2 -0
  35. package/ecr/repository.js.map +1 -1
  36. package/ecr/repositoryCreationTemplate.d.ts +8 -0
  37. package/ecr/repositoryCreationTemplate.js +2 -0
  38. package/ecr/repositoryCreationTemplate.js.map +1 -1
  39. package/ecs/getService.d.ts +2 -2
  40. package/ecs/service.d.ts +4 -4
  41. package/eks/cluster.d.ts +8 -0
  42. package/eks/cluster.js +2 -0
  43. package/eks/cluster.js.map +1 -1
  44. package/eks/getCluster.d.ts +4 -0
  45. package/eks/getCluster.js.map +1 -1
  46. package/elasticloadbalancingv2/getListener.d.ts +3 -2
  47. package/elasticloadbalancingv2/getListener.js.map +1 -1
  48. package/elasticloadbalancingv2/getLoadBalancer.d.ts +1 -1
  49. package/elasticloadbalancingv2/listener.d.ts +6 -4
  50. package/elasticloadbalancingv2/listener.js.map +1 -1
  51. package/elasticloadbalancingv2/loadBalancer.d.ts +2 -2
  52. package/entityresolution/getIdMappingWorkflow.d.ts +1 -1
  53. package/entityresolution/getMatchingWorkflow.d.ts +2 -2
  54. package/entityresolution/idMappingWorkflow.d.ts +2 -2
  55. package/entityresolution/matchingWorkflow.d.ts +4 -4
  56. package/evs/environment.d.ts +2 -2
  57. package/index.d.ts +2 -1
  58. package/index.js +8 -6
  59. package/index.js.map +1 -1
  60. package/iot/encryptionConfiguration.d.ts +44 -0
  61. package/iot/encryptionConfiguration.js +69 -0
  62. package/iot/encryptionConfiguration.js.map +1 -0
  63. package/iot/getEncryptionConfiguration.d.ts +25 -0
  64. package/iot/getEncryptionConfiguration.js +28 -0
  65. package/iot/getEncryptionConfiguration.js.map +1 -0
  66. package/iot/index.d.ts +6 -0
  67. package/iot/index.js +9 -2
  68. package/iot/index.js.map +1 -1
  69. package/iotsitewise/assetModel.d.ts +10 -2
  70. package/iotsitewise/assetModel.js +2 -0
  71. package/iotsitewise/assetModel.js.map +1 -1
  72. package/iotsitewise/getAssetModel.d.ts +4 -0
  73. package/iotsitewise/getAssetModel.js.map +1 -1
  74. package/logs/destination.d.ts +10 -0
  75. package/logs/destination.js +2 -0
  76. package/logs/destination.js.map +1 -1
  77. package/logs/getDestination.d.ts +5 -0
  78. package/logs/getDestination.js.map +1 -1
  79. package/logs/getLogGroup.d.ts +4 -0
  80. package/logs/getLogGroup.js.map +1 -1
  81. package/logs/logGroup.d.ts +8 -0
  82. package/logs/logGroup.js +2 -0
  83. package/logs/logGroup.js.map +1 -1
  84. package/mediapackagev2/getOriginEndpointPolicy.d.ts +3 -0
  85. package/mediapackagev2/getOriginEndpointPolicy.js.map +1 -1
  86. package/mediapackagev2/originEndpointPolicy.d.ts +6 -0
  87. package/mediapackagev2/originEndpointPolicy.js.map +1 -1
  88. package/networkfirewall/firewall.d.ts +30 -6
  89. package/networkfirewall/firewall.js +6 -6
  90. package/networkfirewall/firewall.js.map +1 -1
  91. package/networkfirewall/firewallPolicy.d.ts +2 -2
  92. package/networkfirewall/getFirewall.d.ts +16 -4
  93. package/networkfirewall/getFirewall.js.map +1 -1
  94. package/networkfirewall/getFirewallPolicy.d.ts +4 -4
  95. package/networkfirewall/getLoggingConfiguration.d.ts +3 -3
  96. package/networkfirewall/getRuleGroup.d.ts +11 -4
  97. package/networkfirewall/getRuleGroup.js.map +1 -1
  98. package/networkfirewall/getVpcEndpointAssociation.d.ts +3 -0
  99. package/networkfirewall/getVpcEndpointAssociation.js.map +1 -1
  100. package/networkfirewall/loggingConfiguration.d.ts +4 -4
  101. package/networkfirewall/ruleGroup.d.ts +16 -2
  102. package/networkfirewall/ruleGroup.js +2 -0
  103. package/networkfirewall/ruleGroup.js.map +1 -1
  104. package/networkfirewall/vpcEndpointAssociation.d.ts +3 -0
  105. package/networkfirewall/vpcEndpointAssociation.js.map +1 -1
  106. package/package.json +3 -3
  107. package/package.json.dev +2 -2
  108. package/qbusiness/getWebExperience.d.ts +1 -1
  109. package/qbusiness/webExperience.d.ts +2 -2
  110. package/rds/dbCluster.d.ts +8 -0
  111. package/rds/dbCluster.js +3 -1
  112. package/rds/dbCluster.js.map +1 -1
  113. package/rds/dbInstance.d.ts +24 -0
  114. package/rds/dbInstance.js +10 -0
  115. package/rds/dbInstance.js.map +1 -1
  116. package/rds/getDbInstance.d.ts +20 -0
  117. package/rds/getDbInstance.js.map +1 -1
  118. package/s3/accessPoint.d.ts +8 -0
  119. package/s3/accessPoint.js +2 -0
  120. package/s3/accessPoint.js.map +1 -1
  121. package/s3/bucket.d.ts +2 -2
  122. package/s3/getAccessPoint.d.ts +4 -0
  123. package/s3/getAccessPoint.js.map +1 -1
  124. package/s3/getBucket.d.ts +1 -1
  125. package/s3express/accessPoint.d.ts +2 -0
  126. package/s3express/accessPoint.js +2 -0
  127. package/s3express/accessPoint.js.map +1 -1
  128. package/s3express/getAccessPoint.d.ts +1 -0
  129. package/s3express/getAccessPoint.js.map +1 -1
  130. package/sagemaker/cluster.d.ts +5 -3
  131. package/sagemaker/cluster.js +3 -4
  132. package/sagemaker/cluster.js.map +1 -1
  133. package/sagemaker/getCluster.d.ts +1 -0
  134. package/sagemaker/getCluster.js.map +1 -1
  135. package/sagemaker/getProcessingJob.d.ts +68 -0
  136. package/sagemaker/getProcessingJob.js +28 -0
  137. package/sagemaker/getProcessingJob.js.map +1 -0
  138. package/sagemaker/index.d.ts +6 -0
  139. package/sagemaker/index.js +8 -1
  140. package/sagemaker/index.js.map +1 -1
  141. package/sagemaker/processingJob.d.ts +168 -0
  142. package/sagemaker/processingJob.js +109 -0
  143. package/sagemaker/processingJob.js.map +1 -0
  144. package/ssm/getParameter.d.ts +7 -4
  145. package/ssm/getParameter.js +2 -2
  146. package/ssm/getParameter.js.map +1 -1
  147. package/ssm/parameter.d.ts +9 -5
  148. package/ssm/parameter.js +1 -1
  149. package/ssm/parameter.js.map +1 -1
  150. package/types/enums/appconfig/index.d.ts +13 -0
  151. package/types/enums/appconfig/index.js +10 -1
  152. package/types/enums/appconfig/index.js.map +1 -1
  153. package/types/enums/arcregionswitch/index.d.ts +47 -0
  154. package/types/enums/arcregionswitch/index.js +45 -0
  155. package/types/enums/arcregionswitch/index.js.map +1 -0
  156. package/types/enums/batch/index.d.ts +1 -0
  157. package/types/enums/batch/index.js +1 -0
  158. package/types/enums/batch/index.js.map +1 -1
  159. package/types/enums/ecr/index.d.ts +15 -0
  160. package/types/enums/ecr/index.js +11 -1
  161. package/types/enums/ecr/index.js.map +1 -1
  162. package/types/enums/ecs/index.d.ts +36 -5
  163. package/types/enums/ecs/index.js.map +1 -1
  164. package/types/enums/entityresolution/index.d.ts +8 -8
  165. package/types/enums/glue/index.d.ts +6 -0
  166. package/types/enums/glue/index.js +6 -0
  167. package/types/enums/glue/index.js.map +1 -1
  168. package/types/enums/index.d.ts +2 -1
  169. package/types/enums/index.js +6 -4
  170. package/types/enums/index.js.map +1 -1
  171. package/types/enums/iot/index.d.ts +10 -0
  172. package/types/enums/iot/index.js +9 -1
  173. package/types/enums/iot/index.js.map +1 -1
  174. package/types/enums/networkfirewall/index.d.ts +9 -3
  175. package/types/enums/networkfirewall/index.js +6 -1
  176. package/types/enums/networkfirewall/index.js.map +1 -1
  177. package/types/enums/pcs/index.d.ts +8 -0
  178. package/types/enums/pcs/index.js +5 -1
  179. package/types/enums/pcs/index.js.map +1 -1
  180. package/types/enums/rds/index.d.ts +1 -0
  181. package/types/enums/rds/index.js +1 -0
  182. package/types/enums/rds/index.js.map +1 -1
  183. package/types/enums/s3/index.d.ts +5 -4
  184. package/types/enums/s3/index.js.map +1 -1
  185. package/types/enums/sagemaker/index.d.ts +226 -0
  186. package/types/enums/sagemaker/index.js +176 -2
  187. package/types/enums/sagemaker/index.js.map +1 -1
  188. package/types/enums/ssm/index.d.ts +1 -0
  189. package/types/enums/ssm/index.js.map +1 -1
  190. package/types/enums/workspacesweb/index.d.ts +30 -0
  191. package/types/enums/workspacesweb/index.js +28 -1
  192. package/types/enums/workspacesweb/index.js.map +1 -1
  193. package/types/input.d.ts +933 -144
  194. package/types/output.d.ts +946 -144
  195. package/types/output.js.map +1 -1
  196. package/verifiedpermissions/getPolicyStore.d.ts +1 -1
  197. package/verifiedpermissions/policyStore.d.ts +2 -2
  198. package/workspacesweb/getPortal.d.ts +1 -0
  199. package/workspacesweb/getPortal.js.map +1 -1
  200. package/workspacesweb/getSessionLogger.d.ts +25 -0
  201. package/workspacesweb/getSessionLogger.js +28 -0
  202. package/workspacesweb/getSessionLogger.js.map +1 -0
  203. package/workspacesweb/index.d.ts +6 -0
  204. package/workspacesweb/index.js +8 -1
  205. package/workspacesweb/index.js.map +1 -1
  206. package/workspacesweb/portal.d.ts +2 -0
  207. package/workspacesweb/portal.js +2 -0
  208. package/workspacesweb/portal.js.map +1 -1
  209. package/workspacesweb/sessionLogger.d.ts +54 -0
  210. package/workspacesweb/sessionLogger.js +80 -0
  211. package/workspacesweb/sessionLogger.js.map +1 -0
@@ -1,6 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
+ import * as enums from "../types/enums";
4
5
  /**
5
6
  * Resource Type definition for AWS::AppConfig::Deployment
6
7
  */
@@ -55,6 +56,10 @@ export declare class Deployment extends pulumi.CustomResource {
55
56
  * The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
56
57
  */
57
58
  readonly kmsKeyIdentifier: pulumi.Output<string | undefined>;
59
+ /**
60
+ * The state of the deployment.
61
+ */
62
+ readonly state: pulumi.Output<enums.appconfig.DeploymentState>;
58
63
  /**
59
64
  * An array of key-value pairs to apply to this resource.
60
65
  */
@@ -66,6 +66,7 @@ class Deployment extends pulumi.CustomResource {
66
66
  resourceInputs["kmsKeyIdentifier"] = args ? args.kmsKeyIdentifier : undefined;
67
67
  resourceInputs["tags"] = args ? args.tags : undefined;
68
68
  resourceInputs["deploymentNumber"] = undefined /*out*/;
69
+ resourceInputs["state"] = undefined /*out*/;
69
70
  }
70
71
  else {
71
72
  resourceInputs["applicationId"] = undefined /*out*/;
@@ -77,6 +78,7 @@ class Deployment extends pulumi.CustomResource {
77
78
  resourceInputs["dynamicExtensionParameters"] = undefined /*out*/;
78
79
  resourceInputs["environmentId"] = undefined /*out*/;
79
80
  resourceInputs["kmsKeyIdentifier"] = undefined /*out*/;
81
+ resourceInputs["state"] = undefined /*out*/;
80
82
  resourceInputs["tags"] = undefined /*out*/;
81
83
  }
82
84
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"deployment.js","sourceRoot":"","sources":["../../appconfig/deployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;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;IA2CD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAmC;QAC/E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,sBAAsB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACn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,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,eAAe,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,aAAa,EAAE,+BAA+B,EAAE,eAAe,EAAE,kBAAkB,EAAE,SAAS,CAAC,EAAE,CAAC;QAC3O,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA9HL,gCA+HC;AAlHG,gBAAgB;AACO,uBAAY,GAAG,iCAAiC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as enums from "../types/enums";
2
3
  /**
3
4
  * Resource Type definition for AWS::AppConfig::Deployment
4
5
  */
@@ -22,6 +23,10 @@ export interface GetDeploymentResult {
22
23
  * The sequence number of the deployment.
23
24
  */
24
25
  readonly deploymentNumber?: string;
26
+ /**
27
+ * The state of the deployment.
28
+ */
29
+ readonly state?: enums.appconfig.DeploymentState;
25
30
  }
26
31
  /**
27
32
  * Resource Type definition for AWS::AppConfig::Deployment
@@ -1 +1 @@
1
- {"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../../appconfig/getDeployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO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MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC"}
@@ -0,0 +1,71 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Represents a plan that specifies Regions, IAM roles, and workflows of logic required to perform the desired change to your multi-Region application
5
+ */
6
+ export declare function getPlan(args: GetPlanArgs, opts?: pulumi.InvokeOptions): Promise<GetPlanResult>;
7
+ export interface GetPlanArgs {
8
+ /**
9
+ * The Amazon Resource Name (ARN) of the plan.
10
+ */
11
+ arn: string;
12
+ }
13
+ export interface GetPlanResult {
14
+ /**
15
+ * The Amazon Resource Name (ARN) of the plan.
16
+ */
17
+ readonly arn?: string;
18
+ /**
19
+ * The associated application health alarms for a plan.
20
+ */
21
+ readonly associatedAlarms?: {
22
+ [key: string]: outputs.arcregionswitch.PlanAssociatedAlarm;
23
+ };
24
+ /**
25
+ * The description for a plan.
26
+ */
27
+ readonly description?: string;
28
+ /**
29
+ * The execution role for a plan.
30
+ */
31
+ readonly executionRole?: string;
32
+ /**
33
+ * Represents a Region switch plan. A plan defines the steps required to shift traffic from one AWS Region to another.
34
+ */
35
+ readonly healthChecksForPlan?: {
36
+ [key: string]: outputs.arcregionswitch.PlanHealthCheckState[];
37
+ };
38
+ /**
39
+ * The owner of a plan.
40
+ */
41
+ readonly owner?: string;
42
+ /**
43
+ * The recovery time objective for a plan.
44
+ */
45
+ readonly recoveryTimeObjectiveMinutes?: number;
46
+ readonly tags?: {
47
+ [key: string]: string;
48
+ };
49
+ /**
50
+ * The triggers for a plan.
51
+ */
52
+ readonly triggers?: outputs.arcregionswitch.PlanTrigger[];
53
+ /**
54
+ * The version for the plan.
55
+ */
56
+ readonly version?: string;
57
+ /**
58
+ * The workflows for a plan.
59
+ */
60
+ readonly workflows?: outputs.arcregionswitch.PlanWorkflow[];
61
+ }
62
+ /**
63
+ * Represents a plan that specifies Regions, IAM roles, and workflows of logic required to perform the desired change to your multi-Region application
64
+ */
65
+ export declare function getPlanOutput(args: GetPlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPlanResult>;
66
+ export interface GetPlanOutputArgs {
67
+ /**
68
+ * The Amazon Resource Name (ARN) of the plan.
69
+ */
70
+ arn: pulumi.Input<string>;
71
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getPlanOutput = exports.getPlan = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Represents a plan that specifies Regions, IAM roles, and workflows of logic required to perform the desired change to your multi-Region application
10
+ */
11
+ function getPlan(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:arcregionswitch:getPlan", {
14
+ "arn": args.arn,
15
+ }, opts);
16
+ }
17
+ exports.getPlan = getPlan;
18
+ /**
19
+ * Represents a plan that specifies Regions, IAM roles, and workflows of logic required to perform the desired change to your multi-Region application
20
+ */
21
+ function getPlanOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("aws-native:arcregionswitch:getPlan", {
24
+ "arn": args.arn,
25
+ }, opts);
26
+ }
27
+ exports.getPlanOutput = getPlanOutput;
28
+ //# sourceMappingURL=getPlan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPlan.js","sourceRoot":"","sources":["../../arcregionswitch/getPlan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AAoDD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
@@ -0,0 +1,7 @@
1
+ export { GetPlanArgs, GetPlanResult, GetPlanOutputArgs } from "./getPlan";
2
+ export declare const getPlan: typeof import("./getPlan").getPlan;
3
+ export declare const getPlanOutput: typeof import("./getPlan").getPlanOutput;
4
+ export { PlanArgs } from "./plan";
5
+ export type Plan = import("./plan").Plan;
6
+ export declare const Plan: typeof import("./plan").Plan;
7
+ export * from "../types/enums/arcregionswitch";
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.Plan = exports.getPlanOutput = exports.getPlan = void 0;
20
+ const pulumi = require("@pulumi/pulumi");
21
+ const utilities = require("../utilities");
22
+ exports.getPlan = null;
23
+ exports.getPlanOutput = null;
24
+ utilities.lazyLoad(exports, ["getPlan", "getPlanOutput"], () => require("./getPlan"));
25
+ exports.Plan = null;
26
+ utilities.lazyLoad(exports, ["Plan"], () => require("./plan"));
27
+ // Export enums:
28
+ __exportStar(require("../types/enums/arcregionswitch"), exports);
29
+ const _module = {
30
+ version: utilities.getVersion(),
31
+ construct: (name, type, urn) => {
32
+ switch (type) {
33
+ case "aws-native:arcregionswitch:Plan":
34
+ return new exports.Plan(name, undefined, { urn });
35
+ default:
36
+ throw new Error(`unknown resource type ${type}`);
37
+ }
38
+ },
39
+ };
40
+ pulumi.runtime.registerResourceModule("aws-native", "arcregionswitch", _module);
41
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../arcregionswitch/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxE,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAG/D,gBAAgB;AAChB,iEAA+C;AAE/C,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,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,144 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ import * as enums from "../types/enums";
5
+ /**
6
+ * Represents a plan that specifies Regions, IAM roles, and workflows of logic required to perform the desired change to your multi-Region application
7
+ */
8
+ export declare class Plan extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing Plan resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Plan;
18
+ /**
19
+ * Returns true if the given object is an instance of Plan. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is Plan;
23
+ /**
24
+ * The Amazon Resource Name (ARN) of the plan.
25
+ */
26
+ readonly arn: pulumi.Output<string>;
27
+ /**
28
+ * The associated application health alarms for a plan.
29
+ */
30
+ readonly associatedAlarms: pulumi.Output<{
31
+ [key: string]: outputs.arcregionswitch.PlanAssociatedAlarm;
32
+ } | undefined>;
33
+ /**
34
+ * The description for a plan.
35
+ */
36
+ readonly description: pulumi.Output<string | undefined>;
37
+ /**
38
+ * The execution role for a plan.
39
+ */
40
+ readonly executionRole: pulumi.Output<string>;
41
+ /**
42
+ * Represents a Region switch plan. A plan defines the steps required to shift traffic from one AWS Region to another.
43
+ */
44
+ readonly healthChecksForPlan: pulumi.Output<{
45
+ [key: string]: outputs.arcregionswitch.PlanHealthCheckState[];
46
+ }>;
47
+ /**
48
+ * The name for a plan.
49
+ */
50
+ readonly name: pulumi.Output<string>;
51
+ /**
52
+ * The owner of a plan.
53
+ */
54
+ readonly owner: pulumi.Output<string>;
55
+ /**
56
+ * The primary Region for a plan.
57
+ */
58
+ readonly primaryRegion: pulumi.Output<string | undefined>;
59
+ /**
60
+ * The recovery approach for a Region switch plan, which can be active/active (activeActive) or active/passive (activePassive).
61
+ */
62
+ readonly recoveryApproach: pulumi.Output<enums.arcregionswitch.PlanRecoveryApproach>;
63
+ /**
64
+ * The recovery time objective for a plan.
65
+ */
66
+ readonly recoveryTimeObjectiveMinutes: pulumi.Output<number | undefined>;
67
+ /**
68
+ * The AWS Regions for a plan.
69
+ */
70
+ readonly regions: pulumi.Output<string[]>;
71
+ readonly tags: pulumi.Output<{
72
+ [key: string]: string;
73
+ } | undefined>;
74
+ /**
75
+ * The triggers for a plan.
76
+ */
77
+ readonly triggers: pulumi.Output<outputs.arcregionswitch.PlanTrigger[] | undefined>;
78
+ /**
79
+ * The version for the plan.
80
+ */
81
+ readonly version: pulumi.Output<string>;
82
+ /**
83
+ * The workflows for a plan.
84
+ */
85
+ readonly workflows: pulumi.Output<outputs.arcregionswitch.PlanWorkflow[]>;
86
+ /**
87
+ * Create a Plan resource with the given unique name, arguments, and options.
88
+ *
89
+ * @param name The _unique_ name of the resource.
90
+ * @param args The arguments to use to populate this resource's properties.
91
+ * @param opts A bag of options that control this resource's behavior.
92
+ */
93
+ constructor(name: string, args: PlanArgs, opts?: pulumi.CustomResourceOptions);
94
+ }
95
+ /**
96
+ * The set of arguments for constructing a Plan resource.
97
+ */
98
+ export interface PlanArgs {
99
+ /**
100
+ * The associated application health alarms for a plan.
101
+ */
102
+ associatedAlarms?: pulumi.Input<{
103
+ [key: string]: pulumi.Input<inputs.arcregionswitch.PlanAssociatedAlarmArgs>;
104
+ }>;
105
+ /**
106
+ * The description for a plan.
107
+ */
108
+ description?: pulumi.Input<string>;
109
+ /**
110
+ * The execution role for a plan.
111
+ */
112
+ executionRole: pulumi.Input<string>;
113
+ /**
114
+ * The name for a plan.
115
+ */
116
+ name?: pulumi.Input<string>;
117
+ /**
118
+ * The primary Region for a plan.
119
+ */
120
+ primaryRegion?: pulumi.Input<string>;
121
+ /**
122
+ * The recovery approach for a Region switch plan, which can be active/active (activeActive) or active/passive (activePassive).
123
+ */
124
+ recoveryApproach: pulumi.Input<enums.arcregionswitch.PlanRecoveryApproach>;
125
+ /**
126
+ * The recovery time objective for a plan.
127
+ */
128
+ recoveryTimeObjectiveMinutes?: pulumi.Input<number>;
129
+ /**
130
+ * The AWS Regions for a plan.
131
+ */
132
+ regions: pulumi.Input<pulumi.Input<string>[]>;
133
+ tags?: pulumi.Input<{
134
+ [key: string]: pulumi.Input<string>;
135
+ }>;
136
+ /**
137
+ * The triggers for a plan.
138
+ */
139
+ triggers?: pulumi.Input<pulumi.Input<inputs.arcregionswitch.PlanTriggerArgs>[]>;
140
+ /**
141
+ * The workflows for a plan.
142
+ */
143
+ workflows: pulumi.Input<pulumi.Input<inputs.arcregionswitch.PlanWorkflowArgs>[]>;
144
+ }
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Plan = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Represents a plan that specifies Regions, IAM roles, and workflows of logic required to perform the desired change to your multi-Region application
10
+ */
11
+ class Plan extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing Plan resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new Plan(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of Plan. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === Plan.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a Plan 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, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.executionRole === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'executionRole'");
46
+ }
47
+ if ((!args || args.recoveryApproach === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'recoveryApproach'");
49
+ }
50
+ if ((!args || args.regions === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'regions'");
52
+ }
53
+ if ((!args || args.workflows === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'workflows'");
55
+ }
56
+ resourceInputs["associatedAlarms"] = args ? args.associatedAlarms : undefined;
57
+ resourceInputs["description"] = args ? args.description : undefined;
58
+ resourceInputs["executionRole"] = args ? args.executionRole : undefined;
59
+ resourceInputs["name"] = args ? args.name : undefined;
60
+ resourceInputs["primaryRegion"] = args ? args.primaryRegion : undefined;
61
+ resourceInputs["recoveryApproach"] = args ? args.recoveryApproach : undefined;
62
+ resourceInputs["recoveryTimeObjectiveMinutes"] = args ? args.recoveryTimeObjectiveMinutes : undefined;
63
+ resourceInputs["regions"] = args ? args.regions : undefined;
64
+ resourceInputs["tags"] = args ? args.tags : undefined;
65
+ resourceInputs["triggers"] = args ? args.triggers : undefined;
66
+ resourceInputs["workflows"] = args ? args.workflows : undefined;
67
+ resourceInputs["arn"] = undefined /*out*/;
68
+ resourceInputs["healthChecksForPlan"] = undefined /*out*/;
69
+ resourceInputs["owner"] = undefined /*out*/;
70
+ resourceInputs["version"] = undefined /*out*/;
71
+ }
72
+ else {
73
+ resourceInputs["arn"] = undefined /*out*/;
74
+ resourceInputs["associatedAlarms"] = undefined /*out*/;
75
+ resourceInputs["description"] = undefined /*out*/;
76
+ resourceInputs["executionRole"] = undefined /*out*/;
77
+ resourceInputs["healthChecksForPlan"] = undefined /*out*/;
78
+ resourceInputs["name"] = undefined /*out*/;
79
+ resourceInputs["owner"] = undefined /*out*/;
80
+ resourceInputs["primaryRegion"] = undefined /*out*/;
81
+ resourceInputs["recoveryApproach"] = undefined /*out*/;
82
+ resourceInputs["recoveryTimeObjectiveMinutes"] = undefined /*out*/;
83
+ resourceInputs["regions"] = undefined /*out*/;
84
+ resourceInputs["tags"] = undefined /*out*/;
85
+ resourceInputs["triggers"] = undefined /*out*/;
86
+ resourceInputs["version"] = undefined /*out*/;
87
+ resourceInputs["workflows"] = undefined /*out*/;
88
+ }
89
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
90
+ const replaceOnChanges = { replaceOnChanges: ["name", "primaryRegion", "recoveryApproach", "regions[*]"] };
91
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
92
+ super(Plan.__pulumiType, name, resourceInputs, opts);
93
+ }
94
+ }
95
+ exports.Plan = Plan;
96
+ /** @internal */
97
+ Plan.__pulumiType = 'aws-native:arcregionswitch:Plan';
98
+ //# sourceMappingURL=plan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plan.js","sourceRoot":"","sources":["../../arcregionswitch/plan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,IAAI,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IA4DD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAc,EAAE,IAAmC;QACzE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,gBAAgB,KAAK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vD,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,kBAAkB,EAAE,YAAY,CAAC,EAAE,CAAC;QAC3G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAhJL,oBAiJC;AApIG,gBAAgB;AACO,iBAAY,GAAG,iCAAiC,CAAC"}
@@ -34,6 +34,10 @@ export interface GetJobQueueResult {
34
34
  * The Amazon Resource Name (ARN) of the scheduling policy. The format is `aws: *Partition* :batch: *Region* : *Account* :scheduling-policy/ *Name*` . For example, `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy` .
35
35
  */
36
36
  readonly schedulingPolicyArn?: string;
37
+ /**
38
+ * The order of the service environment associated with the job queue. Job queues with a higher priority are evaluated first when associated with the same service environment.
39
+ */
40
+ readonly serviceEnvironmentOrder?: outputs.batch.JobQueueServiceEnvironmentOrder[];
37
41
  /**
38
42
  * The state of the job queue. If the job queue state is `ENABLED` , it is able to accept jobs. If the job queue state is `DISABLED` , new jobs can't be added to the queue, but jobs already in the queue can finish.
39
43
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getJobQueue.js","sourceRoot":"","sources":["../../batch/getJobQueue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAqCD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
1
+ {"version":3,"file":"getJobQueue.js","sourceRoot":"","sources":["../../batch/getJobQueue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAyCD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
@@ -5,11 +5,23 @@ import * as outputs from "../types/output";
5
5
  */
6
6
  export declare function getServiceEnvironment(args: GetServiceEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceEnvironmentResult>;
7
7
  export interface GetServiceEnvironmentArgs {
8
+ /**
9
+ * The Amazon Resource Name (ARN) of the service environment.
10
+ */
8
11
  serviceEnvironmentArn: string;
9
12
  }
10
13
  export interface GetServiceEnvironmentResult {
14
+ /**
15
+ * The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
16
+ */
11
17
  readonly capacityLimits?: outputs.batch.ServiceEnvironmentCapacityLimit[];
18
+ /**
19
+ * The Amazon Resource Name (ARN) of the service environment.
20
+ */
12
21
  readonly serviceEnvironmentArn?: string;
22
+ /**
23
+ * The state of the service environment. Valid values are `ENABLED` and `DISABLED` .
24
+ */
13
25
  readonly state?: string;
14
26
  /**
15
27
  * A key-value pair to associate with a resource.
@@ -23,5 +35,8 @@ export interface GetServiceEnvironmentResult {
23
35
  */
24
36
  export declare function getServiceEnvironmentOutput(args: GetServiceEnvironmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceEnvironmentResult>;
25
37
  export interface GetServiceEnvironmentOutputArgs {
38
+ /**
39
+ * The Amazon Resource Name (ARN) of the service environment.
40
+ */
26
41
  serviceEnvironmentArn: pulumi.Input<string>;
27
42
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getServiceEnvironment.js","sourceRoot":"","sources":["../../batch/getServiceEnvironment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC;AAeD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kEAKC"}
1
+ {"version":3,"file":"getServiceEnvironment.js","sourceRoot":"","sources":["../../batch/getServiceEnvironment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC;AA2BD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kEAKC"}
@@ -25,7 +25,7 @@ export declare class JobQueue extends pulumi.CustomResource {
25
25
  *
26
26
  * > All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue.
27
27
  */
28
- readonly computeEnvironmentOrder: pulumi.Output<outputs.batch.JobQueueComputeEnvironmentOrder[]>;
28
+ readonly computeEnvironmentOrder: pulumi.Output<outputs.batch.JobQueueComputeEnvironmentOrder[] | undefined>;
29
29
  /**
30
30
  * Returns the job queue ARN, such as `batch: *us-east-1* : *111122223333* :job-queue/ *JobQueueName*` .
31
31
  */
@@ -34,6 +34,10 @@ export declare class JobQueue extends pulumi.CustomResource {
34
34
  * The name of the job queue. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
35
35
  */
36
36
  readonly jobQueueName: pulumi.Output<string | undefined>;
37
+ /**
38
+ * The type of job queue. For service jobs that run on SageMaker AI , this value is `SAGEMAKER_TRAINING` . For regular container jobs, this value is `EKS` , `ECS` , or `ECS_FARGATE` depending on the compute environment.
39
+ */
40
+ readonly jobQueueType: pulumi.Output<string | undefined>;
37
41
  /**
38
42
  * The set of actions that AWS Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. AWS Batch will perform each action after `maxTimeSeconds` has passed.
39
43
  */
@@ -46,6 +50,10 @@ export declare class JobQueue extends pulumi.CustomResource {
46
50
  * The Amazon Resource Name (ARN) of the scheduling policy. The format is `aws: *Partition* :batch: *Region* : *Account* :scheduling-policy/ *Name*` . For example, `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy` .
47
51
  */
48
52
  readonly schedulingPolicyArn: pulumi.Output<string | undefined>;
53
+ /**
54
+ * The order of the service environment associated with the job queue. Job queues with a higher priority are evaluated first when associated with the same service environment.
55
+ */
56
+ readonly serviceEnvironmentOrder: pulumi.Output<outputs.batch.JobQueueServiceEnvironmentOrder[] | undefined>;
49
57
  /**
50
58
  * The state of the job queue. If the job queue state is `ENABLED` , it is able to accept jobs. If the job queue state is `DISABLED` , new jobs can't be added to the queue, but jobs already in the queue can finish.
51
59
  */
@@ -74,11 +82,15 @@ export interface JobQueueArgs {
74
82
  *
75
83
  * > All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue.
76
84
  */
77
- computeEnvironmentOrder: pulumi.Input<pulumi.Input<inputs.batch.JobQueueComputeEnvironmentOrderArgs>[]>;
85
+ computeEnvironmentOrder?: pulumi.Input<pulumi.Input<inputs.batch.JobQueueComputeEnvironmentOrderArgs>[]>;
78
86
  /**
79
87
  * The name of the job queue. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
80
88
  */
81
89
  jobQueueName?: pulumi.Input<string>;
90
+ /**
91
+ * The type of job queue. For service jobs that run on SageMaker AI , this value is `SAGEMAKER_TRAINING` . For regular container jobs, this value is `EKS` , `ECS` , or `ECS_FARGATE` depending on the compute environment.
92
+ */
93
+ jobQueueType?: pulumi.Input<string>;
82
94
  /**
83
95
  * The set of actions that AWS Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. AWS Batch will perform each action after `maxTimeSeconds` has passed.
84
96
  */
@@ -91,6 +103,10 @@ export interface JobQueueArgs {
91
103
  * The Amazon Resource Name (ARN) of the scheduling policy. The format is `aws: *Partition* :batch: *Region* : *Account* :scheduling-policy/ *Name*` . For example, `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy` .
92
104
  */
93
105
  schedulingPolicyArn?: pulumi.Input<string>;
106
+ /**
107
+ * The order of the service environment associated with the job queue. Job queues with a higher priority are evaluated first when associated with the same service environment.
108
+ */
109
+ serviceEnvironmentOrder?: pulumi.Input<pulumi.Input<inputs.batch.JobQueueServiceEnvironmentOrderArgs>[]>;
94
110
  /**
95
111
  * The state of the job queue. If the job queue state is `ENABLED` , it is able to accept jobs. If the job queue state is `DISABLED` , new jobs can't be added to the queue, but jobs already in the queue can finish.
96
112
  */