@pulumi/aws 4.17.0-alpha.1629415483 → 4.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/appconfig/deployment.d.ts +8 -0
- package/appconfig/deployment.js +2 -0
- package/appconfig/deployment.js.map +1 -1
- package/appstream/index.d.ts +1 -0
- package/appstream/index.js +33 -0
- package/appstream/index.js.map +1 -0
- package/appstream/stack.d.ts +235 -0
- package/appstream/stack.js +130 -0
- package/appstream/stack.js.map +1 -0
- package/autoscaling/index.d.ts +1 -0
- package/autoscaling/index.js +5 -0
- package/autoscaling/index.js.map +1 -1
- package/autoscaling/tag.d.ts +70 -0
- package/autoscaling/tag.js +68 -0
- package/autoscaling/tag.js.map +1 -0
- package/chime/index.d.ts +1 -0
- package/chime/index.js +5 -0
- package/chime/index.js.map +1 -1
- package/chime/voiceConnectorGroup.d.ts +100 -0
- package/chime/voiceConnectorGroup.js +92 -0
- package/chime/voiceConnectorGroup.js.map +1 -0
- package/directconnect/connection.d.ts +31 -5
- package/directconnect/connection.js +5 -1
- package/directconnect/connection.js.map +1 -1
- package/directconnect/getConnection.d.ts +71 -0
- package/directconnect/getConnection.js +35 -0
- package/directconnect/getConnection.js.map +1 -0
- package/directconnect/getLocation.d.ts +50 -0
- package/directconnect/getLocation.js +37 -0
- package/directconnect/getLocation.js.map +1 -0
- package/directconnect/getLocations.d.ts +30 -0
- package/directconnect/getLocations.js +33 -0
- package/directconnect/getLocations.js.map +1 -0
- package/directconnect/index.d.ts +3 -0
- package/directconnect/index.js +3 -0
- package/directconnect/index.js.map +1 -1
- package/directconnect/linkAggregationGroup.d.ts +28 -4
- package/directconnect/linkAggregationGroup.js +5 -1
- package/directconnect/linkAggregationGroup.js.map +1 -1
- package/dynamodb/index.d.ts +1 -0
- package/dynamodb/index.js +5 -0
- package/dynamodb/index.js.map +1 -1
- package/dynamodb/tag.d.ts +81 -0
- package/dynamodb/tag.js +73 -0
- package/dynamodb/tag.js.map +1 -0
- package/ec2/getSubnets.d.ts +39 -0
- package/ec2/getSubnets.js +25 -0
- package/ec2/getSubnets.js.map +1 -0
- package/ec2/index.d.ts +1 -0
- package/ec2/index.js +1 -0
- package/ec2/index.js.map +1 -1
- package/ecs/index.d.ts +1 -0
- package/ecs/index.js +5 -0
- package/ecs/index.js.map +1 -1
- package/ecs/tag.d.ts +81 -0
- package/ecs/tag.js +73 -0
- package/ecs/tag.js.map +1 -0
- package/efs/getFileSystem.d.ts +8 -0
- package/efs/getFileSystem.js +5 -0
- package/efs/getFileSystem.js.map +1 -1
- package/eks/nodeGroup.d.ts +6 -0
- package/eks/nodeGroup.js +5 -0
- package/eks/nodeGroup.js.map +1 -1
- package/elasticache/user.d.ts +0 -17
- package/elasticache/user.js +0 -17
- package/elasticache/user.js.map +1 -1
- package/elasticsearch/domain.d.ts +8 -13
- package/elasticsearch/domain.js +2 -7
- package/elasticsearch/domain.js.map +1 -1
- package/fsx/backup.d.ts +142 -0
- package/fsx/backup.js +92 -0
- package/fsx/backup.js.map +1 -0
- package/fsx/index.d.ts +1 -0
- package/fsx/index.js +5 -0
- package/fsx/index.js.map +1 -1
- package/fsx/lustreFileSystem.d.ts +17 -5
- package/fsx/lustreFileSystem.js +2 -3
- package/fsx/lustreFileSystem.js.map +1 -1
- package/fsx/windowsFileSystem.d.ts +16 -4
- package/fsx/windowsFileSystem.js +2 -3
- package/fsx/windowsFileSystem.js.map +1 -1
- package/iam/getRoles.d.ts +95 -0
- package/iam/getRoles.js +81 -0
- package/iam/getRoles.js.map +1 -0
- package/iam/index.d.ts +1 -0
- package/iam/index.js +1 -0
- package/iam/index.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +9 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/route53/delegationSet.d.ts +8 -0
- package/route53/delegationSet.js +2 -0
- package/route53/delegationSet.js.map +1 -1
- package/route53/getDelegationSet.d.ts +1 -0
- package/route53/getZone.d.ts +4 -0
- package/route53/healthCheck.d.ts +9 -1
- package/route53/healthCheck.js +2 -0
- package/route53/healthCheck.js.map +1 -1
- package/route53/queryLog.d.ts +8 -0
- package/route53/queryLog.js +2 -0
- package/route53/queryLog.js.map +1 -1
- package/route53/zone.d.ts +8 -0
- package/route53/zone.js +2 -0
- package/route53/zone.js.map +1 -1
- package/route53recoverycontrol/cluster.d.ts +93 -0
- package/route53recoverycontrol/cluster.js +77 -0
- package/route53recoverycontrol/cluster.js.map +1 -0
- package/route53recoverycontrol/controlPanel.d.ts +114 -0
- package/route53recoverycontrol/controlPanel.js +86 -0
- package/route53recoverycontrol/controlPanel.js.map +1 -0
- package/route53recoverycontrol/index.d.ts +4 -0
- package/route53recoverycontrol/index.js +48 -0
- package/route53recoverycontrol/index.js.map +1 -0
- package/route53recoverycontrol/routingControl.d.ts +120 -0
- package/route53recoverycontrol/routingControl.js +94 -0
- package/route53recoverycontrol/routingControl.js.map +1 -0
- package/route53recoverycontrol/safetyRule.d.ts +183 -0
- package/route53recoverycontrol/safetyRule.js +122 -0
- package/route53recoverycontrol/safetyRule.js.map +1 -0
- package/route53recoveryreadiness/cell.d.ts +134 -0
- package/route53recoveryreadiness/cell.js +86 -0
- package/route53recoveryreadiness/cell.js.map +1 -0
- package/route53recoveryreadiness/index.d.ts +4 -0
- package/route53recoveryreadiness/index.js +48 -0
- package/route53recoveryreadiness/index.js.map +1 -0
- package/route53recoveryreadiness/readinessCheck.d.ts +127 -0
- package/route53recoveryreadiness/readinessCheck.js +88 -0
- package/route53recoveryreadiness/readinessCheck.js.map +1 -0
- package/route53recoveryreadiness/recoveryGroup.d.ts +126 -0
- package/route53recoveryreadiness/recoveryGroup.js +84 -0
- package/route53recoveryreadiness/recoveryGroup.js.map +1 -0
- package/route53recoveryreadiness/resourceSet.d.ts +143 -0
- package/route53recoveryreadiness/resourceSet.js +96 -0
- package/route53recoveryreadiness/resourceSet.js.map +1 -0
- package/s3/inventory.d.ts +3 -6
- package/s3/inventory.js.map +1 -1
- package/sagemaker/deviceFleet.d.ts +170 -0
- package/sagemaker/deviceFleet.js +103 -0
- package/sagemaker/deviceFleet.js.map +1 -0
- package/sagemaker/humanTaskUI.d.ts +131 -0
- package/sagemaker/humanTaskUI.js +91 -0
- package/sagemaker/humanTaskUI.js.map +1 -0
- package/sagemaker/index.d.ts +2 -0
- package/sagemaker/index.js +10 -0
- package/sagemaker/index.js.map +1 -1
- package/servicecatalog/provisionedProduct.d.ts +5 -4
- package/servicecatalog/provisionedProduct.js +5 -4
- package/servicecatalog/provisionedProduct.js.map +1 -1
- package/storagegateway/smbFileShare.d.ts +1 -1
- package/types/input.d.ts +615 -396
- package/types/output.d.ts +615 -396
|
@@ -77,6 +77,10 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
77
77
|
* The environment ID. Must be between 4 and 7 characters in length.
|
|
78
78
|
*/
|
|
79
79
|
readonly environmentId: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The state of the deployment.
|
|
82
|
+
*/
|
|
83
|
+
readonly state: pulumi.Output<string>;
|
|
80
84
|
/**
|
|
81
85
|
* A map of tags to assign to the resource. 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.
|
|
82
86
|
*/
|
|
@@ -134,6 +138,10 @@ export interface DeploymentState {
|
|
|
134
138
|
* The environment ID. Must be between 4 and 7 characters in length.
|
|
135
139
|
*/
|
|
136
140
|
environmentId?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The state of the deployment.
|
|
143
|
+
*/
|
|
144
|
+
state?: pulumi.Input<string>;
|
|
137
145
|
/**
|
|
138
146
|
* A map of tags to assign to the resource. 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.
|
|
139
147
|
*/
|
package/appconfig/deployment.js
CHANGED
|
@@ -49,6 +49,7 @@ class Deployment extends pulumi.CustomResource {
|
|
|
49
49
|
inputs["deploymentStrategyId"] = state ? state.deploymentStrategyId : undefined;
|
|
50
50
|
inputs["description"] = state ? state.description : undefined;
|
|
51
51
|
inputs["environmentId"] = state ? state.environmentId : undefined;
|
|
52
|
+
inputs["state"] = state ? state.state : undefined;
|
|
52
53
|
inputs["tags"] = state ? state.tags : undefined;
|
|
53
54
|
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
54
55
|
}
|
|
@@ -78,6 +79,7 @@ class Deployment extends pulumi.CustomResource {
|
|
|
78
79
|
inputs["tags"] = args ? args.tags : undefined;
|
|
79
80
|
inputs["arn"] = undefined /*out*/;
|
|
80
81
|
inputs["deploymentNumber"] = undefined /*out*/;
|
|
82
|
+
inputs["state"] = undefined /*out*/;
|
|
81
83
|
inputs["tagsAll"] = undefined /*out*/;
|
|
82
84
|
}
|
|
83
85
|
if (!opts.version) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../../appconfig/deployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../../appconfig/deployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAiFjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG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IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAmIC;AArHG,gBAAgB;AACO,uBAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./stack";
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
+
}) : (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
o[k2] = m[k];
|
|
10
|
+
}));
|
|
11
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const pulumi = require("@pulumi/pulumi");
|
|
16
|
+
const utilities = require("../utilities");
|
|
17
|
+
// Export members:
|
|
18
|
+
__exportStar(require("./stack"), exports);
|
|
19
|
+
// Import resources to register:
|
|
20
|
+
const stack_1 = require("./stack");
|
|
21
|
+
const _module = {
|
|
22
|
+
version: utilities.getVersion(),
|
|
23
|
+
construct: (name, type, urn) => {
|
|
24
|
+
switch (type) {
|
|
25
|
+
case "aws:appstream/stack:Stack":
|
|
26
|
+
return new stack_1.Stack(name, undefined, { urn });
|
|
27
|
+
default:
|
|
28
|
+
throw new Error(`unknown resource type ${type}`);
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
pulumi.runtime.registerResourceModule("aws", "appstream/stack", _module);
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../appstream/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,0CAAwB;AAExB,gCAAgC;AAChC,mCAAgC;AAEhC,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,2BAA2B;gBAC5B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides an AppStream stack.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const example = new aws.appstream.Stack("example", {
|
|
13
|
+
* applicationSettings: {
|
|
14
|
+
* enabled: true,
|
|
15
|
+
* settingsGroup: "SettingsGroup",
|
|
16
|
+
* },
|
|
17
|
+
* description: "stack description",
|
|
18
|
+
* displayName: "stack display name",
|
|
19
|
+
* feedbackUrl: "http://your-domain/feedback",
|
|
20
|
+
* redirectUrl: "http://your-domain/redirect",
|
|
21
|
+
* storageConnectors: [{
|
|
22
|
+
* connectorType: "HOMEFOLDERS",
|
|
23
|
+
* }],
|
|
24
|
+
* tags: {
|
|
25
|
+
* TagName: "TagValue",
|
|
26
|
+
* },
|
|
27
|
+
* userSettings: [
|
|
28
|
+
* {
|
|
29
|
+
* action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE",
|
|
30
|
+
* permission: "ENABLED",
|
|
31
|
+
* },
|
|
32
|
+
* {
|
|
33
|
+
* action: "CLIPBOARD_COPY_TO_LOCAL_DEVICE",
|
|
34
|
+
* permission: "ENABLED",
|
|
35
|
+
* },
|
|
36
|
+
* {
|
|
37
|
+
* action: "FILE_UPLOAD",
|
|
38
|
+
* permission: "ENABLED",
|
|
39
|
+
* },
|
|
40
|
+
* {
|
|
41
|
+
* action: "FILE_DOWNLOAD",
|
|
42
|
+
* permission: "ENABLED",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## Import
|
|
49
|
+
*
|
|
50
|
+
* `aws_appstream_stack` can be imported using the id, e.g.
|
|
51
|
+
*
|
|
52
|
+
* ```sh
|
|
53
|
+
* $ pulumi import aws:appstream/stack:Stack example stackID
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare class Stack extends pulumi.CustomResource {
|
|
57
|
+
/**
|
|
58
|
+
* Get an existing Stack resource's state with the given name, ID, and optional extra
|
|
59
|
+
* properties used to qualify the lookup.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resulting resource.
|
|
62
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
63
|
+
* @param state Any extra arguments used during the lookup.
|
|
64
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
|
+
*/
|
|
66
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StackState, opts?: pulumi.CustomResourceOptions): Stack;
|
|
67
|
+
/**
|
|
68
|
+
* Returns true if the given object is an instance of Stack. This is designed to work even
|
|
69
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
+
*/
|
|
71
|
+
static isInstance(obj: any): obj is Stack;
|
|
72
|
+
readonly accessEndpoints: pulumi.Output<outputs.appstream.StackAccessEndpoint[]>;
|
|
73
|
+
/**
|
|
74
|
+
* Settings for application settings persistence.
|
|
75
|
+
*/
|
|
76
|
+
readonly applicationSettings: pulumi.Output<outputs.appstream.StackApplicationSettings>;
|
|
77
|
+
/**
|
|
78
|
+
* ARN of the appstream stack.
|
|
79
|
+
*/
|
|
80
|
+
readonly arn: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Date and time, in UTC and extended RFC 3339 format, when the stack was created.
|
|
83
|
+
*/
|
|
84
|
+
readonly createdTime: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Description for the AppStream stack.
|
|
87
|
+
*/
|
|
88
|
+
readonly description: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Stack name to display.
|
|
91
|
+
*/
|
|
92
|
+
readonly displayName: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
|
|
95
|
+
*/
|
|
96
|
+
readonly embedHostDomains: pulumi.Output<string[]>;
|
|
97
|
+
/**
|
|
98
|
+
* URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .
|
|
99
|
+
*/
|
|
100
|
+
readonly feedbackUrl: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Unique name for the AppStream stack.
|
|
103
|
+
*/
|
|
104
|
+
readonly name: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* URL that users are redirected to after their streaming session ends.
|
|
107
|
+
*/
|
|
108
|
+
readonly redirectUrl: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Configuration block for the storage connectors to enable. See below.
|
|
111
|
+
*/
|
|
112
|
+
readonly storageConnectors: pulumi.Output<outputs.appstream.StackStorageConnector[]>;
|
|
113
|
+
readonly tags: pulumi.Output<{
|
|
114
|
+
[key: string]: string;
|
|
115
|
+
} | undefined>;
|
|
116
|
+
readonly tagsAll: pulumi.Output<{
|
|
117
|
+
[key: string]: string;
|
|
118
|
+
}>;
|
|
119
|
+
/**
|
|
120
|
+
* Configuration block for the actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled. See below.
|
|
121
|
+
*/
|
|
122
|
+
readonly userSettings: pulumi.Output<outputs.appstream.StackUserSetting[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Create a Stack resource with the given unique name, arguments, and options.
|
|
125
|
+
*
|
|
126
|
+
* @param name The _unique_ name of the resource.
|
|
127
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
128
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
129
|
+
*/
|
|
130
|
+
constructor(name: string, args?: StackArgs, opts?: pulumi.CustomResourceOptions);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Input properties used for looking up and filtering Stack resources.
|
|
134
|
+
*/
|
|
135
|
+
export interface StackState {
|
|
136
|
+
accessEndpoints?: pulumi.Input<pulumi.Input<inputs.appstream.StackAccessEndpoint>[]>;
|
|
137
|
+
/**
|
|
138
|
+
* Settings for application settings persistence.
|
|
139
|
+
*/
|
|
140
|
+
applicationSettings?: pulumi.Input<inputs.appstream.StackApplicationSettings>;
|
|
141
|
+
/**
|
|
142
|
+
* ARN of the appstream stack.
|
|
143
|
+
*/
|
|
144
|
+
arn?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Date and time, in UTC and extended RFC 3339 format, when the stack was created.
|
|
147
|
+
*/
|
|
148
|
+
createdTime?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Description for the AppStream stack.
|
|
151
|
+
*/
|
|
152
|
+
description?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* Stack name to display.
|
|
155
|
+
*/
|
|
156
|
+
displayName?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
|
|
159
|
+
*/
|
|
160
|
+
embedHostDomains?: pulumi.Input<pulumi.Input<string>[]>;
|
|
161
|
+
/**
|
|
162
|
+
* URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .
|
|
163
|
+
*/
|
|
164
|
+
feedbackUrl?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* Unique name for the AppStream stack.
|
|
167
|
+
*/
|
|
168
|
+
name?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* URL that users are redirected to after their streaming session ends.
|
|
171
|
+
*/
|
|
172
|
+
redirectUrl?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Configuration block for the storage connectors to enable. See below.
|
|
175
|
+
*/
|
|
176
|
+
storageConnectors?: pulumi.Input<pulumi.Input<inputs.appstream.StackStorageConnector>[]>;
|
|
177
|
+
tags?: pulumi.Input<{
|
|
178
|
+
[key: string]: pulumi.Input<string>;
|
|
179
|
+
}>;
|
|
180
|
+
tagsAll?: pulumi.Input<{
|
|
181
|
+
[key: string]: pulumi.Input<string>;
|
|
182
|
+
}>;
|
|
183
|
+
/**
|
|
184
|
+
* Configuration block for the actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled. See below.
|
|
185
|
+
*/
|
|
186
|
+
userSettings?: pulumi.Input<pulumi.Input<inputs.appstream.StackUserSetting>[]>;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* The set of arguments for constructing a Stack resource.
|
|
190
|
+
*/
|
|
191
|
+
export interface StackArgs {
|
|
192
|
+
accessEndpoints?: pulumi.Input<pulumi.Input<inputs.appstream.StackAccessEndpoint>[]>;
|
|
193
|
+
/**
|
|
194
|
+
* Settings for application settings persistence.
|
|
195
|
+
*/
|
|
196
|
+
applicationSettings?: pulumi.Input<inputs.appstream.StackApplicationSettings>;
|
|
197
|
+
/**
|
|
198
|
+
* Description for the AppStream stack.
|
|
199
|
+
*/
|
|
200
|
+
description?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* Stack name to display.
|
|
203
|
+
*/
|
|
204
|
+
displayName?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
|
|
207
|
+
*/
|
|
208
|
+
embedHostDomains?: pulumi.Input<pulumi.Input<string>[]>;
|
|
209
|
+
/**
|
|
210
|
+
* URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .
|
|
211
|
+
*/
|
|
212
|
+
feedbackUrl?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Unique name for the AppStream stack.
|
|
215
|
+
*/
|
|
216
|
+
name?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* URL that users are redirected to after their streaming session ends.
|
|
219
|
+
*/
|
|
220
|
+
redirectUrl?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* Configuration block for the storage connectors to enable. See below.
|
|
223
|
+
*/
|
|
224
|
+
storageConnectors?: pulumi.Input<pulumi.Input<inputs.appstream.StackStorageConnector>[]>;
|
|
225
|
+
tags?: pulumi.Input<{
|
|
226
|
+
[key: string]: pulumi.Input<string>;
|
|
227
|
+
}>;
|
|
228
|
+
tagsAll?: pulumi.Input<{
|
|
229
|
+
[key: string]: pulumi.Input<string>;
|
|
230
|
+
}>;
|
|
231
|
+
/**
|
|
232
|
+
* Configuration block for the actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled. See below.
|
|
233
|
+
*/
|
|
234
|
+
userSettings?: pulumi.Input<pulumi.Input<inputs.appstream.StackUserSetting>[]>;
|
|
235
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
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.Stack = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an AppStream stack.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.appstream.Stack("example", {
|
|
18
|
+
* applicationSettings: {
|
|
19
|
+
* enabled: true,
|
|
20
|
+
* settingsGroup: "SettingsGroup",
|
|
21
|
+
* },
|
|
22
|
+
* description: "stack description",
|
|
23
|
+
* displayName: "stack display name",
|
|
24
|
+
* feedbackUrl: "http://your-domain/feedback",
|
|
25
|
+
* redirectUrl: "http://your-domain/redirect",
|
|
26
|
+
* storageConnectors: [{
|
|
27
|
+
* connectorType: "HOMEFOLDERS",
|
|
28
|
+
* }],
|
|
29
|
+
* tags: {
|
|
30
|
+
* TagName: "TagValue",
|
|
31
|
+
* },
|
|
32
|
+
* userSettings: [
|
|
33
|
+
* {
|
|
34
|
+
* action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE",
|
|
35
|
+
* permission: "ENABLED",
|
|
36
|
+
* },
|
|
37
|
+
* {
|
|
38
|
+
* action: "CLIPBOARD_COPY_TO_LOCAL_DEVICE",
|
|
39
|
+
* permission: "ENABLED",
|
|
40
|
+
* },
|
|
41
|
+
* {
|
|
42
|
+
* action: "FILE_UPLOAD",
|
|
43
|
+
* permission: "ENABLED",
|
|
44
|
+
* },
|
|
45
|
+
* {
|
|
46
|
+
* action: "FILE_DOWNLOAD",
|
|
47
|
+
* permission: "ENABLED",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ## Import
|
|
54
|
+
*
|
|
55
|
+
* `aws_appstream_stack` can be imported using the id, e.g.
|
|
56
|
+
*
|
|
57
|
+
* ```sh
|
|
58
|
+
* $ pulumi import aws:appstream/stack:Stack example stackID
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
class Stack extends pulumi.CustomResource {
|
|
62
|
+
constructor(name, argsOrState, opts) {
|
|
63
|
+
let inputs = {};
|
|
64
|
+
opts = opts || {};
|
|
65
|
+
if (opts.id) {
|
|
66
|
+
const state = argsOrState;
|
|
67
|
+
inputs["accessEndpoints"] = state ? state.accessEndpoints : undefined;
|
|
68
|
+
inputs["applicationSettings"] = state ? state.applicationSettings : undefined;
|
|
69
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
70
|
+
inputs["createdTime"] = state ? state.createdTime : undefined;
|
|
71
|
+
inputs["description"] = state ? state.description : undefined;
|
|
72
|
+
inputs["displayName"] = state ? state.displayName : undefined;
|
|
73
|
+
inputs["embedHostDomains"] = state ? state.embedHostDomains : undefined;
|
|
74
|
+
inputs["feedbackUrl"] = state ? state.feedbackUrl : undefined;
|
|
75
|
+
inputs["name"] = state ? state.name : undefined;
|
|
76
|
+
inputs["redirectUrl"] = state ? state.redirectUrl : undefined;
|
|
77
|
+
inputs["storageConnectors"] = state ? state.storageConnectors : undefined;
|
|
78
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
79
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
80
|
+
inputs["userSettings"] = state ? state.userSettings : undefined;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const args = argsOrState;
|
|
84
|
+
inputs["accessEndpoints"] = args ? args.accessEndpoints : undefined;
|
|
85
|
+
inputs["applicationSettings"] = args ? args.applicationSettings : undefined;
|
|
86
|
+
inputs["description"] = args ? args.description : undefined;
|
|
87
|
+
inputs["displayName"] = args ? args.displayName : undefined;
|
|
88
|
+
inputs["embedHostDomains"] = args ? args.embedHostDomains : undefined;
|
|
89
|
+
inputs["feedbackUrl"] = args ? args.feedbackUrl : undefined;
|
|
90
|
+
inputs["name"] = args ? args.name : undefined;
|
|
91
|
+
inputs["redirectUrl"] = args ? args.redirectUrl : undefined;
|
|
92
|
+
inputs["storageConnectors"] = args ? args.storageConnectors : undefined;
|
|
93
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
94
|
+
inputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
95
|
+
inputs["userSettings"] = args ? args.userSettings : undefined;
|
|
96
|
+
inputs["arn"] = undefined /*out*/;
|
|
97
|
+
inputs["createdTime"] = undefined /*out*/;
|
|
98
|
+
}
|
|
99
|
+
if (!opts.version) {
|
|
100
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
101
|
+
}
|
|
102
|
+
super(Stack.__pulumiType, name, inputs, opts);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Get an existing Stack resource's state with the given name, ID, and optional extra
|
|
106
|
+
* properties used to qualify the lookup.
|
|
107
|
+
*
|
|
108
|
+
* @param name The _unique_ name of the resulting resource.
|
|
109
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
110
|
+
* @param state Any extra arguments used during the lookup.
|
|
111
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
112
|
+
*/
|
|
113
|
+
static get(name, id, state, opts) {
|
|
114
|
+
return new Stack(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Returns true if the given object is an instance of Stack. This is designed to work even
|
|
118
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
119
|
+
*/
|
|
120
|
+
static isInstance(obj) {
|
|
121
|
+
if (obj === undefined || obj === null) {
|
|
122
|
+
return false;
|
|
123
|
+
}
|
|
124
|
+
return obj['__pulumiType'] === Stack.__pulumiType;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.Stack = Stack;
|
|
128
|
+
/** @internal */
|
|
129
|
+
Stack.__pulumiType = 'aws:appstream/stack:Stack';
|
|
130
|
+
//# sourceMappingURL=stack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.js","sourceRoot":"","sources":["../../appstream/stack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAoF5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,MAAM,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,MAAM,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,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I,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClC,MAAM,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAClD,CAAC;IA3HD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBA6HC;AA/GG,gBAAgB;AACO,kBAAY,GAAG,2BAA2B,CAAC"}
|
package/autoscaling/index.d.ts
CHANGED
package/autoscaling/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __exportStar(require("./notification"), exports);
|
|
|
25
25
|
__exportStar(require("./notificationType"), exports);
|
|
26
26
|
__exportStar(require("./policy"), exports);
|
|
27
27
|
__exportStar(require("./schedule"), exports);
|
|
28
|
+
__exportStar(require("./tag"), exports);
|
|
28
29
|
// Export enums:
|
|
29
30
|
__exportStar(require("../types/enums/autoscaling"), exports);
|
|
30
31
|
// Import resources to register:
|
|
@@ -34,6 +35,7 @@ const lifecycleHook_1 = require("./lifecycleHook");
|
|
|
34
35
|
const notification_1 = require("./notification");
|
|
35
36
|
const policy_1 = require("./policy");
|
|
36
37
|
const schedule_1 = require("./schedule");
|
|
38
|
+
const tag_1 = require("./tag");
|
|
37
39
|
const _module = {
|
|
38
40
|
version: utilities.getVersion(),
|
|
39
41
|
construct: (name, type, urn) => {
|
|
@@ -50,6 +52,8 @@ const _module = {
|
|
|
50
52
|
return new policy_1.Policy(name, undefined, { urn });
|
|
51
53
|
case "aws:autoscaling/schedule:Schedule":
|
|
52
54
|
return new schedule_1.Schedule(name, undefined, { urn });
|
|
55
|
+
case "aws:autoscaling/tag:Tag":
|
|
56
|
+
return new tag_1.Tag(name, undefined, { urn });
|
|
53
57
|
default:
|
|
54
58
|
throw new Error(`unknown resource type ${type}`);
|
|
55
59
|
}
|
|
@@ -61,4 +65,5 @@ pulumi.runtime.registerResourceModule("aws", "autoscaling/lifecycleHook", _modul
|
|
|
61
65
|
pulumi.runtime.registerResourceModule("aws", "autoscaling/notification", _module);
|
|
62
66
|
pulumi.runtime.registerResourceModule("aws", "autoscaling/policy", _module);
|
|
63
67
|
pulumi.runtime.registerResourceModule("aws", "autoscaling/schedule", _module);
|
|
68
|
+
pulumi.runtime.registerResourceModule("aws", "autoscaling/tag", _module);
|
|
64
69
|
//# sourceMappingURL=index.js.map
|
package/autoscaling/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../autoscaling/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,0CAAwB;AACxB,kDAAgC;AAChC,4CAA0B;AAC1B,iDAA+B;AAC/B,qDAAmC;AACnC,2CAAyB;AACzB,6CAA2B;
|
|
1
|
+
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AAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,SAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Import
|
|
5
|
+
*
|
|
6
|
+
* `aws_autoscaling_group_tag` can be imported by using the ASG name and key, separated by a comma (`,`), e.g.
|
|
7
|
+
*
|
|
8
|
+
* ```sh
|
|
9
|
+
* $ pulumi import aws:autoscaling/tag:Tag example asg-example,k8s.io/cluster-autoscaler/node-template/label/eks.amazonaws.com/capacityType
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare class Tag extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing Tag resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TagState, opts?: pulumi.CustomResourceOptions): Tag;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Tag. 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: any): obj is Tag;
|
|
28
|
+
/**
|
|
29
|
+
* The name of the Autoscaling Group to apply the tag to.
|
|
30
|
+
*/
|
|
31
|
+
readonly autoscalingGroupName: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The tag to create. The `tag` block is documented below.
|
|
34
|
+
*/
|
|
35
|
+
readonly tag: pulumi.Output<outputs.autoscaling.TagTag>;
|
|
36
|
+
/**
|
|
37
|
+
* Create a Tag resource with the given unique name, arguments, and options.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resource.
|
|
40
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
41
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
42
|
+
*/
|
|
43
|
+
constructor(name: string, args: TagArgs, opts?: pulumi.CustomResourceOptions);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Input properties used for looking up and filtering Tag resources.
|
|
47
|
+
*/
|
|
48
|
+
export interface TagState {
|
|
49
|
+
/**
|
|
50
|
+
* The name of the Autoscaling Group to apply the tag to.
|
|
51
|
+
*/
|
|
52
|
+
autoscalingGroupName?: pulumi.Input<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The tag to create. The `tag` block is documented below.
|
|
55
|
+
*/
|
|
56
|
+
tag?: pulumi.Input<inputs.autoscaling.TagTag>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The set of arguments for constructing a Tag resource.
|
|
60
|
+
*/
|
|
61
|
+
export interface TagArgs {
|
|
62
|
+
/**
|
|
63
|
+
* The name of the Autoscaling Group to apply the tag to.
|
|
64
|
+
*/
|
|
65
|
+
autoscalingGroupName: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The tag to create. The `tag` block is documented below.
|
|
68
|
+
*/
|
|
69
|
+
tag: pulumi.Input<inputs.autoscaling.TagTag>;
|
|
70
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.Tag = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* `aws_autoscaling_group_tag` can be imported by using the ASG name and key, separated by a comma (`,`), e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import aws:autoscaling/tag:Tag example asg-example,k8s.io/cluster-autoscaler/node-template/label/eks.amazonaws.com/capacityType
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Tag extends pulumi.CustomResource {
|
|
18
|
+
constructor(name, argsOrState, opts) {
|
|
19
|
+
let inputs = {};
|
|
20
|
+
opts = opts || {};
|
|
21
|
+
if (opts.id) {
|
|
22
|
+
const state = argsOrState;
|
|
23
|
+
inputs["autoscalingGroupName"] = state ? state.autoscalingGroupName : undefined;
|
|
24
|
+
inputs["tag"] = state ? state.tag : undefined;
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
const args = argsOrState;
|
|
28
|
+
if ((!args || args.autoscalingGroupName === undefined) && !opts.urn) {
|
|
29
|
+
throw new Error("Missing required property 'autoscalingGroupName'");
|
|
30
|
+
}
|
|
31
|
+
if ((!args || args.tag === undefined) && !opts.urn) {
|
|
32
|
+
throw new Error("Missing required property 'tag'");
|
|
33
|
+
}
|
|
34
|
+
inputs["autoscalingGroupName"] = args ? args.autoscalingGroupName : undefined;
|
|
35
|
+
inputs["tag"] = args ? args.tag : undefined;
|
|
36
|
+
}
|
|
37
|
+
if (!opts.version) {
|
|
38
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
39
|
+
}
|
|
40
|
+
super(Tag.__pulumiType, name, inputs, opts);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing Tag resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new Tag(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of Tag. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === Tag.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.Tag = Tag;
|
|
66
|
+
/** @internal */
|
|
67
|
+
Tag.__pulumiType = 'aws:autoscaling/tag:Tag';
|
|
68
|
+
//# sourceMappingURL=tag.js.map
|