@pulumi/aws 6.83.0-alpha.1749735083 → 6.83.0-alpha.1750092723
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,152 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for managing an AWS WorkSpaces Web User Access Logging Settings resource. Once associated with a web portal, user access logging settings control how user access events are logged to Amazon Kinesis.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Basic Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.kinesis.Stream("example", {
|
|
14
|
+
* name: "amazon-workspaces-web-example-stream",
|
|
15
|
+
* shardCount: 1,
|
|
16
|
+
* });
|
|
17
|
+
* const exampleUserAccessLoggingSettings = new aws.workspacesweb.UserAccessLoggingSettings("example", {kinesisStreamArn: example.arn});
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ### With Tags
|
|
21
|
+
*
|
|
22
|
+
* ```typescript
|
|
23
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
24
|
+
* import * as aws from "@pulumi/aws";
|
|
25
|
+
*
|
|
26
|
+
* const example = new aws.kinesis.Stream("example", {
|
|
27
|
+
* name: "example-stream",
|
|
28
|
+
* shardCount: 1,
|
|
29
|
+
* });
|
|
30
|
+
* const exampleUserAccessLoggingSettings = new aws.workspacesweb.UserAccessLoggingSettings("example", {
|
|
31
|
+
* kinesisStreamArn: example.arn,
|
|
32
|
+
* tags: {
|
|
33
|
+
* Name: "example-user-access-logging-settings",
|
|
34
|
+
* Environment: "Production",
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## Import
|
|
40
|
+
*
|
|
41
|
+
* Using `pulumi import`, import WorkSpaces Web User Access Logging Settings using the `user_access_logging_settings_arn`. For example:
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import aws:workspaces/webUserAccessLoggingSettings:WebUserAccessLoggingSettings example arn:aws:workspaces-web:us-west-2:123456789012:userAccessLoggingSettings/abcdef12345
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @deprecated aws.workspaces/webuseraccessloggingsettings.WebUserAccessLoggingSettings has been deprecated in favor of aws.workspacesweb/useraccessloggingsettings.UserAccessLoggingSettings
|
|
48
|
+
*/
|
|
49
|
+
export declare class WebUserAccessLoggingSettings extends pulumi.CustomResource {
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing WebUserAccessLoggingSettings resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WebUserAccessLoggingSettingsState, opts?: pulumi.CustomResourceOptions): WebUserAccessLoggingSettings;
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of WebUserAccessLoggingSettings. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj: any): obj is WebUserAccessLoggingSettings;
|
|
65
|
+
/**
|
|
66
|
+
* List of web portal ARNs that this user access logging settings resource is associated with.
|
|
67
|
+
*/
|
|
68
|
+
readonly associatedPortalArns: pulumi.Output<string[]>;
|
|
69
|
+
/**
|
|
70
|
+
* ARN of the Kinesis stream.
|
|
71
|
+
*
|
|
72
|
+
* The following arguments are optional:
|
|
73
|
+
*/
|
|
74
|
+
readonly kinesisStreamArn: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* 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.
|
|
77
|
+
*/
|
|
78
|
+
readonly tags: pulumi.Output<{
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
} | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
83
|
+
*
|
|
84
|
+
* @deprecated Please use `tags` instead.
|
|
85
|
+
*/
|
|
86
|
+
readonly tagsAll: pulumi.Output<{
|
|
87
|
+
[key: string]: string;
|
|
88
|
+
}>;
|
|
89
|
+
/**
|
|
90
|
+
* ARN of the user access logging settings resource.
|
|
91
|
+
*/
|
|
92
|
+
readonly userAccessLoggingSettingsArn: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a WebUserAccessLoggingSettings resource with the given unique name, arguments, and options.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resource.
|
|
97
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
98
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
99
|
+
*/
|
|
100
|
+
/** @deprecated aws.workspaces/webuseraccessloggingsettings.WebUserAccessLoggingSettings has been deprecated in favor of aws.workspacesweb/useraccessloggingsettings.UserAccessLoggingSettings */
|
|
101
|
+
constructor(name: string, args: WebUserAccessLoggingSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Input properties used for looking up and filtering WebUserAccessLoggingSettings resources.
|
|
105
|
+
*/
|
|
106
|
+
export interface WebUserAccessLoggingSettingsState {
|
|
107
|
+
/**
|
|
108
|
+
* List of web portal ARNs that this user access logging settings resource is associated with.
|
|
109
|
+
*/
|
|
110
|
+
associatedPortalArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* ARN of the Kinesis stream.
|
|
113
|
+
*
|
|
114
|
+
* The following arguments are optional:
|
|
115
|
+
*/
|
|
116
|
+
kinesisStreamArn?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* 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.
|
|
119
|
+
*/
|
|
120
|
+
tags?: pulumi.Input<{
|
|
121
|
+
[key: string]: pulumi.Input<string>;
|
|
122
|
+
}>;
|
|
123
|
+
/**
|
|
124
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
125
|
+
*
|
|
126
|
+
* @deprecated Please use `tags` instead.
|
|
127
|
+
*/
|
|
128
|
+
tagsAll?: pulumi.Input<{
|
|
129
|
+
[key: string]: pulumi.Input<string>;
|
|
130
|
+
}>;
|
|
131
|
+
/**
|
|
132
|
+
* ARN of the user access logging settings resource.
|
|
133
|
+
*/
|
|
134
|
+
userAccessLoggingSettingsArn?: pulumi.Input<string>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The set of arguments for constructing a WebUserAccessLoggingSettings resource.
|
|
138
|
+
*/
|
|
139
|
+
export interface WebUserAccessLoggingSettingsArgs {
|
|
140
|
+
/**
|
|
141
|
+
* ARN of the Kinesis stream.
|
|
142
|
+
*
|
|
143
|
+
* The following arguments are optional:
|
|
144
|
+
*/
|
|
145
|
+
kinesisStreamArn: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* 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.
|
|
148
|
+
*/
|
|
149
|
+
tags?: pulumi.Input<{
|
|
150
|
+
[key: string]: pulumi.Input<string>;
|
|
151
|
+
}>;
|
|
152
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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.WebUserAccessLoggingSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS WorkSpaces Web User Access Logging Settings resource. Once associated with a web portal, user access logging settings control how user access events are logged to Amazon Kinesis.
|
|
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.kinesis.Stream("example", {
|
|
20
|
+
* name: "amazon-workspaces-web-example-stream",
|
|
21
|
+
* shardCount: 1,
|
|
22
|
+
* });
|
|
23
|
+
* const exampleUserAccessLoggingSettings = new aws.workspacesweb.UserAccessLoggingSettings("example", {kinesisStreamArn: example.arn});
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ### With Tags
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as aws from "@pulumi/aws";
|
|
31
|
+
*
|
|
32
|
+
* const example = new aws.kinesis.Stream("example", {
|
|
33
|
+
* name: "example-stream",
|
|
34
|
+
* shardCount: 1,
|
|
35
|
+
* });
|
|
36
|
+
* const exampleUserAccessLoggingSettings = new aws.workspacesweb.UserAccessLoggingSettings("example", {
|
|
37
|
+
* kinesisStreamArn: example.arn,
|
|
38
|
+
* tags: {
|
|
39
|
+
* Name: "example-user-access-logging-settings",
|
|
40
|
+
* Environment: "Production",
|
|
41
|
+
* },
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ## Import
|
|
46
|
+
*
|
|
47
|
+
* Using `pulumi import`, import WorkSpaces Web User Access Logging Settings using the `user_access_logging_settings_arn`. For example:
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import aws:workspaces/webUserAccessLoggingSettings:WebUserAccessLoggingSettings example arn:aws:workspaces-web:us-west-2:123456789012:userAccessLoggingSettings/abcdef12345
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @deprecated aws.workspaces/webuseraccessloggingsettings.WebUserAccessLoggingSettings has been deprecated in favor of aws.workspacesweb/useraccessloggingsettings.UserAccessLoggingSettings
|
|
54
|
+
*/
|
|
55
|
+
class WebUserAccessLoggingSettings extends pulumi.CustomResource {
|
|
56
|
+
/**
|
|
57
|
+
* Get an existing WebUserAccessLoggingSettings resource's state with the given name, ID, and optional extra
|
|
58
|
+
* properties used to qualify the lookup.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resulting resource.
|
|
61
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
62
|
+
* @param state Any extra arguments used during the lookup.
|
|
63
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
64
|
+
*/
|
|
65
|
+
static get(name, id, state, opts) {
|
|
66
|
+
pulumi.log.warn("WebUserAccessLoggingSettings is deprecated: aws.workspaces/webuseraccessloggingsettings.WebUserAccessLoggingSettings has been deprecated in favor of aws.workspacesweb/useraccessloggingsettings.UserAccessLoggingSettings");
|
|
67
|
+
return new WebUserAccessLoggingSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of WebUserAccessLoggingSettings. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj) {
|
|
74
|
+
if (obj === undefined || obj === null) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return obj['__pulumiType'] === WebUserAccessLoggingSettings.__pulumiType;
|
|
78
|
+
}
|
|
79
|
+
/** @deprecated aws.workspaces/webuseraccessloggingsettings.WebUserAccessLoggingSettings has been deprecated in favor of aws.workspacesweb/useraccessloggingsettings.UserAccessLoggingSettings */
|
|
80
|
+
constructor(name, argsOrState, opts) {
|
|
81
|
+
pulumi.log.warn("WebUserAccessLoggingSettings is deprecated: aws.workspaces/webuseraccessloggingsettings.WebUserAccessLoggingSettings has been deprecated in favor of aws.workspacesweb/useraccessloggingsettings.UserAccessLoggingSettings");
|
|
82
|
+
let resourceInputs = {};
|
|
83
|
+
opts = opts || {};
|
|
84
|
+
if (opts.id) {
|
|
85
|
+
const state = argsOrState;
|
|
86
|
+
resourceInputs["associatedPortalArns"] = state ? state.associatedPortalArns : undefined;
|
|
87
|
+
resourceInputs["kinesisStreamArn"] = state ? state.kinesisStreamArn : undefined;
|
|
88
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
89
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
90
|
+
resourceInputs["userAccessLoggingSettingsArn"] = state ? state.userAccessLoggingSettingsArn : undefined;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
const args = argsOrState;
|
|
94
|
+
if ((!args || args.kinesisStreamArn === undefined) && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'kinesisStreamArn'");
|
|
96
|
+
}
|
|
97
|
+
resourceInputs["kinesisStreamArn"] = args ? args.kinesisStreamArn : undefined;
|
|
98
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
99
|
+
resourceInputs["associatedPortalArns"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["userAccessLoggingSettingsArn"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
super(WebUserAccessLoggingSettings.__pulumiType, name, resourceInputs, opts);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.WebUserAccessLoggingSettings = WebUserAccessLoggingSettings;
|
|
108
|
+
/** @internal */
|
|
109
|
+
WebUserAccessLoggingSettings.__pulumiType = 'aws:workspaces/webUserAccessLoggingSettings:WebUserAccessLoggingSettings';
|
|
110
|
+
//# sourceMappingURL=webUserAccessLoggingSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webUserAccessLoggingSettings.js","sourceRoot":"","sources":["../../workspaces/webUserAccessLoggingSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4NAA4N,CAAC,CAAA;QAC7O,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,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CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AAxFL,oEAyFC;AA1EG,gBAAgB;AACO,yCAAY,GAAG,0EAA0E,CAAC"}
|
|
@@ -12,7 +12,7 @@ import * as outputs from "../types/output";
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as aws from "@pulumi/aws";
|
|
14
14
|
*
|
|
15
|
-
* const example = new aws.
|
|
15
|
+
* const example = new aws.workspacesweb.UserSettings("example", {
|
|
16
16
|
* copyAllowed: "Enabled",
|
|
17
17
|
* downloadAllowed: "Enabled",
|
|
18
18
|
* pasteAllowed: "Enabled",
|
|
@@ -27,7 +27,7 @@ import * as outputs from "../types/output";
|
|
|
27
27
|
* import * as pulumi from "@pulumi/pulumi";
|
|
28
28
|
* import * as aws from "@pulumi/aws";
|
|
29
29
|
*
|
|
30
|
-
* const example = new aws.
|
|
30
|
+
* const example = new aws.workspacesweb.UserSettings("example", {
|
|
31
31
|
* copyAllowed: "Enabled",
|
|
32
32
|
* downloadAllowed: "Enabled",
|
|
33
33
|
* pasteAllowed: "Enabled",
|
|
@@ -54,7 +54,7 @@ import * as outputs from "../types/output";
|
|
|
54
54
|
* description: "KMS key for WorkSpaces Web User Settings",
|
|
55
55
|
* deletionWindowInDays: 7,
|
|
56
56
|
* });
|
|
57
|
-
* const
|
|
57
|
+
* const exampleUserSettings = new aws.workspacesweb.UserSettings("example", {
|
|
58
58
|
* copyAllowed: "Enabled",
|
|
59
59
|
* downloadAllowed: "Enabled",
|
|
60
60
|
* pasteAllowed: "Enabled",
|
|
@@ -98,6 +98,8 @@ import * as outputs from "../types/output";
|
|
|
98
98
|
* ```sh
|
|
99
99
|
* $ pulumi import aws:workspaces/webUserSettings:WebUserSettings example arn:aws:workspacesweb:us-west-2:123456789012:usersettings/abcdef12345
|
|
100
100
|
* ```
|
|
101
|
+
*
|
|
102
|
+
* @deprecated aws.workspaces/webusersettings.WebUserSettings has been deprecated in favor of aws.workspacesweb/usersettings.UserSettings
|
|
101
103
|
*/
|
|
102
104
|
export declare class WebUserSettings extends pulumi.CustomResource {
|
|
103
105
|
/**
|
|
@@ -196,6 +198,7 @@ export declare class WebUserSettings extends pulumi.CustomResource {
|
|
|
196
198
|
* @param args The arguments to use to populate this resource's properties.
|
|
197
199
|
* @param opts A bag of options that control this resource's behavior.
|
|
198
200
|
*/
|
|
201
|
+
/** @deprecated aws.workspaces/webusersettings.WebUserSettings has been deprecated in favor of aws.workspacesweb/usersettings.UserSettings */
|
|
199
202
|
constructor(name: string, args: WebUserSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
200
203
|
}
|
|
201
204
|
/**
|
|
@@ -16,7 +16,7 @@ const utilities = require("../utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as aws from "@pulumi/aws";
|
|
18
18
|
*
|
|
19
|
-
* const example = new aws.
|
|
19
|
+
* const example = new aws.workspacesweb.UserSettings("example", {
|
|
20
20
|
* copyAllowed: "Enabled",
|
|
21
21
|
* downloadAllowed: "Enabled",
|
|
22
22
|
* pasteAllowed: "Enabled",
|
|
@@ -31,7 +31,7 @@ const utilities = require("../utilities");
|
|
|
31
31
|
* import * as pulumi from "@pulumi/pulumi";
|
|
32
32
|
* import * as aws from "@pulumi/aws";
|
|
33
33
|
*
|
|
34
|
-
* const example = new aws.
|
|
34
|
+
* const example = new aws.workspacesweb.UserSettings("example", {
|
|
35
35
|
* copyAllowed: "Enabled",
|
|
36
36
|
* downloadAllowed: "Enabled",
|
|
37
37
|
* pasteAllowed: "Enabled",
|
|
@@ -58,7 +58,7 @@ const utilities = require("../utilities");
|
|
|
58
58
|
* description: "KMS key for WorkSpaces Web User Settings",
|
|
59
59
|
* deletionWindowInDays: 7,
|
|
60
60
|
* });
|
|
61
|
-
* const
|
|
61
|
+
* const exampleUserSettings = new aws.workspacesweb.UserSettings("example", {
|
|
62
62
|
* copyAllowed: "Enabled",
|
|
63
63
|
* downloadAllowed: "Enabled",
|
|
64
64
|
* pasteAllowed: "Enabled",
|
|
@@ -102,6 +102,8 @@ const utilities = require("../utilities");
|
|
|
102
102
|
* ```sh
|
|
103
103
|
* $ pulumi import aws:workspaces/webUserSettings:WebUserSettings example arn:aws:workspacesweb:us-west-2:123456789012:usersettings/abcdef12345
|
|
104
104
|
* ```
|
|
105
|
+
*
|
|
106
|
+
* @deprecated aws.workspaces/webusersettings.WebUserSettings has been deprecated in favor of aws.workspacesweb/usersettings.UserSettings
|
|
105
107
|
*/
|
|
106
108
|
class WebUserSettings extends pulumi.CustomResource {
|
|
107
109
|
/**
|
|
@@ -114,6 +116,7 @@ class WebUserSettings extends pulumi.CustomResource {
|
|
|
114
116
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
115
117
|
*/
|
|
116
118
|
static get(name, id, state, opts) {
|
|
119
|
+
pulumi.log.warn("WebUserSettings is deprecated: aws.workspaces/webusersettings.WebUserSettings has been deprecated in favor of aws.workspacesweb/usersettings.UserSettings");
|
|
117
120
|
return new WebUserSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
118
121
|
}
|
|
119
122
|
/**
|
|
@@ -126,7 +129,9 @@ class WebUserSettings extends pulumi.CustomResource {
|
|
|
126
129
|
}
|
|
127
130
|
return obj['__pulumiType'] === WebUserSettings.__pulumiType;
|
|
128
131
|
}
|
|
132
|
+
/** @deprecated aws.workspaces/webusersettings.WebUserSettings has been deprecated in favor of aws.workspacesweb/usersettings.UserSettings */
|
|
129
133
|
constructor(name, argsOrState, opts) {
|
|
134
|
+
pulumi.log.warn("WebUserSettings is deprecated: aws.workspaces/webusersettings.WebUserSettings has been deprecated in favor of aws.workspacesweb/usersettings.UserSettings");
|
|
130
135
|
let resourceInputs = {};
|
|
131
136
|
opts = opts || {};
|
|
132
137
|
if (opts.id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webUserSettings.js","sourceRoot":"","sources":["../../workspaces/webUserSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"webUserSettings.js","sourceRoot":"","sources":["../../workspaces/webUserSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2JAA2J,CAAC,CAAA;QAC5K,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UA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C,CAAC;IACpE,CAAC;;AAtKL,0CAuKC;AAxJG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for managing an AWS WorkSpaces Web Browser Settings resource.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Basic Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.workspacesweb.BrowserSettings("example", {browserPolicy: JSON.stringify({
|
|
14
|
+
* AdditionalSettings: {
|
|
15
|
+
* DownloadsSettings: {
|
|
16
|
+
* Behavior: "DISABLE",
|
|
17
|
+
* },
|
|
18
|
+
* },
|
|
19
|
+
* })});
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ### With All Arguments
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as aws from "@pulumi/aws";
|
|
27
|
+
*
|
|
28
|
+
* const example = new aws.kms.Key("example", {
|
|
29
|
+
* description: "KMS key for WorkSpaces Web Browser Settings",
|
|
30
|
+
* deletionWindowInDays: 7,
|
|
31
|
+
* });
|
|
32
|
+
* const exampleBrowserSettings = new aws.workspacesweb.BrowserSettings("example", {
|
|
33
|
+
* browserPolicy: JSON.stringify({
|
|
34
|
+
* chromePolicies: {
|
|
35
|
+
* DefaultDownloadDirectory: {
|
|
36
|
+
* value: "/home/as2-streaming-user/MyFiles/TemporaryFiles1",
|
|
37
|
+
* },
|
|
38
|
+
* },
|
|
39
|
+
* }),
|
|
40
|
+
* customerManagedKey: example.arn,
|
|
41
|
+
* additionalEncryptionContext: {
|
|
42
|
+
* Environment: "Production",
|
|
43
|
+
* },
|
|
44
|
+
* tags: {
|
|
45
|
+
* Name: "example-browser-settings",
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ## Import
|
|
51
|
+
*
|
|
52
|
+
* Using `pulumi import`, import WorkSpaces Web Browser Settings using the `browser_settings_arn`. For example:
|
|
53
|
+
*
|
|
54
|
+
* ```sh
|
|
55
|
+
* $ pulumi import aws:workspacesweb/browserSettings:BrowserSettings example arn:aws:workspacesweb:us-west-2:123456789012:browsersettings/abcdef12345
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
export declare class BrowserSettings extends pulumi.CustomResource {
|
|
59
|
+
/**
|
|
60
|
+
* Get an existing BrowserSettings resource's state with the given name, ID, and optional extra
|
|
61
|
+
* properties used to qualify the lookup.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resulting resource.
|
|
64
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
65
|
+
* @param state Any extra arguments used during the lookup.
|
|
66
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
|
+
*/
|
|
68
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BrowserSettingsState, opts?: pulumi.CustomResourceOptions): BrowserSettings;
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of BrowserSettings. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj: any): obj is BrowserSettings;
|
|
74
|
+
/**
|
|
75
|
+
* Additional encryption context for the browser settings.
|
|
76
|
+
*/
|
|
77
|
+
readonly additionalEncryptionContext: pulumi.Output<{
|
|
78
|
+
[key: string]: string;
|
|
79
|
+
} | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* List of web portal ARNs to associate with the browser settings.
|
|
82
|
+
*/
|
|
83
|
+
readonly associatedPortalArns: pulumi.Output<string[]>;
|
|
84
|
+
/**
|
|
85
|
+
* Browser policy for the browser settings. This is a JSON string that defines the browser settings policy.
|
|
86
|
+
*
|
|
87
|
+
* The following arguments are optional:
|
|
88
|
+
*/
|
|
89
|
+
readonly browserPolicy: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* ARN of the browser settings resource.
|
|
92
|
+
*/
|
|
93
|
+
readonly browserSettingsArn: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* ARN of the customer managed KMS key.
|
|
96
|
+
*/
|
|
97
|
+
readonly customerManagedKey: pulumi.Output<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* 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.
|
|
100
|
+
*/
|
|
101
|
+
readonly tags: pulumi.Output<{
|
|
102
|
+
[key: string]: string;
|
|
103
|
+
} | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
106
|
+
*
|
|
107
|
+
* @deprecated Please use `tags` instead.
|
|
108
|
+
*/
|
|
109
|
+
readonly tagsAll: pulumi.Output<{
|
|
110
|
+
[key: string]: string;
|
|
111
|
+
}>;
|
|
112
|
+
/**
|
|
113
|
+
* Create a BrowserSettings resource with the given unique name, arguments, and options.
|
|
114
|
+
*
|
|
115
|
+
* @param name The _unique_ name of the resource.
|
|
116
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
117
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
118
|
+
*/
|
|
119
|
+
constructor(name: string, args: BrowserSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Input properties used for looking up and filtering BrowserSettings resources.
|
|
123
|
+
*/
|
|
124
|
+
export interface BrowserSettingsState {
|
|
125
|
+
/**
|
|
126
|
+
* Additional encryption context for the browser settings.
|
|
127
|
+
*/
|
|
128
|
+
additionalEncryptionContext?: pulumi.Input<{
|
|
129
|
+
[key: string]: pulumi.Input<string>;
|
|
130
|
+
}>;
|
|
131
|
+
/**
|
|
132
|
+
* List of web portal ARNs to associate with the browser settings.
|
|
133
|
+
*/
|
|
134
|
+
associatedPortalArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
135
|
+
/**
|
|
136
|
+
* Browser policy for the browser settings. This is a JSON string that defines the browser settings policy.
|
|
137
|
+
*
|
|
138
|
+
* The following arguments are optional:
|
|
139
|
+
*/
|
|
140
|
+
browserPolicy?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* ARN of the browser settings resource.
|
|
143
|
+
*/
|
|
144
|
+
browserSettingsArn?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* ARN of the customer managed KMS key.
|
|
147
|
+
*/
|
|
148
|
+
customerManagedKey?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* 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.
|
|
151
|
+
*/
|
|
152
|
+
tags?: pulumi.Input<{
|
|
153
|
+
[key: string]: pulumi.Input<string>;
|
|
154
|
+
}>;
|
|
155
|
+
/**
|
|
156
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
157
|
+
*
|
|
158
|
+
* @deprecated Please use `tags` instead.
|
|
159
|
+
*/
|
|
160
|
+
tagsAll?: pulumi.Input<{
|
|
161
|
+
[key: string]: pulumi.Input<string>;
|
|
162
|
+
}>;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* The set of arguments for constructing a BrowserSettings resource.
|
|
166
|
+
*/
|
|
167
|
+
export interface BrowserSettingsArgs {
|
|
168
|
+
/**
|
|
169
|
+
* Additional encryption context for the browser settings.
|
|
170
|
+
*/
|
|
171
|
+
additionalEncryptionContext?: pulumi.Input<{
|
|
172
|
+
[key: string]: pulumi.Input<string>;
|
|
173
|
+
}>;
|
|
174
|
+
/**
|
|
175
|
+
* Browser policy for the browser settings. This is a JSON string that defines the browser settings policy.
|
|
176
|
+
*
|
|
177
|
+
* The following arguments are optional:
|
|
178
|
+
*/
|
|
179
|
+
browserPolicy: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* ARN of the customer managed KMS key.
|
|
182
|
+
*/
|
|
183
|
+
customerManagedKey?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* 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.
|
|
186
|
+
*/
|
|
187
|
+
tags?: pulumi.Input<{
|
|
188
|
+
[key: string]: pulumi.Input<string>;
|
|
189
|
+
}>;
|
|
190
|
+
}
|