@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,125 @@
|
|
|
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.NetworkSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS WorkSpaces Web Network Settings resource. Once associated with a web portal, network settings define how streaming instances will connect with your specified VPC.
|
|
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
|
+
* import * as std from "@pulumi/std";
|
|
19
|
+
*
|
|
20
|
+
* const example = new aws.ec2.Vpc("example", {cidrBlock: "10.0.0.0/16"});
|
|
21
|
+
* const exampleSubnet: aws.ec2.Subnet[] = [];
|
|
22
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
23
|
+
* exampleSubnet.push(new aws.ec2.Subnet(`example-${range.value}`, {
|
|
24
|
+
* vpcId: example.id,
|
|
25
|
+
* cidrBlock: example.cidrBlock.apply(cidrBlock => std.cidrsubnetOutput({
|
|
26
|
+
* input: cidrBlock,
|
|
27
|
+
* newbits: 8,
|
|
28
|
+
* netnum: range.value,
|
|
29
|
+
* })).apply(invoke => invoke.result),
|
|
30
|
+
* availabilityZone: available.names[range.value],
|
|
31
|
+
* }));
|
|
32
|
+
* }
|
|
33
|
+
* const example1: aws.ec2.SecurityGroup[] = [];
|
|
34
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
35
|
+
* example1.push(new aws.ec2.SecurityGroup(`example1-${range.value}`, {
|
|
36
|
+
* vpcId: example.id,
|
|
37
|
+
* name: `example-sg-${range.value}$`,
|
|
38
|
+
* }));
|
|
39
|
+
* }
|
|
40
|
+
* const exampleNetworkSettings = new aws.workspacesweb.NetworkSettings("example", {
|
|
41
|
+
* vpcId: example.id,
|
|
42
|
+
* subnetIds: [
|
|
43
|
+
* exampleSubnet[0].id,
|
|
44
|
+
* exampleSubnet[1].id,
|
|
45
|
+
* ],
|
|
46
|
+
* securityGroupIds: [
|
|
47
|
+
* exampleAwsSecurityGroup[0].id,
|
|
48
|
+
* exampleAwsSecurityGroup[1].id,
|
|
49
|
+
* ],
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ## Import
|
|
54
|
+
*
|
|
55
|
+
* Using `pulumi import`, import WorkSpaces Web Network Settings using the `network_settings_arn`. For example:
|
|
56
|
+
*
|
|
57
|
+
* ```sh
|
|
58
|
+
* $ pulumi import aws:workspacesweb/networkSettings:NetworkSettings example arn:aws:workspacesweb:us-west-2:123456789012:networksettings/abcdef12345
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
class NetworkSettings extends pulumi.CustomResource {
|
|
62
|
+
/**
|
|
63
|
+
* Get an existing NetworkSettings resource's state with the given name, ID, and optional extra
|
|
64
|
+
* properties used to qualify the lookup.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resulting resource.
|
|
67
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
68
|
+
* @param state Any extra arguments used during the lookup.
|
|
69
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
70
|
+
*/
|
|
71
|
+
static get(name, id, state, opts) {
|
|
72
|
+
return new NetworkSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the given object is an instance of NetworkSettings. This is designed to work even
|
|
76
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
+
*/
|
|
78
|
+
static isInstance(obj) {
|
|
79
|
+
if (obj === undefined || obj === null) {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
return obj['__pulumiType'] === NetworkSettings.__pulumiType;
|
|
83
|
+
}
|
|
84
|
+
constructor(name, argsOrState, opts) {
|
|
85
|
+
let resourceInputs = {};
|
|
86
|
+
opts = opts || {};
|
|
87
|
+
if (opts.id) {
|
|
88
|
+
const state = argsOrState;
|
|
89
|
+
resourceInputs["associatedPortalArns"] = state ? state.associatedPortalArns : undefined;
|
|
90
|
+
resourceInputs["networkSettingsArn"] = state ? state.networkSettingsArn : undefined;
|
|
91
|
+
resourceInputs["securityGroupIds"] = state ? state.securityGroupIds : undefined;
|
|
92
|
+
resourceInputs["subnetIds"] = state ? state.subnetIds : undefined;
|
|
93
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
94
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
95
|
+
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
const args = argsOrState;
|
|
99
|
+
if ((!args || args.securityGroupIds === undefined) && !opts.urn) {
|
|
100
|
+
throw new Error("Missing required property 'securityGroupIds'");
|
|
101
|
+
}
|
|
102
|
+
if ((!args || args.subnetIds === undefined) && !opts.urn) {
|
|
103
|
+
throw new Error("Missing required property 'subnetIds'");
|
|
104
|
+
}
|
|
105
|
+
if ((!args || args.vpcId === undefined) && !opts.urn) {
|
|
106
|
+
throw new Error("Missing required property 'vpcId'");
|
|
107
|
+
}
|
|
108
|
+
resourceInputs["securityGroupIds"] = args ? args.securityGroupIds : undefined;
|
|
109
|
+
resourceInputs["subnetIds"] = args ? args.subnetIds : undefined;
|
|
110
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
111
|
+
resourceInputs["vpcId"] = args ? args.vpcId : undefined;
|
|
112
|
+
resourceInputs["associatedPortalArns"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["networkSettingsArn"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
115
|
+
}
|
|
116
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
117
|
+
const aliasOpts = { aliases: [{ type: "aws:workspaces/webNetworkSettings:WebNetworkSettings" }] };
|
|
118
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
119
|
+
super(NetworkSettings.__pulumiType, name, resourceInputs, opts);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.NetworkSettings = NetworkSettings;
|
|
123
|
+
/** @internal */
|
|
124
|
+
NetworkSettings.__pulumiType = 'aws:workspacesweb/networkSettings:NetworkSettings';
|
|
125
|
+
//# sourceMappingURL=networkSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSettings.js","sourceRoot":"","sources":["../../workspacesweb/networkSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;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AC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,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,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,sDAAsD,EAAE,CAAC,EAAE,CAAC;QAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAxGL,0CAyGC;AA3FG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -0,0 +1,149 @@
|
|
|
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:workspacesweb/userAccessLoggingSettings:UserAccessLoggingSettings example arn:aws:workspaces-web:us-west-2:123456789012:userAccessLoggingSettings/abcdef12345
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare class UserAccessLoggingSettings extends pulumi.CustomResource {
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing UserAccessLoggingSettings resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserAccessLoggingSettingsState, opts?: pulumi.CustomResourceOptions): UserAccessLoggingSettings;
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of UserAccessLoggingSettings. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj: any): obj is UserAccessLoggingSettings;
|
|
63
|
+
/**
|
|
64
|
+
* List of web portal ARNs that this user access logging settings resource is associated with.
|
|
65
|
+
*/
|
|
66
|
+
readonly associatedPortalArns: pulumi.Output<string[]>;
|
|
67
|
+
/**
|
|
68
|
+
* ARN of the Kinesis stream.
|
|
69
|
+
*
|
|
70
|
+
* The following arguments are optional:
|
|
71
|
+
*/
|
|
72
|
+
readonly kinesisStreamArn: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* 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.
|
|
75
|
+
*/
|
|
76
|
+
readonly tags: pulumi.Output<{
|
|
77
|
+
[key: string]: string;
|
|
78
|
+
} | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
81
|
+
*
|
|
82
|
+
* @deprecated Please use `tags` instead.
|
|
83
|
+
*/
|
|
84
|
+
readonly tagsAll: pulumi.Output<{
|
|
85
|
+
[key: string]: string;
|
|
86
|
+
}>;
|
|
87
|
+
/**
|
|
88
|
+
* ARN of the user access logging settings resource.
|
|
89
|
+
*/
|
|
90
|
+
readonly userAccessLoggingSettingsArn: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Create a UserAccessLoggingSettings resource with the given unique name, arguments, and options.
|
|
93
|
+
*
|
|
94
|
+
* @param name The _unique_ name of the resource.
|
|
95
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
96
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
97
|
+
*/
|
|
98
|
+
constructor(name: string, args: UserAccessLoggingSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Input properties used for looking up and filtering UserAccessLoggingSettings resources.
|
|
102
|
+
*/
|
|
103
|
+
export interface UserAccessLoggingSettingsState {
|
|
104
|
+
/**
|
|
105
|
+
* List of web portal ARNs that this user access logging settings resource is associated with.
|
|
106
|
+
*/
|
|
107
|
+
associatedPortalArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
108
|
+
/**
|
|
109
|
+
* ARN of the Kinesis stream.
|
|
110
|
+
*
|
|
111
|
+
* The following arguments are optional:
|
|
112
|
+
*/
|
|
113
|
+
kinesisStreamArn?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* 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.
|
|
116
|
+
*/
|
|
117
|
+
tags?: pulumi.Input<{
|
|
118
|
+
[key: string]: pulumi.Input<string>;
|
|
119
|
+
}>;
|
|
120
|
+
/**
|
|
121
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
122
|
+
*
|
|
123
|
+
* @deprecated Please use `tags` instead.
|
|
124
|
+
*/
|
|
125
|
+
tagsAll?: pulumi.Input<{
|
|
126
|
+
[key: string]: pulumi.Input<string>;
|
|
127
|
+
}>;
|
|
128
|
+
/**
|
|
129
|
+
* ARN of the user access logging settings resource.
|
|
130
|
+
*/
|
|
131
|
+
userAccessLoggingSettingsArn?: pulumi.Input<string>;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* The set of arguments for constructing a UserAccessLoggingSettings resource.
|
|
135
|
+
*/
|
|
136
|
+
export interface UserAccessLoggingSettingsArgs {
|
|
137
|
+
/**
|
|
138
|
+
* ARN of the Kinesis stream.
|
|
139
|
+
*
|
|
140
|
+
* The following arguments are optional:
|
|
141
|
+
*/
|
|
142
|
+
kinesisStreamArn: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* 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.
|
|
145
|
+
*/
|
|
146
|
+
tags?: pulumi.Input<{
|
|
147
|
+
[key: string]: pulumi.Input<string>;
|
|
148
|
+
}>;
|
|
149
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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.UserAccessLoggingSettings = 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:workspacesweb/userAccessLoggingSettings:UserAccessLoggingSettings example arn:aws:workspaces-web:us-west-2:123456789012:userAccessLoggingSettings/abcdef12345
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
class UserAccessLoggingSettings extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing UserAccessLoggingSettings resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name, id, state, opts) {
|
|
64
|
+
return new UserAccessLoggingSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of UserAccessLoggingSettings. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj) {
|
|
71
|
+
if (obj === undefined || obj === null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return obj['__pulumiType'] === UserAccessLoggingSettings.__pulumiType;
|
|
75
|
+
}
|
|
76
|
+
constructor(name, argsOrState, opts) {
|
|
77
|
+
let resourceInputs = {};
|
|
78
|
+
opts = opts || {};
|
|
79
|
+
if (opts.id) {
|
|
80
|
+
const state = argsOrState;
|
|
81
|
+
resourceInputs["associatedPortalArns"] = state ? state.associatedPortalArns : undefined;
|
|
82
|
+
resourceInputs["kinesisStreamArn"] = state ? state.kinesisStreamArn : undefined;
|
|
83
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
84
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
85
|
+
resourceInputs["userAccessLoggingSettingsArn"] = state ? state.userAccessLoggingSettingsArn : undefined;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
const args = argsOrState;
|
|
89
|
+
if ((!args || args.kinesisStreamArn === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'kinesisStreamArn'");
|
|
91
|
+
}
|
|
92
|
+
resourceInputs["kinesisStreamArn"] = args ? args.kinesisStreamArn : undefined;
|
|
93
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
94
|
+
resourceInputs["associatedPortalArns"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["userAccessLoggingSettingsArn"] = undefined /*out*/;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
const aliasOpts = { aliases: [{ type: "aws:workspaces/webUserAccessLoggingSettings:WebUserAccessLoggingSettings" }] };
|
|
100
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
101
|
+
super(UserAccessLoggingSettings.__pulumiType, name, resourceInputs, opts);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.UserAccessLoggingSettings = UserAccessLoggingSettings;
|
|
105
|
+
/** @internal */
|
|
106
|
+
UserAccessLoggingSettings.__pulumiType = 'aws:workspacesweb/userAccessLoggingSettings:UserAccessLoggingSettings';
|
|
107
|
+
//# sourceMappingURL=userAccessLoggingSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userAccessLoggingSettings.js","sourceRoot":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