@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,122 @@
|
|
|
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.BrowserSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS WorkSpaces Web Browser Settings resource.
|
|
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.BrowserSettings("example", {browserPolicy: JSON.stringify({
|
|
20
|
+
* AdditionalSettings: {
|
|
21
|
+
* DownloadsSettings: {
|
|
22
|
+
* Behavior: "DISABLE",
|
|
23
|
+
* },
|
|
24
|
+
* },
|
|
25
|
+
* })});
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ### With All Arguments
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as aws from "@pulumi/aws";
|
|
33
|
+
*
|
|
34
|
+
* const example = new aws.kms.Key("example", {
|
|
35
|
+
* description: "KMS key for WorkSpaces Web Browser Settings",
|
|
36
|
+
* deletionWindowInDays: 7,
|
|
37
|
+
* });
|
|
38
|
+
* const exampleBrowserSettings = new aws.workspacesweb.BrowserSettings("example", {
|
|
39
|
+
* browserPolicy: JSON.stringify({
|
|
40
|
+
* chromePolicies: {
|
|
41
|
+
* DefaultDownloadDirectory: {
|
|
42
|
+
* value: "/home/as2-streaming-user/MyFiles/TemporaryFiles1",
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* }),
|
|
46
|
+
* customerManagedKey: example.arn,
|
|
47
|
+
* additionalEncryptionContext: {
|
|
48
|
+
* Environment: "Production",
|
|
49
|
+
* },
|
|
50
|
+
* tags: {
|
|
51
|
+
* Name: "example-browser-settings",
|
|
52
|
+
* },
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* ## Import
|
|
57
|
+
*
|
|
58
|
+
* Using `pulumi import`, import WorkSpaces Web Browser Settings using the `browser_settings_arn`. For example:
|
|
59
|
+
*
|
|
60
|
+
* ```sh
|
|
61
|
+
* $ pulumi import aws:workspacesweb/browserSettings:BrowserSettings example arn:aws:workspacesweb:us-west-2:123456789012:browsersettings/abcdef12345
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
class BrowserSettings extends pulumi.CustomResource {
|
|
65
|
+
/**
|
|
66
|
+
* Get an existing BrowserSettings resource's state with the given name, ID, and optional extra
|
|
67
|
+
* properties used to qualify the lookup.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resulting resource.
|
|
70
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
71
|
+
* @param state Any extra arguments used during the lookup.
|
|
72
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
73
|
+
*/
|
|
74
|
+
static get(name, id, state, opts) {
|
|
75
|
+
return new BrowserSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Returns true if the given object is an instance of BrowserSettings. This is designed to work even
|
|
79
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
80
|
+
*/
|
|
81
|
+
static isInstance(obj) {
|
|
82
|
+
if (obj === undefined || obj === null) {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
return obj['__pulumiType'] === BrowserSettings.__pulumiType;
|
|
86
|
+
}
|
|
87
|
+
constructor(name, argsOrState, opts) {
|
|
88
|
+
let resourceInputs = {};
|
|
89
|
+
opts = opts || {};
|
|
90
|
+
if (opts.id) {
|
|
91
|
+
const state = argsOrState;
|
|
92
|
+
resourceInputs["additionalEncryptionContext"] = state ? state.additionalEncryptionContext : undefined;
|
|
93
|
+
resourceInputs["associatedPortalArns"] = state ? state.associatedPortalArns : undefined;
|
|
94
|
+
resourceInputs["browserPolicy"] = state ? state.browserPolicy : undefined;
|
|
95
|
+
resourceInputs["browserSettingsArn"] = state ? state.browserSettingsArn : undefined;
|
|
96
|
+
resourceInputs["customerManagedKey"] = state ? state.customerManagedKey : undefined;
|
|
97
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
98
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
const args = argsOrState;
|
|
102
|
+
if ((!args || args.browserPolicy === undefined) && !opts.urn) {
|
|
103
|
+
throw new Error("Missing required property 'browserPolicy'");
|
|
104
|
+
}
|
|
105
|
+
resourceInputs["additionalEncryptionContext"] = args ? args.additionalEncryptionContext : undefined;
|
|
106
|
+
resourceInputs["browserPolicy"] = args ? args.browserPolicy : undefined;
|
|
107
|
+
resourceInputs["customerManagedKey"] = args ? args.customerManagedKey : undefined;
|
|
108
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
109
|
+
resourceInputs["associatedPortalArns"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["browserSettingsArn"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
|
+
const aliasOpts = { aliases: [{ type: "aws:workspaces/webBrowserSettings:WebBrowserSettings" }] };
|
|
115
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
116
|
+
super(BrowserSettings.__pulumiType, name, resourceInputs, opts);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.BrowserSettings = BrowserSettings;
|
|
120
|
+
/** @internal */
|
|
121
|
+
BrowserSettings.__pulumiType = 'aws:workspacesweb/browserSettings:BrowserSettings';
|
|
122
|
+
//# sourceMappingURL=browserSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browserSettings.js","sourceRoot":"","sources":["../../workspacesweb/browserSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAA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|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
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.DataProtectionSettings("example", {displayName: "example"});
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ### With Inline Redaction Configuration
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as aws from "@pulumi/aws";
|
|
23
|
+
*
|
|
24
|
+
* const example = new aws.workspacesweb.DataProtectionSettings("example", {
|
|
25
|
+
* displayName: "example",
|
|
26
|
+
* description: "Example data protection settings",
|
|
27
|
+
* inlineRedactionConfiguration: {
|
|
28
|
+
* globalConfidenceLevel: 2,
|
|
29
|
+
* globalEnforcedUrls: ["https://example.com"],
|
|
30
|
+
* inlineRedactionPatterns: [{
|
|
31
|
+
* builtInPatternId: "ssn",
|
|
32
|
+
* confidenceLevel: 3,
|
|
33
|
+
* redactionPlaceHolders: [{
|
|
34
|
+
* redactionPlaceHolderType: "CustomText",
|
|
35
|
+
* redactionPlaceHolderText: "REDACTED",
|
|
36
|
+
* }],
|
|
37
|
+
* }],
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ### Complete Example
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as aws from "@pulumi/aws";
|
|
47
|
+
*
|
|
48
|
+
* const example = new aws.kms.Key("example", {
|
|
49
|
+
* description: "KMS key for WorkSpaces Web Data Protection Settings",
|
|
50
|
+
* deletionWindowInDays: 7,
|
|
51
|
+
* });
|
|
52
|
+
* const exampleDataProtectionSettings = new aws.workspacesweb.DataProtectionSettings("example", {
|
|
53
|
+
* displayName: "example-complete",
|
|
54
|
+
* description: "Complete example data protection settings",
|
|
55
|
+
* customerManagedKey: example.arn,
|
|
56
|
+
* additionalEncryptionContext: {
|
|
57
|
+
* Environment: "Production",
|
|
58
|
+
* },
|
|
59
|
+
* inlineRedactionConfiguration: {
|
|
60
|
+
* globalConfidenceLevel: 2,
|
|
61
|
+
* globalEnforcedUrls: [
|
|
62
|
+
* "https://example.com",
|
|
63
|
+
* "https://test.example.com",
|
|
64
|
+
* ],
|
|
65
|
+
* globalExemptUrls: ["https://exempt.example.com"],
|
|
66
|
+
* inlineRedactionPatterns: [
|
|
67
|
+
* {
|
|
68
|
+
* builtInPatternId: "ssn",
|
|
69
|
+
* confidenceLevel: 3,
|
|
70
|
+
* enforcedUrls: ["https://pattern1.example.com"],
|
|
71
|
+
* exemptUrls: ["https://exempt-pattern1.example.com"],
|
|
72
|
+
* redactionPlaceHolders: [{
|
|
73
|
+
* redactionPlaceHolderType: "CustomText",
|
|
74
|
+
* redactionPlaceHolderText: "REDACTED-SSN",
|
|
75
|
+
* }],
|
|
76
|
+
* },
|
|
77
|
+
* {
|
|
78
|
+
* customPattern: {
|
|
79
|
+
* patternName: "CustomPattern",
|
|
80
|
+
* patternRegex: "/\\d{3}-\\d{2}-\\d{4}/g",
|
|
81
|
+
* keywordRegex: "/SSN|Social Security/gi",
|
|
82
|
+
* patternDescription: "Custom SSN pattern",
|
|
83
|
+
* },
|
|
84
|
+
* redactionPlaceHolders: [{
|
|
85
|
+
* redactionPlaceHolderType: "CustomText",
|
|
86
|
+
* redactionPlaceHolderText: "REDACTED-CUSTOM",
|
|
87
|
+
* }],
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* },
|
|
91
|
+
* tags: {
|
|
92
|
+
* Name: "example-data-protection-settings",
|
|
93
|
+
* },
|
|
94
|
+
* });
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* ## Import
|
|
98
|
+
*
|
|
99
|
+
* Using `pulumi import`, import WorkSpaces Web Data Protection Settings using the `data_protection_settings_arn`. For example:
|
|
100
|
+
*
|
|
101
|
+
* ```sh
|
|
102
|
+
* $ pulumi import aws:workspacesweb/dataProtectionSettings:DataProtectionSettings example arn:aws:workspaces-web:us-west-2:123456789012:dataprotectionsettings/abcdef12345
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
export declare class DataProtectionSettings extends pulumi.CustomResource {
|
|
106
|
+
/**
|
|
107
|
+
* Get an existing DataProtectionSettings resource's state with the given name, ID, and optional extra
|
|
108
|
+
* properties used to qualify the lookup.
|
|
109
|
+
*
|
|
110
|
+
* @param name The _unique_ name of the resulting resource.
|
|
111
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
112
|
+
* @param state Any extra arguments used during the lookup.
|
|
113
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
114
|
+
*/
|
|
115
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataProtectionSettingsState, opts?: pulumi.CustomResourceOptions): DataProtectionSettings;
|
|
116
|
+
/**
|
|
117
|
+
* Returns true if the given object is an instance of DataProtectionSettings. 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: any): obj is DataProtectionSettings;
|
|
121
|
+
/**
|
|
122
|
+
* Additional encryption context for the data protection settings.
|
|
123
|
+
*/
|
|
124
|
+
readonly additionalEncryptionContext: pulumi.Output<{
|
|
125
|
+
[key: string]: string;
|
|
126
|
+
} | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* List of web portal ARNs that this data protection settings resource is associated with.
|
|
129
|
+
*/
|
|
130
|
+
readonly associatedPortalArns: pulumi.Output<string[]>;
|
|
131
|
+
/**
|
|
132
|
+
* ARN of the customer managed KMS key.
|
|
133
|
+
*/
|
|
134
|
+
readonly customerManagedKey: pulumi.Output<string | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* ARN of the data protection settings resource.
|
|
137
|
+
*/
|
|
138
|
+
readonly dataProtectionSettingsArn: pulumi.Output<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The description of the data protection settings.
|
|
141
|
+
*/
|
|
142
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* The display name of the data protection settings.
|
|
145
|
+
*
|
|
146
|
+
* The following arguments are optional:
|
|
147
|
+
*/
|
|
148
|
+
readonly displayName: pulumi.Output<string>;
|
|
149
|
+
/**
|
|
150
|
+
* The inline redaction configuration of the data protection settings. Detailed below.
|
|
151
|
+
*/
|
|
152
|
+
readonly inlineRedactionConfiguration: pulumi.Output<outputs.workspacesweb.DataProtectionSettingsInlineRedactionConfiguration | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* 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.
|
|
155
|
+
*/
|
|
156
|
+
readonly tags: pulumi.Output<{
|
|
157
|
+
[key: string]: string;
|
|
158
|
+
} | undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
161
|
+
*
|
|
162
|
+
* @deprecated Please use `tags` instead.
|
|
163
|
+
*/
|
|
164
|
+
readonly tagsAll: pulumi.Output<{
|
|
165
|
+
[key: string]: string;
|
|
166
|
+
}>;
|
|
167
|
+
/**
|
|
168
|
+
* Create a DataProtectionSettings resource with the given unique name, arguments, and options.
|
|
169
|
+
*
|
|
170
|
+
* @param name The _unique_ name of the resource.
|
|
171
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
172
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
173
|
+
*/
|
|
174
|
+
constructor(name: string, args: DataProtectionSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Input properties used for looking up and filtering DataProtectionSettings resources.
|
|
178
|
+
*/
|
|
179
|
+
export interface DataProtectionSettingsState {
|
|
180
|
+
/**
|
|
181
|
+
* Additional encryption context for the data protection settings.
|
|
182
|
+
*/
|
|
183
|
+
additionalEncryptionContext?: pulumi.Input<{
|
|
184
|
+
[key: string]: pulumi.Input<string>;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* List of web portal ARNs that this data protection settings resource is associated with.
|
|
188
|
+
*/
|
|
189
|
+
associatedPortalArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
190
|
+
/**
|
|
191
|
+
* ARN of the customer managed KMS key.
|
|
192
|
+
*/
|
|
193
|
+
customerManagedKey?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* ARN of the data protection settings resource.
|
|
196
|
+
*/
|
|
197
|
+
dataProtectionSettingsArn?: pulumi.Input<string>;
|
|
198
|
+
/**
|
|
199
|
+
* The description of the data protection settings.
|
|
200
|
+
*/
|
|
201
|
+
description?: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* The display name of the data protection settings.
|
|
204
|
+
*
|
|
205
|
+
* The following arguments are optional:
|
|
206
|
+
*/
|
|
207
|
+
displayName?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* The inline redaction configuration of the data protection settings. Detailed below.
|
|
210
|
+
*/
|
|
211
|
+
inlineRedactionConfiguration?: pulumi.Input<inputs.workspacesweb.DataProtectionSettingsInlineRedactionConfiguration>;
|
|
212
|
+
/**
|
|
213
|
+
* 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.
|
|
214
|
+
*/
|
|
215
|
+
tags?: pulumi.Input<{
|
|
216
|
+
[key: string]: pulumi.Input<string>;
|
|
217
|
+
}>;
|
|
218
|
+
/**
|
|
219
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
220
|
+
*
|
|
221
|
+
* @deprecated Please use `tags` instead.
|
|
222
|
+
*/
|
|
223
|
+
tagsAll?: pulumi.Input<{
|
|
224
|
+
[key: string]: pulumi.Input<string>;
|
|
225
|
+
}>;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* The set of arguments for constructing a DataProtectionSettings resource.
|
|
229
|
+
*/
|
|
230
|
+
export interface DataProtectionSettingsArgs {
|
|
231
|
+
/**
|
|
232
|
+
* Additional encryption context for the data protection settings.
|
|
233
|
+
*/
|
|
234
|
+
additionalEncryptionContext?: pulumi.Input<{
|
|
235
|
+
[key: string]: pulumi.Input<string>;
|
|
236
|
+
}>;
|
|
237
|
+
/**
|
|
238
|
+
* ARN of the customer managed KMS key.
|
|
239
|
+
*/
|
|
240
|
+
customerManagedKey?: pulumi.Input<string>;
|
|
241
|
+
/**
|
|
242
|
+
* The description of the data protection settings.
|
|
243
|
+
*/
|
|
244
|
+
description?: pulumi.Input<string>;
|
|
245
|
+
/**
|
|
246
|
+
* The display name of the data protection settings.
|
|
247
|
+
*
|
|
248
|
+
* The following arguments are optional:
|
|
249
|
+
*/
|
|
250
|
+
displayName: pulumi.Input<string>;
|
|
251
|
+
/**
|
|
252
|
+
* The inline redaction configuration of the data protection settings. Detailed below.
|
|
253
|
+
*/
|
|
254
|
+
inlineRedactionConfiguration?: pulumi.Input<inputs.workspacesweb.DataProtectionSettingsInlineRedactionConfiguration>;
|
|
255
|
+
/**
|
|
256
|
+
* 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.
|
|
257
|
+
*/
|
|
258
|
+
tags?: pulumi.Input<{
|
|
259
|
+
[key: string]: pulumi.Input<string>;
|
|
260
|
+
}>;
|
|
261
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
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.DataProtectionSettings = 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:workspacesweb/dataProtectionSettings:DataProtectionSettings example arn:aws:workspaces-web:us-west-2:123456789012:dataprotectionsettings/abcdef12345
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
class DataProtectionSettings extends pulumi.CustomResource {
|
|
110
|
+
/**
|
|
111
|
+
* Get an existing DataProtectionSettings resource's state with the given name, ID, and optional extra
|
|
112
|
+
* properties used to qualify the lookup.
|
|
113
|
+
*
|
|
114
|
+
* @param name The _unique_ name of the resulting resource.
|
|
115
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
116
|
+
* @param state Any extra arguments used during the lookup.
|
|
117
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
118
|
+
*/
|
|
119
|
+
static get(name, id, state, opts) {
|
|
120
|
+
return new DataProtectionSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Returns true if the given object is an instance of DataProtectionSettings. This is designed to work even
|
|
124
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
125
|
+
*/
|
|
126
|
+
static isInstance(obj) {
|
|
127
|
+
if (obj === undefined || obj === null) {
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
return obj['__pulumiType'] === DataProtectionSettings.__pulumiType;
|
|
131
|
+
}
|
|
132
|
+
constructor(name, argsOrState, opts) {
|
|
133
|
+
let resourceInputs = {};
|
|
134
|
+
opts = opts || {};
|
|
135
|
+
if (opts.id) {
|
|
136
|
+
const state = argsOrState;
|
|
137
|
+
resourceInputs["additionalEncryptionContext"] = state ? state.additionalEncryptionContext : undefined;
|
|
138
|
+
resourceInputs["associatedPortalArns"] = state ? state.associatedPortalArns : undefined;
|
|
139
|
+
resourceInputs["customerManagedKey"] = state ? state.customerManagedKey : undefined;
|
|
140
|
+
resourceInputs["dataProtectionSettingsArn"] = state ? state.dataProtectionSettingsArn : undefined;
|
|
141
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
142
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
143
|
+
resourceInputs["inlineRedactionConfiguration"] = state ? state.inlineRedactionConfiguration : undefined;
|
|
144
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
145
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
const args = argsOrState;
|
|
149
|
+
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
150
|
+
throw new Error("Missing required property 'displayName'");
|
|
151
|
+
}
|
|
152
|
+
resourceInputs["additionalEncryptionContext"] = args ? args.additionalEncryptionContext : undefined;
|
|
153
|
+
resourceInputs["customerManagedKey"] = args ? args.customerManagedKey : undefined;
|
|
154
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
155
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
156
|
+
resourceInputs["inlineRedactionConfiguration"] = args ? args.inlineRedactionConfiguration : undefined;
|
|
157
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
158
|
+
resourceInputs["associatedPortalArns"] = undefined /*out*/;
|
|
159
|
+
resourceInputs["dataProtectionSettingsArn"] = undefined /*out*/;
|
|
160
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
161
|
+
}
|
|
162
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
163
|
+
const aliasOpts = { aliases: [{ type: "aws:workspaces/webDataProtectionSettings:WebDataProtectionSettings" }] };
|
|
164
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
165
|
+
super(DataProtectionSettings.__pulumiType, name, resourceInputs, opts);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
exports.DataProtectionSettings = DataProtectionSettings;
|
|
169
|
+
/** @internal */
|
|
170
|
+
DataProtectionSettings.__pulumiType = 'aws:workspacesweb/dataProtectionSettings:DataProtectionSettings';
|
|
171
|
+
//# sourceMappingURL=dataProtectionSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataProtectionSettings.js","sourceRoot":"","sources":["../../workspacesweb/dataProtectionSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoGG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAmDD,Y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G,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA9GL,wDA+GC;AAjGG,gBAAgB;AACO,mCAAY,GAAG,iEAAiE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { BrowserSettingsArgs, BrowserSettingsState } from "./browserSettings";
|
|
2
|
+
export type BrowserSettings = import("./browserSettings").BrowserSettings;
|
|
3
|
+
export declare const BrowserSettings: typeof import("./browserSettings").BrowserSettings;
|
|
4
|
+
export { DataProtectionSettingsArgs, DataProtectionSettingsState } from "./dataProtectionSettings";
|
|
5
|
+
export type DataProtectionSettings = import("./dataProtectionSettings").DataProtectionSettings;
|
|
6
|
+
export declare const DataProtectionSettings: typeof import("./dataProtectionSettings").DataProtectionSettings;
|
|
7
|
+
export { IpAccessSettingsArgs, IpAccessSettingsState } from "./ipAccessSettings";
|
|
8
|
+
export type IpAccessSettings = import("./ipAccessSettings").IpAccessSettings;
|
|
9
|
+
export declare const IpAccessSettings: typeof import("./ipAccessSettings").IpAccessSettings;
|
|
10
|
+
export { NetworkSettingsArgs, NetworkSettingsState } from "./networkSettings";
|
|
11
|
+
export type NetworkSettings = import("./networkSettings").NetworkSettings;
|
|
12
|
+
export declare const NetworkSettings: typeof import("./networkSettings").NetworkSettings;
|
|
13
|
+
export { UserAccessLoggingSettingsArgs, UserAccessLoggingSettingsState } from "./userAccessLoggingSettings";
|
|
14
|
+
export type UserAccessLoggingSettings = import("./userAccessLoggingSettings").UserAccessLoggingSettings;
|
|
15
|
+
export declare const UserAccessLoggingSettings: typeof import("./userAccessLoggingSettings").UserAccessLoggingSettings;
|
|
16
|
+
export { UserSettingsArgs, UserSettingsState } from "./userSettings";
|
|
17
|
+
export type UserSettings = import("./userSettings").UserSettings;
|
|
18
|
+
export declare const UserSettings: typeof import("./userSettings").UserSettings;
|
|
@@ -0,0 +1,47 @@
|
|
|
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.UserSettings = exports.UserAccessLoggingSettings = exports.NetworkSettings = exports.IpAccessSettings = exports.DataProtectionSettings = exports.BrowserSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.BrowserSettings = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["BrowserSettings"], () => require("./browserSettings"));
|
|
10
|
+
exports.DataProtectionSettings = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["DataProtectionSettings"], () => require("./dataProtectionSettings"));
|
|
12
|
+
exports.IpAccessSettings = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["IpAccessSettings"], () => require("./ipAccessSettings"));
|
|
14
|
+
exports.NetworkSettings = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["NetworkSettings"], () => require("./networkSettings"));
|
|
16
|
+
exports.UserAccessLoggingSettings = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["UserAccessLoggingSettings"], () => require("./userAccessLoggingSettings"));
|
|
18
|
+
exports.UserSettings = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["UserSettings"], () => require("./userSettings"));
|
|
20
|
+
const _module = {
|
|
21
|
+
version: utilities.getVersion(),
|
|
22
|
+
construct: (name, type, urn) => {
|
|
23
|
+
switch (type) {
|
|
24
|
+
case "aws:workspacesweb/browserSettings:BrowserSettings":
|
|
25
|
+
return new exports.BrowserSettings(name, undefined, { urn });
|
|
26
|
+
case "aws:workspacesweb/dataProtectionSettings:DataProtectionSettings":
|
|
27
|
+
return new exports.DataProtectionSettings(name, undefined, { urn });
|
|
28
|
+
case "aws:workspacesweb/ipAccessSettings:IpAccessSettings":
|
|
29
|
+
return new exports.IpAccessSettings(name, undefined, { urn });
|
|
30
|
+
case "aws:workspacesweb/networkSettings:NetworkSettings":
|
|
31
|
+
return new exports.NetworkSettings(name, undefined, { urn });
|
|
32
|
+
case "aws:workspacesweb/userAccessLoggingSettings:UserAccessLoggingSettings":
|
|
33
|
+
return new exports.UserAccessLoggingSettings(name, undefined, { urn });
|
|
34
|
+
case "aws:workspacesweb/userSettings:UserSettings":
|
|
35
|
+
return new exports.UserSettings(name, undefined, { urn });
|
|
36
|
+
default:
|
|
37
|
+
throw new Error(`unknown resource type ${type}`);
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
pulumi.runtime.registerResourceModule("aws", "workspacesweb/browserSettings", _module);
|
|
42
|
+
pulumi.runtime.registerResourceModule("aws", "workspacesweb/dataProtectionSettings", _module);
|
|
43
|
+
pulumi.runtime.registerResourceModule("aws", "workspacesweb/ipAccessSettings", _module);
|
|
44
|
+
pulumi.runtime.registerResourceModule("aws", "workspacesweb/networkSettings", _module);
|
|
45
|
+
pulumi.runtime.registerResourceModule("aws", "workspacesweb/userAccessLoggingSettings", _module);
|
|
46
|
+
pulumi.runtime.registerResourceModule("aws", "workspacesweb/userSettings", _module);
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../workspacesweb/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAIxE,QAAA,sBAAsB,GAAqE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wBAAwB,CAAC,E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