@pulumi/aws 6.83.0-alpha.1749735083 → 6.83.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/amp/index.d.ts +3 -0
- package/amp/index.js +6 -1
- package/amp/index.js.map +1 -1
- package/amp/workspaceConfiguration.d.ts +149 -0
- package/amp/workspaceConfiguration.js +124 -0
- package/amp/workspaceConfiguration.js.map +1 -0
- package/cloudfront/keyvaluestoreKeysExclusive.d.ts +12 -0
- package/cloudfront/keyvaluestoreKeysExclusive.js +2 -0
- package/cloudfront/keyvaluestoreKeysExclusive.js.map +1 -1
- package/dsql/cluster.d.ts +170 -0
- package/dsql/cluster.js +94 -0
- package/dsql/cluster.js.map +1 -0
- package/dsql/clusterPeering.d.ts +114 -0
- package/dsql/clusterPeering.js +101 -0
- package/dsql/clusterPeering.js.map +1 -0
- package/dsql/index.d.ts +6 -0
- package/dsql/index.js +27 -0
- package/dsql/index.js.map +1 -0
- package/ec2/vpnConnection.d.ts +20 -0
- package/ec2/vpnConnection.js +4 -0
- package/ec2/vpnConnection.js.map +1 -1
- package/fsx/lustreFileSystem.d.ts +18 -3
- package/fsx/lustreFileSystem.js +4 -0
- package/fsx/lustreFileSystem.js.map +1 -1
- package/glue/job.d.ts +102 -5
- package/glue/job.js +102 -5
- package/glue/job.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +7 -3
- package/index.js.map +1 -1
- package/lambda/codeSigningConfig.d.ts +2 -2
- package/lambda/codeSigningConfig.js +2 -2
- package/lightsail/bucket.d.ts +40 -28
- package/lightsail/bucket.js +4 -4
- package/lightsail/bucket.js.map +1 -1
- package/lightsail/bucketAccessKey.d.ts +16 -16
- package/lightsail/bucketAccessKey.js +5 -5
- package/lightsail/bucketResourceAccess.d.ts +30 -8
- package/lightsail/bucketResourceAccess.js +24 -2
- package/lightsail/bucketResourceAccess.js.map +1 -1
- package/lightsail/certificate.d.ts +29 -23
- package/lightsail/certificate.js +6 -6
- package/lightsail/certificate.js.map +1 -1
- package/lightsail/containerService.d.ts +62 -97
- package/lightsail/containerService.js +11 -15
- package/lightsail/containerService.js.map +1 -1
- package/lightsail/containerServiceDeploymentVersion.d.ts +22 -16
- package/lightsail/containerServiceDeploymentVersion.js +1 -1
- package/lightsail/containerServiceDeploymentVersion.js.map +1 -1
- package/lightsail/database.d.ts +113 -109
- package/lightsail/database.js +36 -38
- package/lightsail/database.js.map +1 -1
- package/lightsail/disk.d.ts +30 -24
- package/lightsail/disk.js +4 -4
- package/lightsail/disk.js.map +1 -1
- package/lightsail/disk_attachment.d.ts +19 -19
- package/lightsail/disk_attachment.js +10 -10
- package/lightsail/distribution.d.ts +84 -88
- package/lightsail/distribution.js +32 -38
- package/lightsail/distribution.js.map +1 -1
- package/lightsail/domain.d.ts +10 -12
- package/lightsail/domain.js +5 -7
- package/lightsail/domain.js.map +1 -1
- package/lightsail/domainEntry.d.ts +27 -21
- package/lightsail/domainEntry.js +6 -6
- package/lightsail/domainEntry.js.map +1 -1
- package/lightsail/instance.d.ts +60 -78
- package/lightsail/instance.js +9 -12
- package/lightsail/instance.js.map +1 -1
- package/lightsail/instancePublicPorts.d.ts +29 -14
- package/lightsail/instancePublicPorts.js +26 -11
- package/lightsail/instancePublicPorts.js.map +1 -1
- package/lightsail/keyPair.d.ts +44 -34
- package/lightsail/keyPair.js +6 -9
- package/lightsail/keyPair.js.map +1 -1
- package/lightsail/lb.d.ts +47 -30
- package/lightsail/lb.js +6 -4
- package/lightsail/lb.js.map +1 -1
- package/lightsail/lbAttachment.d.ts +15 -15
- package/lightsail/lbAttachment.js +9 -9
- package/lightsail/lbCertificate.d.ts +41 -21
- package/lightsail/lbCertificate.js +10 -8
- package/lightsail/lbCertificate.js.map +1 -1
- package/lightsail/lbCertificateAttachment.d.ts +19 -17
- package/lightsail/lbCertificateAttachment.js +13 -11
- package/lightsail/lbCertificateAttachment.js.map +1 -1
- package/lightsail/lbHttpsRedirectionPolicy.d.ts +21 -19
- package/lightsail/lbHttpsRedirectionPolicy.js +15 -13
- package/lightsail/lbHttpsRedirectionPolicy.js.map +1 -1
- package/lightsail/lbStickinessPolicy.d.ts +17 -15
- package/lightsail/lbStickinessPolicy.js +8 -6
- package/lightsail/lbStickinessPolicy.js.map +1 -1
- package/lightsail/staticIp.d.ts +22 -12
- package/lightsail/staticIp.js +13 -3
- package/lightsail/staticIp.js.map +1 -1
- package/lightsail/staticIpAttachment.d.ts +28 -19
- package/lightsail/staticIpAttachment.js +20 -11
- package/lightsail/staticIpAttachment.js.map +1 -1
- package/neptune/cluster.d.ts +81 -90
- package/neptune/cluster.js.map +1 -1
- package/neptune/getEngineVersion.d.ts +95 -13
- package/neptune/getEngineVersion.js +22 -6
- package/neptune/getEngineVersion.js.map +1 -1
- package/neptune/globalCluster.d.ts +11 -14
- package/neptune/globalCluster.js.map +1 -1
- package/networkfirewall/ruleGroup.d.ts +46 -0
- package/networkfirewall/ruleGroup.js +46 -0
- package/networkfirewall/ruleGroup.js.map +1 -1
- package/package.json +2 -2
- package/pinpoint/smsvoicev2PhoneNumber.d.ts +12 -0
- package/pinpoint/smsvoicev2PhoneNumber.js +2 -0
- package/pinpoint/smsvoicev2PhoneNumber.js.map +1 -1
- package/s3/accessPoint.d.ts +22 -1
- package/s3/accessPoint.js +22 -1
- package/s3/accessPoint.js.map +1 -1
- package/s3control/directoryBucketAccessPointScope.d.ts +120 -0
- package/s3control/directoryBucketAccessPointScope.js +102 -0
- package/s3control/directoryBucketAccessPointScope.js.map +1 -0
- package/s3control/index.d.ts +3 -0
- package/s3control/index.js +6 -1
- package/s3control/index.js.map +1 -1
- package/ssm/association.d.ts +155 -0
- package/ssm/association.js +155 -0
- package/ssm/association.js.map +1 -1
- package/types/input.d.ts +579 -56
- package/types/input.js.map +1 -1
- package/types/output.d.ts +579 -56
- package/types/output.js.map +1 -1
- package/vpc/index.d.ts +15 -0
- package/vpc/index.js +26 -1
- package/vpc/index.js.map +1 -1
- package/vpc/routeServer.d.ts +197 -0
- package/vpc/routeServer.js +114 -0
- package/vpc/routeServer.js.map +1 -0
- package/vpc/routeServerEndpoint.d.ts +173 -0
- package/vpc/routeServerEndpoint.js +101 -0
- package/vpc/routeServerEndpoint.js.map +1 -0
- package/vpc/routeServerPeer.d.ts +233 -0
- package/vpc/routeServerPeer.js +154 -0
- package/vpc/routeServerPeer.js.map +1 -0
- package/vpc/routeServerPropagation.d.ts +90 -0
- package/vpc/routeServerPropagation.js +84 -0
- package/vpc/routeServerPropagation.js.map +1 -0
- package/vpc/routeServerVpcAssociation.d.ts +90 -0
- package/vpc/routeServerVpcAssociation.js +84 -0
- package/vpc/routeServerVpcAssociation.js.map +1 -0
- package/workspaces/index.d.ts +9 -0
- package/workspaces/index.js +16 -1
- package/workspaces/index.js.map +1 -1
- package/workspaces/webBrowserSettings.d.ts +5 -2
- package/workspaces/webBrowserSettings.js +7 -2
- package/workspaces/webBrowserSettings.js.map +1 -1
- package/workspaces/webDataProtectionSettings.d.ts +264 -0
- package/workspaces/webDataProtectionSettings.js +174 -0
- package/workspaces/webDataProtectionSettings.js.map +1 -0
- package/workspaces/webIpAccessSettings.d.ts +245 -0
- package/workspaces/webIpAccessSettings.js +155 -0
- package/workspaces/webIpAccessSettings.js.map +1 -0
- package/workspaces/webNetworkSettings.d.ts +4 -1
- package/workspaces/webNetworkSettings.js +6 -1
- package/workspaces/webNetworkSettings.js.map +1 -1
- package/workspaces/webUserAccessLoggingSettings.d.ts +152 -0
- package/workspaces/webUserAccessLoggingSettings.js +110 -0
- package/workspaces/webUserAccessLoggingSettings.js.map +1 -0
- package/workspaces/webUserSettings.d.ts +6 -3
- package/workspaces/webUserSettings.js +8 -3
- package/workspaces/webUserSettings.js.map +1 -1
- package/workspacesweb/browserSettings.d.ts +190 -0
- package/workspacesweb/browserSettings.js +122 -0
- package/workspacesweb/browserSettings.js.map +1 -0
- package/workspacesweb/dataProtectionSettings.d.ts +261 -0
- package/workspacesweb/dataProtectionSettings.js +171 -0
- package/workspacesweb/dataProtectionSettings.js.map +1 -0
- package/workspacesweb/index.d.ts +18 -0
- package/workspacesweb/index.js +47 -0
- package/workspacesweb/index.js.map +1 -0
- package/workspacesweb/ipAccessSettings.d.ts +242 -0
- package/workspacesweb/ipAccessSettings.js +152 -0
- package/workspacesweb/ipAccessSettings.js.map +1 -0
- package/workspacesweb/networkSettings.d.ts +181 -0
- package/workspacesweb/networkSettings.js +125 -0
- package/workspacesweb/networkSettings.js.map +1 -0
- package/workspacesweb/userAccessLoggingSettings.d.ts +149 -0
- package/workspacesweb/userAccessLoggingSettings.js +107 -0
- package/workspacesweb/userAccessLoggingSettings.js.map +1 -0
- package/workspacesweb/userSettings.d.ts +342 -0
- package/workspacesweb/userSettings.js +194 -0
- package/workspacesweb/userSettings.js.map +1 -0
|
@@ -0,0 +1,174 @@
|
|
|
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.WebDataProtectionSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS WorkSpaces Web Data Protection Settings resource. Once associated with a web portal, data protection settings control how sensitive information is redacted in streaming sessions.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.workspacesweb.DataProtectionSettings("example", {displayName: "example"});
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ### With Inline Redaction Configuration
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as aws from "@pulumi/aws";
|
|
27
|
+
*
|
|
28
|
+
* const example = new aws.workspacesweb.DataProtectionSettings("example", {
|
|
29
|
+
* displayName: "example",
|
|
30
|
+
* description: "Example data protection settings",
|
|
31
|
+
* inlineRedactionConfiguration: {
|
|
32
|
+
* globalConfidenceLevel: 2,
|
|
33
|
+
* globalEnforcedUrls: ["https://example.com"],
|
|
34
|
+
* inlineRedactionPatterns: [{
|
|
35
|
+
* builtInPatternId: "ssn",
|
|
36
|
+
* confidenceLevel: 3,
|
|
37
|
+
* redactionPlaceHolders: [{
|
|
38
|
+
* redactionPlaceHolderType: "CustomText",
|
|
39
|
+
* redactionPlaceHolderText: "REDACTED",
|
|
40
|
+
* }],
|
|
41
|
+
* }],
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ### Complete Example
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as aws from "@pulumi/aws";
|
|
51
|
+
*
|
|
52
|
+
* const example = new aws.kms.Key("example", {
|
|
53
|
+
* description: "KMS key for WorkSpaces Web Data Protection Settings",
|
|
54
|
+
* deletionWindowInDays: 7,
|
|
55
|
+
* });
|
|
56
|
+
* const exampleDataProtectionSettings = new aws.workspacesweb.DataProtectionSettings("example", {
|
|
57
|
+
* displayName: "example-complete",
|
|
58
|
+
* description: "Complete example data protection settings",
|
|
59
|
+
* customerManagedKey: example.arn,
|
|
60
|
+
* additionalEncryptionContext: {
|
|
61
|
+
* Environment: "Production",
|
|
62
|
+
* },
|
|
63
|
+
* inlineRedactionConfiguration: {
|
|
64
|
+
* globalConfidenceLevel: 2,
|
|
65
|
+
* globalEnforcedUrls: [
|
|
66
|
+
* "https://example.com",
|
|
67
|
+
* "https://test.example.com",
|
|
68
|
+
* ],
|
|
69
|
+
* globalExemptUrls: ["https://exempt.example.com"],
|
|
70
|
+
* inlineRedactionPatterns: [
|
|
71
|
+
* {
|
|
72
|
+
* builtInPatternId: "ssn",
|
|
73
|
+
* confidenceLevel: 3,
|
|
74
|
+
* enforcedUrls: ["https://pattern1.example.com"],
|
|
75
|
+
* exemptUrls: ["https://exempt-pattern1.example.com"],
|
|
76
|
+
* redactionPlaceHolders: [{
|
|
77
|
+
* redactionPlaceHolderType: "CustomText",
|
|
78
|
+
* redactionPlaceHolderText: "REDACTED-SSN",
|
|
79
|
+
* }],
|
|
80
|
+
* },
|
|
81
|
+
* {
|
|
82
|
+
* customPattern: {
|
|
83
|
+
* patternName: "CustomPattern",
|
|
84
|
+
* patternRegex: "/\\d{3}-\\d{2}-\\d{4}/g",
|
|
85
|
+
* keywordRegex: "/SSN|Social Security/gi",
|
|
86
|
+
* patternDescription: "Custom SSN pattern",
|
|
87
|
+
* },
|
|
88
|
+
* redactionPlaceHolders: [{
|
|
89
|
+
* redactionPlaceHolderType: "CustomText",
|
|
90
|
+
* redactionPlaceHolderText: "REDACTED-CUSTOM",
|
|
91
|
+
* }],
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* },
|
|
95
|
+
* tags: {
|
|
96
|
+
* Name: "example-data-protection-settings",
|
|
97
|
+
* },
|
|
98
|
+
* });
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* ## Import
|
|
102
|
+
*
|
|
103
|
+
* Using `pulumi import`, import WorkSpaces Web Data Protection Settings using the `data_protection_settings_arn`. For example:
|
|
104
|
+
*
|
|
105
|
+
* ```sh
|
|
106
|
+
* $ pulumi import aws:workspaces/webDataProtectionSettings:WebDataProtectionSettings example arn:aws:workspaces-web:us-west-2:123456789012:dataprotectionsettings/abcdef12345
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* @deprecated aws.workspaces/webdataprotectionsettings.WebDataProtectionSettings has been deprecated in favor of aws.workspacesweb/dataprotectionsettings.DataProtectionSettings
|
|
110
|
+
*/
|
|
111
|
+
class WebDataProtectionSettings extends pulumi.CustomResource {
|
|
112
|
+
/**
|
|
113
|
+
* Get an existing WebDataProtectionSettings resource's state with the given name, ID, and optional extra
|
|
114
|
+
* properties used to qualify the lookup.
|
|
115
|
+
*
|
|
116
|
+
* @param name The _unique_ name of the resulting resource.
|
|
117
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
118
|
+
* @param state Any extra arguments used during the lookup.
|
|
119
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
120
|
+
*/
|
|
121
|
+
static get(name, id, state, opts) {
|
|
122
|
+
pulumi.log.warn("WebDataProtectionSettings is deprecated: aws.workspaces/webdataprotectionsettings.WebDataProtectionSettings has been deprecated in favor of aws.workspacesweb/dataprotectionsettings.DataProtectionSettings");
|
|
123
|
+
return new WebDataProtectionSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Returns true if the given object is an instance of WebDataProtectionSettings. This is designed to work even
|
|
127
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
128
|
+
*/
|
|
129
|
+
static isInstance(obj) {
|
|
130
|
+
if (obj === undefined || obj === null) {
|
|
131
|
+
return false;
|
|
132
|
+
}
|
|
133
|
+
return obj['__pulumiType'] === WebDataProtectionSettings.__pulumiType;
|
|
134
|
+
}
|
|
135
|
+
/** @deprecated aws.workspaces/webdataprotectionsettings.WebDataProtectionSettings has been deprecated in favor of aws.workspacesweb/dataprotectionsettings.DataProtectionSettings */
|
|
136
|
+
constructor(name, argsOrState, opts) {
|
|
137
|
+
pulumi.log.warn("WebDataProtectionSettings is deprecated: aws.workspaces/webdataprotectionsettings.WebDataProtectionSettings has been deprecated in favor of aws.workspacesweb/dataprotectionsettings.DataProtectionSettings");
|
|
138
|
+
let resourceInputs = {};
|
|
139
|
+
opts = opts || {};
|
|
140
|
+
if (opts.id) {
|
|
141
|
+
const state = argsOrState;
|
|
142
|
+
resourceInputs["additionalEncryptionContext"] = state ? state.additionalEncryptionContext : undefined;
|
|
143
|
+
resourceInputs["associatedPortalArns"] = state ? state.associatedPortalArns : undefined;
|
|
144
|
+
resourceInputs["customerManagedKey"] = state ? state.customerManagedKey : undefined;
|
|
145
|
+
resourceInputs["dataProtectionSettingsArn"] = state ? state.dataProtectionSettingsArn : undefined;
|
|
146
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
147
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
148
|
+
resourceInputs["inlineRedactionConfiguration"] = state ? state.inlineRedactionConfiguration : undefined;
|
|
149
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
150
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
const args = argsOrState;
|
|
154
|
+
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
155
|
+
throw new Error("Missing required property 'displayName'");
|
|
156
|
+
}
|
|
157
|
+
resourceInputs["additionalEncryptionContext"] = args ? args.additionalEncryptionContext : undefined;
|
|
158
|
+
resourceInputs["customerManagedKey"] = args ? args.customerManagedKey : undefined;
|
|
159
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
160
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
161
|
+
resourceInputs["inlineRedactionConfiguration"] = args ? args.inlineRedactionConfiguration : undefined;
|
|
162
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
163
|
+
resourceInputs["associatedPortalArns"] = undefined /*out*/;
|
|
164
|
+
resourceInputs["dataProtectionSettingsArn"] = undefined /*out*/;
|
|
165
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
166
|
+
}
|
|
167
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
168
|
+
super(WebDataProtectionSettings.__pulumiType, name, resourceInputs, opts);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
exports.WebDataProtectionSettings = WebDataProtectionSettings;
|
|
172
|
+
/** @internal */
|
|
173
|
+
WebDataProtectionSettings.__pulumiType = 'aws:workspaces/webDataProtectionSettings:WebDataProtectionSettings';
|
|
174
|
+
//# sourceMappingURL=webDataProtectionSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webDataProtectionSettings.js","sourceRoot":"","sources":["../../workspaces/webDataProtectionSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsGG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6MAA6M,CAAC,CAAA;QAC9N,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IAoDD,qLAAqL;IACrL,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6MAA6M,CAAC,CAAA;QAC9N,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,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s from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource for managing an AWS WorkSpaces Web IP Access Settings resource. Once associated with a web portal, IP access settings control which IP addresses users can connect from.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Basic Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const example = new aws.workspacesweb.IpAccessSettings("example", {
|
|
16
|
+
* displayName: "example",
|
|
17
|
+
* ipRules: [{
|
|
18
|
+
* ipRange: "10.0.0.0/16",
|
|
19
|
+
* }],
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ### With Multiple IP Rules
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as aws from "@pulumi/aws";
|
|
28
|
+
*
|
|
29
|
+
* const example = new aws.workspacesweb.IpAccessSettings("example", {
|
|
30
|
+
* displayName: "example",
|
|
31
|
+
* description: "Example IP access settings",
|
|
32
|
+
* ipRules: [
|
|
33
|
+
* {
|
|
34
|
+
* ipRange: "10.0.0.0/16",
|
|
35
|
+
* description: "Main office",
|
|
36
|
+
* },
|
|
37
|
+
* {
|
|
38
|
+
* ipRange: "192.168.0.0/24",
|
|
39
|
+
* description: "Branch office",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ### With All Arguments
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as aws from "@pulumi/aws";
|
|
50
|
+
*
|
|
51
|
+
* const example = new aws.kms.Key("example", {
|
|
52
|
+
* description: "KMS key for WorkSpaces Web IP Access Settings",
|
|
53
|
+
* deletionWindowInDays: 7,
|
|
54
|
+
* });
|
|
55
|
+
* const exampleIpAccessSettings = new aws.workspacesweb.IpAccessSettings("example", {
|
|
56
|
+
* displayName: "example",
|
|
57
|
+
* description: "Example IP access settings",
|
|
58
|
+
* customerManagedKey: example.arn,
|
|
59
|
+
* additionalEncryptionContext: {
|
|
60
|
+
* Environment: "Production",
|
|
61
|
+
* },
|
|
62
|
+
* ipRules: [
|
|
63
|
+
* {
|
|
64
|
+
* ipRange: "10.0.0.0/16",
|
|
65
|
+
* description: "Main office",
|
|
66
|
+
* },
|
|
67
|
+
* {
|
|
68
|
+
* ipRange: "192.168.0.0/24",
|
|
69
|
+
* description: "Branch office",
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* tags: {
|
|
73
|
+
* Name: "example-ip-access-settings",
|
|
74
|
+
* },
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* ## Import
|
|
79
|
+
*
|
|
80
|
+
* Using `pulumi import`, import WorkSpaces Web IP Access Settings using the `ip_access_settings_arn`. For example:
|
|
81
|
+
*
|
|
82
|
+
* ```sh
|
|
83
|
+
* $ pulumi import aws:workspaces/webIpAccessSettings:WebIpAccessSettings example arn:aws:workspaces-web:us-west-2:123456789012:ipAccessSettings/abcdef12345
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @deprecated aws.workspaces/webipaccesssettings.WebIpAccessSettings has been deprecated in favor of aws.workspacesweb/ipaccesssettings.IpAccessSettings
|
|
87
|
+
*/
|
|
88
|
+
export declare class WebIpAccessSettings extends pulumi.CustomResource {
|
|
89
|
+
/**
|
|
90
|
+
* Get an existing WebIpAccessSettings resource's state with the given name, ID, and optional extra
|
|
91
|
+
* properties used to qualify the lookup.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resulting resource.
|
|
94
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
95
|
+
* @param state Any extra arguments used during the lookup.
|
|
96
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
97
|
+
*/
|
|
98
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WebIpAccessSettingsState, opts?: pulumi.CustomResourceOptions): WebIpAccessSettings;
|
|
99
|
+
/**
|
|
100
|
+
* Returns true if the given object is an instance of WebIpAccessSettings. This is designed to work even
|
|
101
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
102
|
+
*/
|
|
103
|
+
static isInstance(obj: any): obj is WebIpAccessSettings;
|
|
104
|
+
/**
|
|
105
|
+
* Additional encryption context for the IP access settings.
|
|
106
|
+
*/
|
|
107
|
+
readonly additionalEncryptionContext: pulumi.Output<{
|
|
108
|
+
[key: string]: string;
|
|
109
|
+
} | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* List of web portal ARNs that this IP access settings resource is associated with.
|
|
112
|
+
*/
|
|
113
|
+
readonly associatedPortalArns: pulumi.Output<string[]>;
|
|
114
|
+
/**
|
|
115
|
+
* ARN of the customer managed KMS key.
|
|
116
|
+
*/
|
|
117
|
+
readonly customerManagedKey: pulumi.Output<string | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* The description of the IP access settings.
|
|
120
|
+
*/
|
|
121
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
122
|
+
/**
|
|
123
|
+
* The display name of the IP access settings.
|
|
124
|
+
*/
|
|
125
|
+
readonly displayName: pulumi.Output<string>;
|
|
126
|
+
/**
|
|
127
|
+
* ARN of the IP access settings resource.
|
|
128
|
+
*/
|
|
129
|
+
readonly ipAccessSettingsArn: pulumi.Output<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The IP rules of the IP access settings. See IP Rule below.
|
|
132
|
+
*
|
|
133
|
+
* The following arguments are optional:
|
|
134
|
+
*/
|
|
135
|
+
readonly ipRules: pulumi.Output<outputs.workspaces.WebIpAccessSettingsIpRule[] | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
138
|
+
*/
|
|
139
|
+
readonly tags: pulumi.Output<{
|
|
140
|
+
[key: string]: string;
|
|
141
|
+
} | undefined>;
|
|
142
|
+
/**
|
|
143
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
144
|
+
*
|
|
145
|
+
* @deprecated Please use `tags` instead.
|
|
146
|
+
*/
|
|
147
|
+
readonly tagsAll: pulumi.Output<{
|
|
148
|
+
[key: string]: string;
|
|
149
|
+
}>;
|
|
150
|
+
/**
|
|
151
|
+
* Create a WebIpAccessSettings resource with the given unique name, arguments, and options.
|
|
152
|
+
*
|
|
153
|
+
* @param name The _unique_ name of the resource.
|
|
154
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
155
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
156
|
+
*/
|
|
157
|
+
/** @deprecated aws.workspaces/webipaccesssettings.WebIpAccessSettings has been deprecated in favor of aws.workspacesweb/ipaccesssettings.IpAccessSettings */
|
|
158
|
+
constructor(name: string, args: WebIpAccessSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Input properties used for looking up and filtering WebIpAccessSettings resources.
|
|
162
|
+
*/
|
|
163
|
+
export interface WebIpAccessSettingsState {
|
|
164
|
+
/**
|
|
165
|
+
* Additional encryption context for the IP access settings.
|
|
166
|
+
*/
|
|
167
|
+
additionalEncryptionContext?: pulumi.Input<{
|
|
168
|
+
[key: string]: pulumi.Input<string>;
|
|
169
|
+
}>;
|
|
170
|
+
/**
|
|
171
|
+
* List of web portal ARNs that this IP access settings resource is associated with.
|
|
172
|
+
*/
|
|
173
|
+
associatedPortalArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
174
|
+
/**
|
|
175
|
+
* ARN of the customer managed KMS key.
|
|
176
|
+
*/
|
|
177
|
+
customerManagedKey?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* The description of the IP access settings.
|
|
180
|
+
*/
|
|
181
|
+
description?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* The display name of the IP access settings.
|
|
184
|
+
*/
|
|
185
|
+
displayName?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* ARN of the IP access settings resource.
|
|
188
|
+
*/
|
|
189
|
+
ipAccessSettingsArn?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* The IP rules of the IP access settings. See IP Rule below.
|
|
192
|
+
*
|
|
193
|
+
* The following arguments are optional:
|
|
194
|
+
*/
|
|
195
|
+
ipRules?: pulumi.Input<pulumi.Input<inputs.workspaces.WebIpAccessSettingsIpRule>[]>;
|
|
196
|
+
/**
|
|
197
|
+
* Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
198
|
+
*/
|
|
199
|
+
tags?: pulumi.Input<{
|
|
200
|
+
[key: string]: pulumi.Input<string>;
|
|
201
|
+
}>;
|
|
202
|
+
/**
|
|
203
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
204
|
+
*
|
|
205
|
+
* @deprecated Please use `tags` instead.
|
|
206
|
+
*/
|
|
207
|
+
tagsAll?: pulumi.Input<{
|
|
208
|
+
[key: string]: pulumi.Input<string>;
|
|
209
|
+
}>;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* The set of arguments for constructing a WebIpAccessSettings resource.
|
|
213
|
+
*/
|
|
214
|
+
export interface WebIpAccessSettingsArgs {
|
|
215
|
+
/**
|
|
216
|
+
* Additional encryption context for the IP access settings.
|
|
217
|
+
*/
|
|
218
|
+
additionalEncryptionContext?: pulumi.Input<{
|
|
219
|
+
[key: string]: pulumi.Input<string>;
|
|
220
|
+
}>;
|
|
221
|
+
/**
|
|
222
|
+
* ARN of the customer managed KMS key.
|
|
223
|
+
*/
|
|
224
|
+
customerManagedKey?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* The description of the IP access settings.
|
|
227
|
+
*/
|
|
228
|
+
description?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* The display name of the IP access settings.
|
|
231
|
+
*/
|
|
232
|
+
displayName: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* The IP rules of the IP access settings. See IP Rule below.
|
|
235
|
+
*
|
|
236
|
+
* The following arguments are optional:
|
|
237
|
+
*/
|
|
238
|
+
ipRules?: pulumi.Input<pulumi.Input<inputs.workspaces.WebIpAccessSettingsIpRule>[]>;
|
|
239
|
+
/**
|
|
240
|
+
* Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
241
|
+
*/
|
|
242
|
+
tags?: pulumi.Input<{
|
|
243
|
+
[key: string]: pulumi.Input<string>;
|
|
244
|
+
}>;
|
|
245
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
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.WebIpAccessSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS WorkSpaces Web IP Access Settings resource. Once associated with a web portal, IP access settings control which IP addresses users can connect from.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.workspacesweb.IpAccessSettings("example", {
|
|
20
|
+
* displayName: "example",
|
|
21
|
+
* ipRules: [{
|
|
22
|
+
* ipRange: "10.0.0.0/16",
|
|
23
|
+
* }],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ### With Multiple IP Rules
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as aws from "@pulumi/aws";
|
|
32
|
+
*
|
|
33
|
+
* const example = new aws.workspacesweb.IpAccessSettings("example", {
|
|
34
|
+
* displayName: "example",
|
|
35
|
+
* description: "Example IP access settings",
|
|
36
|
+
* ipRules: [
|
|
37
|
+
* {
|
|
38
|
+
* ipRange: "10.0.0.0/16",
|
|
39
|
+
* description: "Main office",
|
|
40
|
+
* },
|
|
41
|
+
* {
|
|
42
|
+
* ipRange: "192.168.0.0/24",
|
|
43
|
+
* description: "Branch office",
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ### With All Arguments
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as aws from "@pulumi/aws";
|
|
54
|
+
*
|
|
55
|
+
* const example = new aws.kms.Key("example", {
|
|
56
|
+
* description: "KMS key for WorkSpaces Web IP Access Settings",
|
|
57
|
+
* deletionWindowInDays: 7,
|
|
58
|
+
* });
|
|
59
|
+
* const exampleIpAccessSettings = new aws.workspacesweb.IpAccessSettings("example", {
|
|
60
|
+
* displayName: "example",
|
|
61
|
+
* description: "Example IP access settings",
|
|
62
|
+
* customerManagedKey: example.arn,
|
|
63
|
+
* additionalEncryptionContext: {
|
|
64
|
+
* Environment: "Production",
|
|
65
|
+
* },
|
|
66
|
+
* ipRules: [
|
|
67
|
+
* {
|
|
68
|
+
* ipRange: "10.0.0.0/16",
|
|
69
|
+
* description: "Main office",
|
|
70
|
+
* },
|
|
71
|
+
* {
|
|
72
|
+
* ipRange: "192.168.0.0/24",
|
|
73
|
+
* description: "Branch office",
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* tags: {
|
|
77
|
+
* Name: "example-ip-access-settings",
|
|
78
|
+
* },
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* ## Import
|
|
83
|
+
*
|
|
84
|
+
* Using `pulumi import`, import WorkSpaces Web IP Access Settings using the `ip_access_settings_arn`. For example:
|
|
85
|
+
*
|
|
86
|
+
* ```sh
|
|
87
|
+
* $ pulumi import aws:workspaces/webIpAccessSettings:WebIpAccessSettings example arn:aws:workspaces-web:us-west-2:123456789012:ipAccessSettings/abcdef12345
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* @deprecated aws.workspaces/webipaccesssettings.WebIpAccessSettings has been deprecated in favor of aws.workspacesweb/ipaccesssettings.IpAccessSettings
|
|
91
|
+
*/
|
|
92
|
+
class WebIpAccessSettings extends pulumi.CustomResource {
|
|
93
|
+
/**
|
|
94
|
+
* Get an existing WebIpAccessSettings resource's state with the given name, ID, and optional extra
|
|
95
|
+
* properties used to qualify the lookup.
|
|
96
|
+
*
|
|
97
|
+
* @param name The _unique_ name of the resulting resource.
|
|
98
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
99
|
+
* @param state Any extra arguments used during the lookup.
|
|
100
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
101
|
+
*/
|
|
102
|
+
static get(name, id, state, opts) {
|
|
103
|
+
pulumi.log.warn("WebIpAccessSettings is deprecated: aws.workspaces/webipaccesssettings.WebIpAccessSettings has been deprecated in favor of aws.workspacesweb/ipaccesssettings.IpAccessSettings");
|
|
104
|
+
return new WebIpAccessSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Returns true if the given object is an instance of WebIpAccessSettings. This is designed to work even
|
|
108
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
109
|
+
*/
|
|
110
|
+
static isInstance(obj) {
|
|
111
|
+
if (obj === undefined || obj === null) {
|
|
112
|
+
return false;
|
|
113
|
+
}
|
|
114
|
+
return obj['__pulumiType'] === WebIpAccessSettings.__pulumiType;
|
|
115
|
+
}
|
|
116
|
+
/** @deprecated aws.workspaces/webipaccesssettings.WebIpAccessSettings has been deprecated in favor of aws.workspacesweb/ipaccesssettings.IpAccessSettings */
|
|
117
|
+
constructor(name, argsOrState, opts) {
|
|
118
|
+
pulumi.log.warn("WebIpAccessSettings is deprecated: aws.workspaces/webipaccesssettings.WebIpAccessSettings has been deprecated in favor of aws.workspacesweb/ipaccesssettings.IpAccessSettings");
|
|
119
|
+
let resourceInputs = {};
|
|
120
|
+
opts = opts || {};
|
|
121
|
+
if (opts.id) {
|
|
122
|
+
const state = argsOrState;
|
|
123
|
+
resourceInputs["additionalEncryptionContext"] = state ? state.additionalEncryptionContext : undefined;
|
|
124
|
+
resourceInputs["associatedPortalArns"] = state ? state.associatedPortalArns : undefined;
|
|
125
|
+
resourceInputs["customerManagedKey"] = state ? state.customerManagedKey : undefined;
|
|
126
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
127
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
128
|
+
resourceInputs["ipAccessSettingsArn"] = state ? state.ipAccessSettingsArn : undefined;
|
|
129
|
+
resourceInputs["ipRules"] = state ? state.ipRules : undefined;
|
|
130
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
131
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
const args = argsOrState;
|
|
135
|
+
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
136
|
+
throw new Error("Missing required property 'displayName'");
|
|
137
|
+
}
|
|
138
|
+
resourceInputs["additionalEncryptionContext"] = args ? args.additionalEncryptionContext : undefined;
|
|
139
|
+
resourceInputs["customerManagedKey"] = args ? args.customerManagedKey : undefined;
|
|
140
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
141
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
142
|
+
resourceInputs["ipRules"] = args ? args.ipRules : undefined;
|
|
143
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
144
|
+
resourceInputs["associatedPortalArns"] = undefined /*out*/;
|
|
145
|
+
resourceInputs["ipAccessSettingsArn"] = undefined /*out*/;
|
|
146
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
147
|
+
}
|
|
148
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
149
|
+
super(WebIpAccessSettings.__pulumiType, name, resourceInputs, opts);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
exports.WebIpAccessSettings = WebIpAccessSettings;
|
|
153
|
+
/** @internal */
|
|
154
|
+
WebIpAccessSettings.__pulumiType = 'aws:workspaces/webIpAccessSettings:WebIpAccessSettings';
|
|
155
|
+
//# sourceMappingURL=webIpAccessSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webIpAccessSettings.js","sourceRoot":"","sources":["../../workspaces/webIpAccessSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,+KAA+K,CAAC,CAAA;QAChM,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAA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CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAhHL,kDAiHC;AAlGG,gBAAgB;AACO,gCAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -31,7 +31,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
31
31
|
* name: `example-sg-${range.value}$`,
|
|
32
32
|
* }));
|
|
33
33
|
* }
|
|
34
|
-
* const
|
|
34
|
+
* const exampleNetworkSettings = new aws.workspacesweb.NetworkSettings("example", {
|
|
35
35
|
* vpcId: example.id,
|
|
36
36
|
* subnetIds: [
|
|
37
37
|
* exampleSubnet[0].id,
|
|
@@ -51,6 +51,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
51
51
|
* ```sh
|
|
52
52
|
* $ pulumi import aws:workspaces/webNetworkSettings:WebNetworkSettings example arn:aws:workspacesweb:us-west-2:123456789012:networksettings/abcdef12345
|
|
53
53
|
* ```
|
|
54
|
+
*
|
|
55
|
+
* @deprecated aws.workspaces/webnetworksettings.WebNetworkSettings has been deprecated in favor of aws.workspacesweb/networksettings.NetworkSettings
|
|
54
56
|
*/
|
|
55
57
|
export declare class WebNetworkSettings extends pulumi.CustomResource {
|
|
56
58
|
/**
|
|
@@ -111,6 +113,7 @@ export declare class WebNetworkSettings extends pulumi.CustomResource {
|
|
|
111
113
|
* @param args The arguments to use to populate this resource's properties.
|
|
112
114
|
* @param opts A bag of options that control this resource's behavior.
|
|
113
115
|
*/
|
|
116
|
+
/** @deprecated aws.workspaces/webnetworksettings.WebNetworkSettings has been deprecated in favor of aws.workspacesweb/networksettings.NetworkSettings */
|
|
114
117
|
constructor(name: string, args: WebNetworkSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
115
118
|
}
|
|
116
119
|
/**
|
|
@@ -37,7 +37,7 @@ const utilities = require("../utilities");
|
|
|
37
37
|
* name: `example-sg-${range.value}$`,
|
|
38
38
|
* }));
|
|
39
39
|
* }
|
|
40
|
-
* const
|
|
40
|
+
* const exampleNetworkSettings = new aws.workspacesweb.NetworkSettings("example", {
|
|
41
41
|
* vpcId: example.id,
|
|
42
42
|
* subnetIds: [
|
|
43
43
|
* exampleSubnet[0].id,
|
|
@@ -57,6 +57,8 @@ const utilities = require("../utilities");
|
|
|
57
57
|
* ```sh
|
|
58
58
|
* $ pulumi import aws:workspaces/webNetworkSettings:WebNetworkSettings example arn:aws:workspacesweb:us-west-2:123456789012:networksettings/abcdef12345
|
|
59
59
|
* ```
|
|
60
|
+
*
|
|
61
|
+
* @deprecated aws.workspaces/webnetworksettings.WebNetworkSettings has been deprecated in favor of aws.workspacesweb/networksettings.NetworkSettings
|
|
60
62
|
*/
|
|
61
63
|
class WebNetworkSettings extends pulumi.CustomResource {
|
|
62
64
|
/**
|
|
@@ -69,6 +71,7 @@ class WebNetworkSettings extends pulumi.CustomResource {
|
|
|
69
71
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
70
72
|
*/
|
|
71
73
|
static get(name, id, state, opts) {
|
|
74
|
+
pulumi.log.warn("WebNetworkSettings is deprecated: aws.workspaces/webnetworksettings.WebNetworkSettings has been deprecated in favor of aws.workspacesweb/networksettings.NetworkSettings");
|
|
72
75
|
return new WebNetworkSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
73
76
|
}
|
|
74
77
|
/**
|
|
@@ -81,7 +84,9 @@ class WebNetworkSettings extends pulumi.CustomResource {
|
|
|
81
84
|
}
|
|
82
85
|
return obj['__pulumiType'] === WebNetworkSettings.__pulumiType;
|
|
83
86
|
}
|
|
87
|
+
/** @deprecated aws.workspaces/webnetworksettings.WebNetworkSettings has been deprecated in favor of aws.workspacesweb/networksettings.NetworkSettings */
|
|
84
88
|
constructor(name, argsOrState, opts) {
|
|
89
|
+
pulumi.log.warn("WebNetworkSettings is deprecated: aws.workspaces/webnetworksettings.WebNetworkSettings has been deprecated in favor of aws.workspacesweb/networksettings.NetworkSettings");
|
|
85
90
|
let resourceInputs = {};
|
|
86
91
|
opts = opts || {};
|
|
87
92
|
if (opts.id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webNetworkSettings.js","sourceRoot":"","sources":["../../workspaces/webNetworkSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"webNetworkSettings.js","sourceRoot":"","sources":["../../workspaces/webNetworkSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,0KAA0K,CAAC,CAAA;QAC3L,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY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