@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.
Files changed (188) hide show
  1. package/amp/index.d.ts +3 -0
  2. package/amp/index.js +6 -1
  3. package/amp/index.js.map +1 -1
  4. package/amp/workspaceConfiguration.d.ts +149 -0
  5. package/amp/workspaceConfiguration.js +124 -0
  6. package/amp/workspaceConfiguration.js.map +1 -0
  7. package/cloudfront/keyvaluestoreKeysExclusive.d.ts +12 -0
  8. package/cloudfront/keyvaluestoreKeysExclusive.js +2 -0
  9. package/cloudfront/keyvaluestoreKeysExclusive.js.map +1 -1
  10. package/dsql/cluster.d.ts +170 -0
  11. package/dsql/cluster.js +94 -0
  12. package/dsql/cluster.js.map +1 -0
  13. package/dsql/clusterPeering.d.ts +114 -0
  14. package/dsql/clusterPeering.js +101 -0
  15. package/dsql/clusterPeering.js.map +1 -0
  16. package/dsql/index.d.ts +6 -0
  17. package/dsql/index.js +27 -0
  18. package/dsql/index.js.map +1 -0
  19. package/ec2/vpnConnection.d.ts +20 -0
  20. package/ec2/vpnConnection.js +4 -0
  21. package/ec2/vpnConnection.js.map +1 -1
  22. package/fsx/lustreFileSystem.d.ts +18 -3
  23. package/fsx/lustreFileSystem.js +4 -0
  24. package/fsx/lustreFileSystem.js.map +1 -1
  25. package/glue/job.d.ts +102 -5
  26. package/glue/job.js +102 -5
  27. package/glue/job.js.map +1 -1
  28. package/index.d.ts +3 -1
  29. package/index.js +7 -3
  30. package/index.js.map +1 -1
  31. package/lambda/codeSigningConfig.d.ts +2 -2
  32. package/lambda/codeSigningConfig.js +2 -2
  33. package/lightsail/bucket.d.ts +40 -28
  34. package/lightsail/bucket.js +4 -4
  35. package/lightsail/bucket.js.map +1 -1
  36. package/lightsail/bucketAccessKey.d.ts +16 -16
  37. package/lightsail/bucketAccessKey.js +5 -5
  38. package/lightsail/bucketResourceAccess.d.ts +30 -8
  39. package/lightsail/bucketResourceAccess.js +24 -2
  40. package/lightsail/bucketResourceAccess.js.map +1 -1
  41. package/lightsail/certificate.d.ts +29 -23
  42. package/lightsail/certificate.js +6 -6
  43. package/lightsail/certificate.js.map +1 -1
  44. package/lightsail/containerService.d.ts +62 -97
  45. package/lightsail/containerService.js +11 -15
  46. package/lightsail/containerService.js.map +1 -1
  47. package/lightsail/containerServiceDeploymentVersion.d.ts +22 -16
  48. package/lightsail/containerServiceDeploymentVersion.js +1 -1
  49. package/lightsail/containerServiceDeploymentVersion.js.map +1 -1
  50. package/lightsail/database.d.ts +113 -109
  51. package/lightsail/database.js +36 -38
  52. package/lightsail/database.js.map +1 -1
  53. package/lightsail/disk.d.ts +30 -24
  54. package/lightsail/disk.js +4 -4
  55. package/lightsail/disk.js.map +1 -1
  56. package/lightsail/disk_attachment.d.ts +19 -19
  57. package/lightsail/disk_attachment.js +10 -10
  58. package/lightsail/distribution.d.ts +84 -88
  59. package/lightsail/distribution.js +32 -38
  60. package/lightsail/distribution.js.map +1 -1
  61. package/lightsail/domain.d.ts +10 -12
  62. package/lightsail/domain.js +5 -7
  63. package/lightsail/domain.js.map +1 -1
  64. package/lightsail/domainEntry.d.ts +27 -21
  65. package/lightsail/domainEntry.js +6 -6
  66. package/lightsail/domainEntry.js.map +1 -1
  67. package/lightsail/instance.d.ts +60 -78
  68. package/lightsail/instance.js +9 -12
  69. package/lightsail/instance.js.map +1 -1
  70. package/lightsail/instancePublicPorts.d.ts +29 -14
  71. package/lightsail/instancePublicPorts.js +26 -11
  72. package/lightsail/instancePublicPorts.js.map +1 -1
  73. package/lightsail/keyPair.d.ts +44 -34
  74. package/lightsail/keyPair.js +6 -9
  75. package/lightsail/keyPair.js.map +1 -1
  76. package/lightsail/lb.d.ts +47 -30
  77. package/lightsail/lb.js +6 -4
  78. package/lightsail/lb.js.map +1 -1
  79. package/lightsail/lbAttachment.d.ts +15 -15
  80. package/lightsail/lbAttachment.js +9 -9
  81. package/lightsail/lbCertificate.d.ts +41 -21
  82. package/lightsail/lbCertificate.js +10 -8
  83. package/lightsail/lbCertificate.js.map +1 -1
  84. package/lightsail/lbCertificateAttachment.d.ts +19 -17
  85. package/lightsail/lbCertificateAttachment.js +13 -11
  86. package/lightsail/lbCertificateAttachment.js.map +1 -1
  87. package/lightsail/lbHttpsRedirectionPolicy.d.ts +21 -19
  88. package/lightsail/lbHttpsRedirectionPolicy.js +15 -13
  89. package/lightsail/lbHttpsRedirectionPolicy.js.map +1 -1
  90. package/lightsail/lbStickinessPolicy.d.ts +17 -15
  91. package/lightsail/lbStickinessPolicy.js +8 -6
  92. package/lightsail/lbStickinessPolicy.js.map +1 -1
  93. package/lightsail/staticIp.d.ts +22 -12
  94. package/lightsail/staticIp.js +13 -3
  95. package/lightsail/staticIp.js.map +1 -1
  96. package/lightsail/staticIpAttachment.d.ts +28 -19
  97. package/lightsail/staticIpAttachment.js +20 -11
  98. package/lightsail/staticIpAttachment.js.map +1 -1
  99. package/neptune/cluster.d.ts +81 -90
  100. package/neptune/cluster.js.map +1 -1
  101. package/neptune/getEngineVersion.d.ts +95 -13
  102. package/neptune/getEngineVersion.js +22 -6
  103. package/neptune/getEngineVersion.js.map +1 -1
  104. package/neptune/globalCluster.d.ts +11 -14
  105. package/neptune/globalCluster.js.map +1 -1
  106. package/networkfirewall/ruleGroup.d.ts +46 -0
  107. package/networkfirewall/ruleGroup.js +46 -0
  108. package/networkfirewall/ruleGroup.js.map +1 -1
  109. package/package.json +2 -2
  110. package/pinpoint/smsvoicev2PhoneNumber.d.ts +12 -0
  111. package/pinpoint/smsvoicev2PhoneNumber.js +2 -0
  112. package/pinpoint/smsvoicev2PhoneNumber.js.map +1 -1
  113. package/s3/accessPoint.d.ts +22 -1
  114. package/s3/accessPoint.js +22 -1
  115. package/s3/accessPoint.js.map +1 -1
  116. package/s3control/directoryBucketAccessPointScope.d.ts +120 -0
  117. package/s3control/directoryBucketAccessPointScope.js +102 -0
  118. package/s3control/directoryBucketAccessPointScope.js.map +1 -0
  119. package/s3control/index.d.ts +3 -0
  120. package/s3control/index.js +6 -1
  121. package/s3control/index.js.map +1 -1
  122. package/ssm/association.d.ts +155 -0
  123. package/ssm/association.js +155 -0
  124. package/ssm/association.js.map +1 -1
  125. package/types/input.d.ts +579 -56
  126. package/types/input.js.map +1 -1
  127. package/types/output.d.ts +579 -56
  128. package/types/output.js.map +1 -1
  129. package/vpc/index.d.ts +15 -0
  130. package/vpc/index.js +26 -1
  131. package/vpc/index.js.map +1 -1
  132. package/vpc/routeServer.d.ts +197 -0
  133. package/vpc/routeServer.js +114 -0
  134. package/vpc/routeServer.js.map +1 -0
  135. package/vpc/routeServerEndpoint.d.ts +173 -0
  136. package/vpc/routeServerEndpoint.js +101 -0
  137. package/vpc/routeServerEndpoint.js.map +1 -0
  138. package/vpc/routeServerPeer.d.ts +233 -0
  139. package/vpc/routeServerPeer.js +154 -0
  140. package/vpc/routeServerPeer.js.map +1 -0
  141. package/vpc/routeServerPropagation.d.ts +90 -0
  142. package/vpc/routeServerPropagation.js +84 -0
  143. package/vpc/routeServerPropagation.js.map +1 -0
  144. package/vpc/routeServerVpcAssociation.d.ts +90 -0
  145. package/vpc/routeServerVpcAssociation.js +84 -0
  146. package/vpc/routeServerVpcAssociation.js.map +1 -0
  147. package/workspaces/index.d.ts +9 -0
  148. package/workspaces/index.js +16 -1
  149. package/workspaces/index.js.map +1 -1
  150. package/workspaces/webBrowserSettings.d.ts +5 -2
  151. package/workspaces/webBrowserSettings.js +7 -2
  152. package/workspaces/webBrowserSettings.js.map +1 -1
  153. package/workspaces/webDataProtectionSettings.d.ts +264 -0
  154. package/workspaces/webDataProtectionSettings.js +174 -0
  155. package/workspaces/webDataProtectionSettings.js.map +1 -0
  156. package/workspaces/webIpAccessSettings.d.ts +245 -0
  157. package/workspaces/webIpAccessSettings.js +155 -0
  158. package/workspaces/webIpAccessSettings.js.map +1 -0
  159. package/workspaces/webNetworkSettings.d.ts +4 -1
  160. package/workspaces/webNetworkSettings.js +6 -1
  161. package/workspaces/webNetworkSettings.js.map +1 -1
  162. package/workspaces/webUserAccessLoggingSettings.d.ts +152 -0
  163. package/workspaces/webUserAccessLoggingSettings.js +110 -0
  164. package/workspaces/webUserAccessLoggingSettings.js.map +1 -0
  165. package/workspaces/webUserSettings.d.ts +6 -3
  166. package/workspaces/webUserSettings.js +8 -3
  167. package/workspaces/webUserSettings.js.map +1 -1
  168. package/workspacesweb/browserSettings.d.ts +190 -0
  169. package/workspacesweb/browserSettings.js +122 -0
  170. package/workspacesweb/browserSettings.js.map +1 -0
  171. package/workspacesweb/dataProtectionSettings.d.ts +261 -0
  172. package/workspacesweb/dataProtectionSettings.js +171 -0
  173. package/workspacesweb/dataProtectionSettings.js.map +1 -0
  174. package/workspacesweb/index.d.ts +18 -0
  175. package/workspacesweb/index.js +47 -0
  176. package/workspacesweb/index.js.map +1 -0
  177. package/workspacesweb/ipAccessSettings.d.ts +242 -0
  178. package/workspacesweb/ipAccessSettings.js +152 -0
  179. package/workspacesweb/ipAccessSettings.js.map +1 -0
  180. package/workspacesweb/networkSettings.d.ts +181 -0
  181. package/workspacesweb/networkSettings.js +125 -0
  182. package/workspacesweb/networkSettings.js.map +1 -0
  183. package/workspacesweb/userAccessLoggingSettings.d.ts +149 -0
  184. package/workspacesweb/userAccessLoggingSettings.js +107 -0
  185. package/workspacesweb/userAccessLoggingSettings.js.map +1 -0
  186. package/workspacesweb/userSettings.d.ts +342 -0
  187. package/workspacesweb/userSettings.js +194 -0
  188. 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;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,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA2CD,YAAY,IAAY,EAAE,WAAwD,EA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C;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":"","sources":["../../workspacesweb/userAccessLoggingSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,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