@pulumi/aws-native 1.31.0-alpha.1750423631 → 1.31.0-alpha.1750954106

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 (107) hide show
  1. package/aiops/getInvestigationGroup.d.ts +46 -0
  2. package/aiops/getInvestigationGroup.js +28 -0
  3. package/aiops/getInvestigationGroup.js.map +1 -0
  4. package/aiops/index.d.ts +6 -0
  5. package/aiops/index.js +25 -0
  6. package/aiops/index.js.map +1 -0
  7. package/aiops/investigationGroup.d.ts +96 -0
  8. package/aiops/investigationGroup.js +86 -0
  9. package/aiops/investigationGroup.js.map +1 -0
  10. package/arczonalshift/getZonalAutoshiftConfiguration.d.ts +2 -2
  11. package/arczonalshift/zonalAutoshiftConfiguration.d.ts +2 -2
  12. package/cloudformation/getStack.d.ts +9 -9
  13. package/cloudformation/stack.d.ts +22 -22
  14. package/datazone/getProjectProfile.d.ts +2 -0
  15. package/datazone/getProjectProfile.js.map +1 -1
  16. package/datazone/projectProfile.d.ts +4 -0
  17. package/datazone/projectProfile.js +2 -0
  18. package/datazone/projectProfile.js.map +1 -1
  19. package/dsql/cluster.d.ts +12 -0
  20. package/dsql/cluster.js +4 -0
  21. package/dsql/cluster.js.map +1 -1
  22. package/dsql/getCluster.d.ts +4 -0
  23. package/dsql/getCluster.js.map +1 -1
  24. package/ecs/getService.d.ts +44 -0
  25. package/ecs/getService.js +44 -0
  26. package/ecs/getService.js.map +1 -1
  27. package/ecs/service.d.ts +22 -0
  28. package/ecs/service.js +22 -0
  29. package/ecs/service.js.map +1 -1
  30. package/gamelift/getContainerFleet.d.ts +4 -0
  31. package/gamelift/getContainerFleet.js.map +1 -1
  32. package/index.d.ts +3 -1
  33. package/index.js +9 -5
  34. package/index.js.map +1 -1
  35. package/inspectorv2/filter.d.ts +6 -0
  36. package/inspectorv2/filter.js.map +1 -1
  37. package/inspectorv2/getFilter.d.ts +3 -0
  38. package/inspectorv2/getFilter.js.map +1 -1
  39. package/mediatailor/getPlaybackConfiguration.d.ts +5 -0
  40. package/mediatailor/getPlaybackConfiguration.js.map +1 -1
  41. package/mediatailor/playbackConfiguration.d.ts +9 -0
  42. package/mediatailor/playbackConfiguration.js +2 -0
  43. package/mediatailor/playbackConfiguration.js.map +1 -1
  44. package/package.json +3 -3
  45. package/package.json.dev +2 -2
  46. package/s3tables/index.d.ts +3 -0
  47. package/s3tables/index.js +5 -1
  48. package/s3tables/index.js.map +1 -1
  49. package/s3tables/namespace.d.ts +37 -0
  50. package/s3tables/namespace.js +66 -0
  51. package/s3tables/namespace.js.map +1 -0
  52. package/securityhub/aggregatorV2.d.ts +6 -0
  53. package/securityhub/aggregatorV2.js.map +1 -1
  54. package/securityhub/automationRuleV2.d.ts +18 -0
  55. package/securityhub/automationRuleV2.js.map +1 -1
  56. package/securityhub/getAggregatorV2.d.ts +3 -0
  57. package/securityhub/getAggregatorV2.js.map +1 -1
  58. package/securityhub/getAutomationRuleV2.d.ts +12 -0
  59. package/securityhub/getAutomationRuleV2.js.map +1 -1
  60. package/securityhub/getHubV2.d.ts +6 -0
  61. package/securityhub/getHubV2.js.map +1 -1
  62. package/securityhub/hubV2.d.ts +9 -0
  63. package/securityhub/hubV2.js.map +1 -1
  64. package/types/enums/batch/index.d.ts +10 -0
  65. package/types/enums/batch/index.js +9 -1
  66. package/types/enums/batch/index.js.map +1 -1
  67. package/types/enums/datazone/index.d.ts +5 -0
  68. package/types/enums/datazone/index.js +5 -1
  69. package/types/enums/datazone/index.js.map +1 -1
  70. package/types/enums/index.d.ts +2 -1
  71. package/types/enums/index.js +3 -1
  72. package/types/enums/index.js.map +1 -1
  73. package/types/enums/kendra/index.d.ts +1 -0
  74. package/types/enums/kendra/index.js +1 -0
  75. package/types/enums/kendra/index.js.map +1 -1
  76. package/types/enums/lambda/index.d.ts +12 -0
  77. package/types/enums/lambda/index.js.map +1 -1
  78. package/types/enums/mediatailor/index.d.ts +5 -0
  79. package/types/enums/mediatailor/index.js +5 -1
  80. package/types/enums/mediatailor/index.js.map +1 -1
  81. package/types/enums/rolesanywhere/index.d.ts +0 -1
  82. package/types/enums/rolesanywhere/index.js +0 -1
  83. package/types/enums/rolesanywhere/index.js.map +1 -1
  84. package/types/enums/workspacesinstances/index.d.ts +104 -0
  85. package/types/enums/workspacesinstances/index.js +86 -0
  86. package/types/enums/workspacesinstances/index.js.map +1 -0
  87. package/types/input.d.ts +245 -1
  88. package/types/output.d.ts +265 -1
  89. package/types/output.js.map +1 -1
  90. package/workspacesinstances/getVolume.d.ts +27 -0
  91. package/workspacesinstances/getVolume.js +28 -0
  92. package/workspacesinstances/getVolume.js.map +1 -0
  93. package/workspacesinstances/getWorkspaceInstance.d.ts +35 -0
  94. package/workspacesinstances/getWorkspaceInstance.js +28 -0
  95. package/workspacesinstances/getWorkspaceInstance.js.map +1 -0
  96. package/workspacesinstances/index.d.ts +16 -0
  97. package/workspacesinstances/index.js +52 -0
  98. package/workspacesinstances/index.js.map +1 -0
  99. package/workspacesinstances/volume.d.ts +112 -0
  100. package/workspacesinstances/volume.js +79 -0
  101. package/workspacesinstances/volume.js.map +1 -0
  102. package/workspacesinstances/volumeAssociation.d.ts +66 -0
  103. package/workspacesinstances/volumeAssociation.js +73 -0
  104. package/workspacesinstances/volumeAssociation.js.map +1 -0
  105. package/workspacesinstances/workspaceInstance.d.ts +49 -0
  106. package/workspacesinstances/workspaceInstance.js +66 -0
  107. package/workspacesinstances/workspaceInstance.js.map +1 -0
@@ -0,0 +1,112 @@
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
+ * Resource Type definition for AWS::WorkspacesInstances::Volume - Manages WorkSpaces Volume resources
7
+ */
8
+ export declare class Volume extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing Volume 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): Volume;
18
+ /**
19
+ * Returns true if the given object is an instance of Volume. 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 Volume;
23
+ /**
24
+ * The Availability Zone in which to create the volume
25
+ */
26
+ readonly availabilityZone: pulumi.Output<string>;
27
+ /**
28
+ * Indicates whether the volume should be encrypted
29
+ */
30
+ readonly encrypted: pulumi.Output<boolean | undefined>;
31
+ /**
32
+ * The number of I/O operations per second (IOPS)
33
+ */
34
+ readonly iops: pulumi.Output<number | undefined>;
35
+ /**
36
+ * The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption
37
+ */
38
+ readonly kmsKeyId: pulumi.Output<string | undefined>;
39
+ /**
40
+ * The size of the volume, in GiBs
41
+ */
42
+ readonly sizeInGb: pulumi.Output<number | undefined>;
43
+ /**
44
+ * The snapshot from which to create the volume
45
+ */
46
+ readonly snapshotId: pulumi.Output<string | undefined>;
47
+ /**
48
+ * The tags passed to EBS volume
49
+ */
50
+ readonly tagSpecifications: pulumi.Output<outputs.workspacesinstances.VolumeTagSpecification[] | undefined>;
51
+ /**
52
+ * The throughput to provision for a volume, with a maximum of 1,000 MiB/s
53
+ */
54
+ readonly throughput: pulumi.Output<number | undefined>;
55
+ /**
56
+ * Unique identifier for the volume
57
+ */
58
+ readonly volumeId: pulumi.Output<string>;
59
+ /**
60
+ * The volume type
61
+ */
62
+ readonly volumeType: pulumi.Output<enums.workspacesinstances.VolumeType | undefined>;
63
+ /**
64
+ * Create a Volume resource with the given unique name, arguments, and options.
65
+ *
66
+ * @param name The _unique_ name of the resource.
67
+ * @param args The arguments to use to populate this resource's properties.
68
+ * @param opts A bag of options that control this resource's behavior.
69
+ */
70
+ constructor(name: string, args: VolumeArgs, opts?: pulumi.CustomResourceOptions);
71
+ }
72
+ /**
73
+ * The set of arguments for constructing a Volume resource.
74
+ */
75
+ export interface VolumeArgs {
76
+ /**
77
+ * The Availability Zone in which to create the volume
78
+ */
79
+ availabilityZone: pulumi.Input<string>;
80
+ /**
81
+ * Indicates whether the volume should be encrypted
82
+ */
83
+ encrypted?: pulumi.Input<boolean>;
84
+ /**
85
+ * The number of I/O operations per second (IOPS)
86
+ */
87
+ iops?: pulumi.Input<number>;
88
+ /**
89
+ * The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption
90
+ */
91
+ kmsKeyId?: pulumi.Input<string>;
92
+ /**
93
+ * The size of the volume, in GiBs
94
+ */
95
+ sizeInGb?: pulumi.Input<number>;
96
+ /**
97
+ * The snapshot from which to create the volume
98
+ */
99
+ snapshotId?: pulumi.Input<string>;
100
+ /**
101
+ * The tags passed to EBS volume
102
+ */
103
+ tagSpecifications?: pulumi.Input<pulumi.Input<inputs.workspacesinstances.VolumeTagSpecificationArgs>[]>;
104
+ /**
105
+ * The throughput to provision for a volume, with a maximum of 1,000 MiB/s
106
+ */
107
+ throughput?: pulumi.Input<number>;
108
+ /**
109
+ * The volume type
110
+ */
111
+ volumeType?: pulumi.Input<enums.workspacesinstances.VolumeType>;
112
+ }
@@ -0,0 +1,79 @@
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.Volume = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::WorkspacesInstances::Volume - Manages WorkSpaces Volume resources
10
+ */
11
+ class Volume extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing Volume 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 Volume(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of Volume. 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'] === Volume.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a Volume 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.availabilityZone === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'availabilityZone'");
46
+ }
47
+ resourceInputs["availabilityZone"] = args ? args.availabilityZone : undefined;
48
+ resourceInputs["encrypted"] = args ? args.encrypted : undefined;
49
+ resourceInputs["iops"] = args ? args.iops : undefined;
50
+ resourceInputs["kmsKeyId"] = args ? args.kmsKeyId : undefined;
51
+ resourceInputs["sizeInGb"] = args ? args.sizeInGb : undefined;
52
+ resourceInputs["snapshotId"] = args ? args.snapshotId : undefined;
53
+ resourceInputs["tagSpecifications"] = args ? args.tagSpecifications : undefined;
54
+ resourceInputs["throughput"] = args ? args.throughput : undefined;
55
+ resourceInputs["volumeType"] = args ? args.volumeType : undefined;
56
+ resourceInputs["volumeId"] = undefined /*out*/;
57
+ }
58
+ else {
59
+ resourceInputs["availabilityZone"] = undefined /*out*/;
60
+ resourceInputs["encrypted"] = undefined /*out*/;
61
+ resourceInputs["iops"] = undefined /*out*/;
62
+ resourceInputs["kmsKeyId"] = undefined /*out*/;
63
+ resourceInputs["sizeInGb"] = undefined /*out*/;
64
+ resourceInputs["snapshotId"] = undefined /*out*/;
65
+ resourceInputs["tagSpecifications"] = undefined /*out*/;
66
+ resourceInputs["throughput"] = undefined /*out*/;
67
+ resourceInputs["volumeId"] = undefined /*out*/;
68
+ resourceInputs["volumeType"] = undefined /*out*/;
69
+ }
70
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
71
+ const replaceOnChanges = { replaceOnChanges: ["availabilityZone", "encrypted", "iops", "kmsKeyId", "sizeInGb", "snapshotId", "tagSpecifications[*]", "throughput", "volumeType"] };
72
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
73
+ super(Volume.__pulumiType, name, resourceInputs, opts);
74
+ }
75
+ }
76
+ exports.Volume = Volume;
77
+ /** @internal */
78
+ Volume.__pulumiType = 'aws-native:workspacesinstances:Volume';
79
+ //# sourceMappingURL=volume.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"volume.js","sourceRoot":"","sources":["../../workspacesinstances/volume.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,MAAM,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA2CD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAgB,EAAE,IAAmC;QAC3E,IAAI,cAAc,GAA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+1,66 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as enums from "../types/enums";
3
+ /**
4
+ * Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation
5
+ */
6
+ export declare class VolumeAssociation extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing VolumeAssociation resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): VolumeAssociation;
16
+ /**
17
+ * Returns true if the given object is an instance of VolumeAssociation. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is VolumeAssociation;
21
+ /**
22
+ * The device name for the volume attachment
23
+ */
24
+ readonly device: pulumi.Output<string>;
25
+ /**
26
+ * Mode to use when disassociating the volume
27
+ */
28
+ readonly disassociateMode: pulumi.Output<enums.workspacesinstances.VolumeAssociationDisassociateMode | undefined>;
29
+ /**
30
+ * ID of the volume to attach to the workspace instance
31
+ */
32
+ readonly volumeId: pulumi.Output<string>;
33
+ /**
34
+ * ID of the workspace instance to associate with the volume
35
+ */
36
+ readonly workspaceInstanceId: pulumi.Output<string>;
37
+ /**
38
+ * Create a VolumeAssociation resource with the given unique name, arguments, and options.
39
+ *
40
+ * @param name The _unique_ name of the resource.
41
+ * @param args The arguments to use to populate this resource's properties.
42
+ * @param opts A bag of options that control this resource's behavior.
43
+ */
44
+ constructor(name: string, args: VolumeAssociationArgs, opts?: pulumi.CustomResourceOptions);
45
+ }
46
+ /**
47
+ * The set of arguments for constructing a VolumeAssociation resource.
48
+ */
49
+ export interface VolumeAssociationArgs {
50
+ /**
51
+ * The device name for the volume attachment
52
+ */
53
+ device: pulumi.Input<string>;
54
+ /**
55
+ * Mode to use when disassociating the volume
56
+ */
57
+ disassociateMode?: pulumi.Input<enums.workspacesinstances.VolumeAssociationDisassociateMode>;
58
+ /**
59
+ * ID of the volume to attach to the workspace instance
60
+ */
61
+ volumeId: pulumi.Input<string>;
62
+ /**
63
+ * ID of the workspace instance to associate with the volume
64
+ */
65
+ workspaceInstanceId: pulumi.Input<string>;
66
+ }
@@ -0,0 +1,73 @@
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.VolumeAssociation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation
10
+ */
11
+ class VolumeAssociation extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing VolumeAssociation 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 VolumeAssociation(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of VolumeAssociation. 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'] === VolumeAssociation.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a VolumeAssociation 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.device === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'device'");
46
+ }
47
+ if ((!args || args.volumeId === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'volumeId'");
49
+ }
50
+ if ((!args || args.workspaceInstanceId === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'workspaceInstanceId'");
52
+ }
53
+ resourceInputs["device"] = args ? args.device : undefined;
54
+ resourceInputs["disassociateMode"] = args ? args.disassociateMode : undefined;
55
+ resourceInputs["volumeId"] = args ? args.volumeId : undefined;
56
+ resourceInputs["workspaceInstanceId"] = args ? args.workspaceInstanceId : undefined;
57
+ }
58
+ else {
59
+ resourceInputs["device"] = undefined /*out*/;
60
+ resourceInputs["disassociateMode"] = undefined /*out*/;
61
+ resourceInputs["volumeId"] = undefined /*out*/;
62
+ resourceInputs["workspaceInstanceId"] = undefined /*out*/;
63
+ }
64
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
65
+ const replaceOnChanges = { replaceOnChanges: ["device", "volumeId", "workspaceInstanceId"] };
66
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
67
+ super(VolumeAssociation.__pulumiType, name, resourceInputs, opts);
68
+ }
69
+ }
70
+ exports.VolumeAssociation = VolumeAssociation;
71
+ /** @internal */
72
+ VolumeAssociation.__pulumiType = 'aws-native:workspacesinstances:VolumeAssociation';
73
+ //# sourceMappingURL=volumeAssociation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"volumeAssociation.js","sourceRoot":"","sources":["../../workspacesinstances/volumeAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,K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AAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;SACvF;aAAM;YACH,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,QAAQ,EAAE,UAAU,EAAE,qBAAqB,CAAC,EAAE,CAAC;QAC7F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA9EL,8CA+EC;AAlEG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
@@ -0,0 +1,49 @@
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
+ * Resource Type definition for AWS::WorkspacesInstances::WorkspaceInstance
7
+ */
8
+ export declare class WorkspaceInstance extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing WorkspaceInstance 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): WorkspaceInstance;
18
+ /**
19
+ * Returns true if the given object is an instance of WorkspaceInstance. 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 WorkspaceInstance;
23
+ readonly ec2ManagedInstance: pulumi.Output<outputs.workspacesinstances.WorkspaceInstanceEc2ManagedInstance>;
24
+ readonly managedInstance: pulumi.Output<outputs.workspacesinstances.ManagedInstanceProperties | undefined>;
25
+ /**
26
+ * The current state of the workspace instance
27
+ */
28
+ readonly provisionState: pulumi.Output<enums.workspacesinstances.WorkspaceInstanceProvisionState>;
29
+ readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
30
+ /**
31
+ * Unique identifier for the workspace instance
32
+ */
33
+ readonly workspaceInstanceId: pulumi.Output<string>;
34
+ /**
35
+ * Create a WorkspaceInstance resource with the given unique name, arguments, and options.
36
+ *
37
+ * @param name The _unique_ name of the resource.
38
+ * @param args The arguments to use to populate this resource's properties.
39
+ * @param opts A bag of options that control this resource's behavior.
40
+ */
41
+ constructor(name: string, args?: WorkspaceInstanceArgs, opts?: pulumi.CustomResourceOptions);
42
+ }
43
+ /**
44
+ * The set of arguments for constructing a WorkspaceInstance resource.
45
+ */
46
+ export interface WorkspaceInstanceArgs {
47
+ managedInstance?: pulumi.Input<inputs.workspacesinstances.ManagedInstancePropertiesArgs>;
48
+ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
49
+ }
@@ -0,0 +1,66 @@
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.WorkspaceInstance = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::WorkspacesInstances::WorkspaceInstance
10
+ */
11
+ class WorkspaceInstance extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing WorkspaceInstance 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 WorkspaceInstance(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of WorkspaceInstance. 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'] === WorkspaceInstance.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a WorkspaceInstance 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
+ resourceInputs["managedInstance"] = args ? args.managedInstance : undefined;
45
+ resourceInputs["tags"] = args ? args.tags : undefined;
46
+ resourceInputs["ec2ManagedInstance"] = undefined /*out*/;
47
+ resourceInputs["provisionState"] = undefined /*out*/;
48
+ resourceInputs["workspaceInstanceId"] = undefined /*out*/;
49
+ }
50
+ else {
51
+ resourceInputs["ec2ManagedInstance"] = undefined /*out*/;
52
+ resourceInputs["managedInstance"] = undefined /*out*/;
53
+ resourceInputs["provisionState"] = undefined /*out*/;
54
+ resourceInputs["tags"] = undefined /*out*/;
55
+ resourceInputs["workspaceInstanceId"] = undefined /*out*/;
56
+ }
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
58
+ const replaceOnChanges = { replaceOnChanges: ["managedInstance"] };
59
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
60
+ super(WorkspaceInstance.__pulumiType, name, resourceInputs, opts);
61
+ }
62
+ }
63
+ exports.WorkspaceInstance = WorkspaceInstance;
64
+ /** @internal */
65
+ WorkspaceInstance.__pulumiType = 'aws-native:workspacesinstances:WorkspaceInstance';
66
+ //# sourceMappingURL=workspaceInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceInstance.js","sourceRoot":"","sources":["../../workspacesinstances/workspaceInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAcD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA4B,EAAE,IAAmC;QACvF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC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