@pulumi/aws 6.82.0-alpha.1748893300 → 6.82.0-alpha.1748962820

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 (194) hide show
  1. package/alb/loadBalancer.d.ts +24 -0
  2. package/alb/loadBalancer.js +2 -0
  3. package/alb/loadBalancer.js.map +1 -1
  4. package/apigateway/domainNameAccessAssociation.d.ts +1 -1
  5. package/apigateway/domainNameAccessAssociation.js +1 -1
  6. package/backup/regionSettings.d.ts +18 -14
  7. package/backup/regionSettings.js +12 -8
  8. package/backup/regionSettings.js.map +1 -1
  9. package/budgets/budget.d.ts +9 -0
  10. package/budgets/budget.js.map +1 -1
  11. package/cfg/conformancePack.d.ts +6 -0
  12. package/cfg/conformancePack.js.map +1 -1
  13. package/cloudwatch/eventTarget.d.ts +6 -0
  14. package/cloudwatch/eventTarget.js +6 -0
  15. package/cloudwatch/eventTarget.js.map +1 -1
  16. package/cloudwatch/metricAlarm.d.ts +9 -0
  17. package/cloudwatch/metricAlarm.js.map +1 -1
  18. package/cognito/userPool.d.ts +0 -6
  19. package/cognito/userPool.js.map +1 -1
  20. package/connect/getContactFlow.d.ts +4 -0
  21. package/connect/getContactFlow.js.map +1 -1
  22. package/connect/getContactFlowModule.d.ts +4 -0
  23. package/connect/getContactFlowModule.js.map +1 -1
  24. package/connect/getHoursOfOperation.d.ts +4 -0
  25. package/connect/getHoursOfOperation.js.map +1 -1
  26. package/connect/getInstance.d.ts +4 -0
  27. package/connect/getInstance.js.map +1 -1
  28. package/connect/getQueue.d.ts +4 -0
  29. package/connect/getQueue.js.map +1 -1
  30. package/connect/getQuickConnect.d.ts +4 -0
  31. package/connect/getQuickConnect.js.map +1 -1
  32. package/connect/getRoutingProfile.d.ts +4 -0
  33. package/connect/getRoutingProfile.js.map +1 -1
  34. package/connect/getSecurityProfile.d.ts +4 -0
  35. package/connect/getSecurityProfile.js.map +1 -1
  36. package/connect/getUser.d.ts +4 -0
  37. package/connect/getUser.js.map +1 -1
  38. package/connect/getUserHierarchyGroup.d.ts +4 -0
  39. package/connect/getUserHierarchyGroup.js.map +1 -1
  40. package/connect/getVocabulary.d.ts +4 -0
  41. package/connect/getVocabulary.js.map +1 -1
  42. package/costexplorer/costCategory.d.ts +6 -6
  43. package/datazone/environmentProfile.d.ts +0 -6
  44. package/datazone/environmentProfile.js.map +1 -1
  45. package/directconnect/gatewayAssociation.d.ts +12 -0
  46. package/directconnect/gatewayAssociation.js.map +1 -1
  47. package/dms/s3endpoint.d.ts +6 -6
  48. package/docdb/cluster.d.ts +9 -0
  49. package/docdb/cluster.js.map +1 -1
  50. package/docdb/elasticCluster.d.ts +9 -0
  51. package/docdb/elasticCluster.js.map +1 -1
  52. package/dynamodb/table.d.ts +3 -3
  53. package/dynamodb/tableItem.d.ts +6 -0
  54. package/dynamodb/tableItem.js.map +1 -1
  55. package/dynamodb/tableReplica.d.ts +3 -3
  56. package/ebs/volume.d.ts +6 -0
  57. package/ebs/volume.js.map +1 -1
  58. package/ec2/flowLog.d.ts +6 -0
  59. package/ec2/flowLog.js.map +1 -1
  60. package/ec2/routeTableAssociation.d.ts +6 -0
  61. package/ec2/routeTableAssociation.js.map +1 -1
  62. package/ec2/vpcPeeringConnection.d.ts +5 -0
  63. package/ec2/vpcPeeringConnection.js +5 -0
  64. package/ec2/vpcPeeringConnection.js.map +1 -1
  65. package/ecs/taskDefinition.d.ts +6 -0
  66. package/ecs/taskDefinition.js.map +1 -1
  67. package/elastictranscoder/pipeline.d.ts +6 -0
  68. package/elastictranscoder/pipeline.js.map +1 -1
  69. package/elastictranscoder/preset.d.ts +6 -0
  70. package/elastictranscoder/preset.js.map +1 -1
  71. package/glue/catalogTable.d.ts +3 -3
  72. package/glue/crawler.d.ts +6 -0
  73. package/glue/crawler.js.map +1 -1
  74. package/guardduty/organizationConfiguration.d.ts +6 -0
  75. package/guardduty/organizationConfiguration.js.map +1 -1
  76. package/identitystore/user.d.ts +6 -0
  77. package/identitystore/user.js.map +1 -1
  78. package/imagebuilder/component.d.ts +3 -3
  79. package/imagebuilder/containerRecipe.d.ts +3 -3
  80. package/imagebuilder/imageRecipe.d.ts +3 -3
  81. package/index.d.ts +2 -1
  82. package/index.js +4 -2
  83. package/index.js.map +1 -1
  84. package/kendra/experience.d.ts +6 -0
  85. package/kendra/experience.js.map +1 -1
  86. package/keyspaces/keyspace.d.ts +0 -6
  87. package/keyspaces/keyspace.js.map +1 -1
  88. package/lb/loadBalancer.d.ts +24 -0
  89. package/lb/loadBalancer.js +2 -0
  90. package/lb/loadBalancer.js.map +1 -1
  91. package/lightsail/containerService.d.ts +3 -0
  92. package/lightsail/containerService.js +3 -0
  93. package/lightsail/containerService.js.map +1 -1
  94. package/mskconnect/customPlugin.d.ts +0 -6
  95. package/mskconnect/customPlugin.js.map +1 -1
  96. package/networkmonitor/probe.d.ts +0 -6
  97. package/networkmonitor/probe.js.map +1 -1
  98. package/notifications/channelAssociation.d.ts +93 -0
  99. package/notifications/channelAssociation.js +90 -0
  100. package/notifications/channelAssociation.js.map +1 -0
  101. package/notifications/contactsEmailContact.d.ts +150 -0
  102. package/notifications/contactsEmailContact.js +88 -0
  103. package/notifications/contactsEmailContact.js.map +1 -0
  104. package/notifications/eventRule.d.ts +151 -0
  105. package/notifications/eventRule.js +112 -0
  106. package/notifications/eventRule.js.map +1 -0
  107. package/notifications/index.d.ts +15 -0
  108. package/notifications/index.js +42 -0
  109. package/notifications/index.js.map +1 -0
  110. package/notifications/notificationConfiguration.d.ts +186 -0
  111. package/notifications/notificationConfiguration.js +108 -0
  112. package/notifications/notificationConfiguration.js.map +1 -0
  113. package/notifications/notificationHub.d.ts +75 -0
  114. package/notifications/notificationHub.js +76 -0
  115. package/notifications/notificationHub.js.map +1 -0
  116. package/package.json +2 -2
  117. package/quicksight/accountSettings.d.ts +107 -0
  118. package/quicksight/accountSettings.js +85 -0
  119. package/quicksight/accountSettings.js.map +1 -0
  120. package/quicksight/accountSubscription.d.ts +9 -9
  121. package/quicksight/dataSet.d.ts +6 -6
  122. package/quicksight/dataSource.d.ts +1 -1
  123. package/quicksight/dataSource.js +1 -1
  124. package/quicksight/index.d.ts +3 -0
  125. package/quicksight/index.js +6 -1
  126. package/quicksight/index.js.map +1 -1
  127. package/rds/cluster.d.ts +18 -0
  128. package/rds/cluster.js.map +1 -1
  129. package/rds/clusterActivityStream.d.ts +9 -0
  130. package/rds/clusterActivityStream.js.map +1 -1
  131. package/rds/clusterEndpoint.d.ts +9 -0
  132. package/rds/clusterEndpoint.js.map +1 -1
  133. package/rds/clusterInstance.d.ts +9 -0
  134. package/rds/clusterInstance.js.map +1 -1
  135. package/rds/getSnapshot.d.ts +4 -0
  136. package/rds/getSnapshot.js.map +1 -1
  137. package/rds/instance.d.ts +9 -0
  138. package/rds/instance.js.map +1 -1
  139. package/rds/integration.d.ts +6 -0
  140. package/rds/integration.js.map +1 -1
  141. package/rds/shardGroup.d.ts +6 -0
  142. package/rds/shardGroup.js.map +1 -1
  143. package/redshift/cluster.d.ts +9 -0
  144. package/redshift/cluster.js.map +1 -1
  145. package/redshift/integration.d.ts +6 -0
  146. package/redshift/integration.js.map +1 -1
  147. package/route53domains/domain.d.ts +6 -0
  148. package/route53domains/domain.js.map +1 -1
  149. package/route53domains/registeredDomain.d.ts +6 -0
  150. package/route53domains/registeredDomain.js.map +1 -1
  151. package/route53recoveryreadiness/recoveryGroup.d.ts +3 -3
  152. package/s3/bucketObject.d.ts +6 -0
  153. package/s3/bucketObject.js.map +1 -1
  154. package/s3/bucketObjectv2.d.ts +6 -0
  155. package/s3/bucketObjectv2.js.map +1 -1
  156. package/ses/configurationSet.d.ts +3 -3
  157. package/shield/getProtection.d.ts +4 -0
  158. package/shield/getProtection.js.map +1 -1
  159. package/ssmcontacts/contact.d.ts +2 -0
  160. package/ssmcontacts/contact.js +2 -0
  161. package/ssmcontacts/contact.js.map +1 -1
  162. package/ssmcontacts/contactChannel.d.ts +2 -0
  163. package/ssmcontacts/contactChannel.js +2 -0
  164. package/ssmcontacts/contactChannel.js.map +1 -1
  165. package/ssmincidents/replicationSet.d.ts +54 -0
  166. package/ssmincidents/replicationSet.js.map +1 -1
  167. package/ssmincidents/responsePlan.d.ts +65 -0
  168. package/ssmincidents/responsePlan.js +2 -0
  169. package/ssmincidents/responsePlan.js.map +1 -1
  170. package/storagegateway/gateway.d.ts +6 -0
  171. package/storagegateway/gateway.js.map +1 -1
  172. package/types/input.d.ts +102 -6
  173. package/types/input.js.map +1 -1
  174. package/types/output.d.ts +113 -6
  175. package/types/output.js.map +1 -1
  176. package/verifiedpermissions/getPolicyStore.d.ts +6 -0
  177. package/verifiedpermissions/getPolicyStore.js.map +1 -1
  178. package/verifiedpermissions/policyStore.d.ts +34 -0
  179. package/verifiedpermissions/policyStore.js +4 -0
  180. package/verifiedpermissions/policyStore.js.map +1 -1
  181. package/vpc/securityGroupEgressRule.d.ts +6 -0
  182. package/vpc/securityGroupEgressRule.js.map +1 -1
  183. package/workspaces/index.d.ts +9 -0
  184. package/workspaces/index.js +16 -1
  185. package/workspaces/index.js.map +1 -1
  186. package/workspaces/webBrowserSettings.d.ts +190 -0
  187. package/workspaces/webBrowserSettings.js +120 -0
  188. package/workspaces/webBrowserSettings.js.map +1 -0
  189. package/workspaces/webNetworkSettings.d.ts +181 -0
  190. package/workspaces/webNetworkSettings.js +123 -0
  191. package/workspaces/webNetworkSettings.js.map +1 -0
  192. package/workspaces/webUserSettings.d.ts +342 -0
  193. package/workspaces/webUserSettings.js +192 -0
  194. package/workspaces/webUserSettings.js.map +1 -0
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.WebBrowserSettings = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS WorkSpaces Web Browser Settings resource.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const example = new aws.workspaces.WebBrowserSettings("example", {browserPolicy: JSON.stringify({
20
+ * AdditionalSettings: {
21
+ * DownloadsSettings: {
22
+ * Behavior: "DISABLE",
23
+ * },
24
+ * },
25
+ * })});
26
+ * ```
27
+ *
28
+ * ### With All Arguments
29
+ *
30
+ * ```typescript
31
+ * import * as pulumi from "@pulumi/pulumi";
32
+ * import * as aws from "@pulumi/aws";
33
+ *
34
+ * const example = new aws.kms.Key("example", {
35
+ * description: "KMS key for WorkSpaces Web Browser Settings",
36
+ * deletionWindowInDays: 7,
37
+ * });
38
+ * const exampleWebBrowserSettings = new aws.workspaces.WebBrowserSettings("example", {
39
+ * browserPolicy: JSON.stringify({
40
+ * chromePolicies: {
41
+ * DefaultDownloadDirectory: {
42
+ * value: "/home/as2-streaming-user/MyFiles/TemporaryFiles1",
43
+ * },
44
+ * },
45
+ * }),
46
+ * customerManagedKey: example.arn,
47
+ * additionalEncryptionContext: {
48
+ * Environment: "Production",
49
+ * },
50
+ * tags: {
51
+ * Name: "example-browser-settings",
52
+ * },
53
+ * });
54
+ * ```
55
+ *
56
+ * ## Import
57
+ *
58
+ * Using `pulumi import`, import WorkSpaces Web Browser Settings using the `browser_settings_arn`. For example:
59
+ *
60
+ * ```sh
61
+ * $ pulumi import aws:workspaces/webBrowserSettings:WebBrowserSettings example arn:aws:workspacesweb:us-west-2:123456789012:browsersettings/abcdef12345
62
+ * ```
63
+ */
64
+ class WebBrowserSettings extends pulumi.CustomResource {
65
+ /**
66
+ * Get an existing WebBrowserSettings resource's state with the given name, ID, and optional extra
67
+ * properties used to qualify the lookup.
68
+ *
69
+ * @param name The _unique_ name of the resulting resource.
70
+ * @param id The _unique_ provider ID of the resource to lookup.
71
+ * @param state Any extra arguments used during the lookup.
72
+ * @param opts Optional settings to control the behavior of the CustomResource.
73
+ */
74
+ static get(name, id, state, opts) {
75
+ return new WebBrowserSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
76
+ }
77
+ /**
78
+ * Returns true if the given object is an instance of WebBrowserSettings. This is designed to work even
79
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
80
+ */
81
+ static isInstance(obj) {
82
+ if (obj === undefined || obj === null) {
83
+ return false;
84
+ }
85
+ return obj['__pulumiType'] === WebBrowserSettings.__pulumiType;
86
+ }
87
+ constructor(name, argsOrState, opts) {
88
+ let resourceInputs = {};
89
+ opts = opts || {};
90
+ if (opts.id) {
91
+ const state = argsOrState;
92
+ resourceInputs["additionalEncryptionContext"] = state ? state.additionalEncryptionContext : undefined;
93
+ resourceInputs["associatedPortalArns"] = state ? state.associatedPortalArns : undefined;
94
+ resourceInputs["browserPolicy"] = state ? state.browserPolicy : undefined;
95
+ resourceInputs["browserSettingsArn"] = state ? state.browserSettingsArn : undefined;
96
+ resourceInputs["customerManagedKey"] = state ? state.customerManagedKey : undefined;
97
+ resourceInputs["tags"] = state ? state.tags : undefined;
98
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
99
+ }
100
+ else {
101
+ const args = argsOrState;
102
+ if ((!args || args.browserPolicy === undefined) && !opts.urn) {
103
+ throw new Error("Missing required property 'browserPolicy'");
104
+ }
105
+ resourceInputs["additionalEncryptionContext"] = args ? args.additionalEncryptionContext : undefined;
106
+ resourceInputs["browserPolicy"] = args ? args.browserPolicy : undefined;
107
+ resourceInputs["customerManagedKey"] = args ? args.customerManagedKey : undefined;
108
+ resourceInputs["tags"] = args ? args.tags : undefined;
109
+ resourceInputs["associatedPortalArns"] = undefined /*out*/;
110
+ resourceInputs["browserSettingsArn"] = undefined /*out*/;
111
+ resourceInputs["tagsAll"] = undefined /*out*/;
112
+ }
113
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
114
+ super(WebBrowserSettings.__pulumiType, name, resourceInputs, opts);
115
+ }
116
+ }
117
+ exports.WebBrowserSettings = WebBrowserSettings;
118
+ /** @internal */
119
+ WebBrowserSettings.__pulumiType = 'aws:workspaces/webBrowserSettings:WebBrowserSettings';
120
+ //# sourceMappingURL=webBrowserSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webBrowserSettings.js","sourceRoot":"","sources":["../../workspaces/webBrowserSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA2CD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,6BAA6B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACtG,cAAc,CAAC,sBAAsB,CAAC,GAA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,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,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,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAhGL,gDAiGC;AAnFG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
@@ -0,0 +1,181 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * 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.
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
+ * import * as std from "@pulumi/std";
13
+ *
14
+ * const example = new aws.ec2.Vpc("example", {cidrBlock: "10.0.0.0/16"});
15
+ * const exampleSubnet: aws.ec2.Subnet[] = [];
16
+ * for (const range = {value: 0}; range.value < 2; range.value++) {
17
+ * exampleSubnet.push(new aws.ec2.Subnet(`example-${range.value}`, {
18
+ * vpcId: example.id,
19
+ * cidrBlock: example.cidrBlock.apply(cidrBlock => std.cidrsubnetOutput({
20
+ * input: cidrBlock,
21
+ * newbits: 8,
22
+ * netnum: range.value,
23
+ * })).apply(invoke => invoke.result),
24
+ * availabilityZone: available.names[range.value],
25
+ * }));
26
+ * }
27
+ * const example1: aws.ec2.SecurityGroup[] = [];
28
+ * for (const range = {value: 0}; range.value < 2; range.value++) {
29
+ * example1.push(new aws.ec2.SecurityGroup(`example1-${range.value}`, {
30
+ * vpcId: example.id,
31
+ * name: `example-sg-${range.value}$`,
32
+ * }));
33
+ * }
34
+ * const exampleWebNetworkSettings = new aws.workspaces.WebNetworkSettings("example", {
35
+ * vpcId: example.id,
36
+ * subnetIds: [
37
+ * exampleSubnet[0].id,
38
+ * exampleSubnet[1].id,
39
+ * ],
40
+ * securityGroupIds: [
41
+ * exampleAwsSecurityGroup[0].id,
42
+ * exampleAwsSecurityGroup[1].id,
43
+ * ],
44
+ * });
45
+ * ```
46
+ *
47
+ * ## Import
48
+ *
49
+ * Using `pulumi import`, import WorkSpaces Web Network Settings using the `network_settings_arn`. For example:
50
+ *
51
+ * ```sh
52
+ * $ pulumi import aws:workspaces/webNetworkSettings:WebNetworkSettings example arn:aws:workspacesweb:us-west-2:123456789012:networksettings/abcdef12345
53
+ * ```
54
+ */
55
+ export declare class WebNetworkSettings extends pulumi.CustomResource {
56
+ /**
57
+ * Get an existing WebNetworkSettings 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: string, id: pulumi.Input<pulumi.ID>, state?: WebNetworkSettingsState, opts?: pulumi.CustomResourceOptions): WebNetworkSettings;
66
+ /**
67
+ * Returns true if the given object is an instance of WebNetworkSettings. 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: any): obj is WebNetworkSettings;
71
+ /**
72
+ * List of web portal ARNs associated with the network settings.
73
+ */
74
+ readonly associatedPortalArns: pulumi.Output<string[]>;
75
+ /**
76
+ * ARN of the network settings resource.
77
+ */
78
+ readonly networkSettingsArn: pulumi.Output<string>;
79
+ /**
80
+ * One or more security groups used to control access from streaming instances to your VPC.
81
+ */
82
+ readonly securityGroupIds: pulumi.Output<string[]>;
83
+ /**
84
+ * The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two subnet ids must be specified.
85
+ */
86
+ readonly subnetIds: pulumi.Output<string[]>;
87
+ /**
88
+ * 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.
89
+ */
90
+ readonly tags: pulumi.Output<{
91
+ [key: string]: string;
92
+ } | undefined>;
93
+ /**
94
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
95
+ *
96
+ * @deprecated Please use `tags` instead.
97
+ */
98
+ readonly tagsAll: pulumi.Output<{
99
+ [key: string]: string;
100
+ }>;
101
+ /**
102
+ * The VPC that streaming instances will connect to.
103
+ *
104
+ * The following arguments are optional:
105
+ */
106
+ readonly vpcId: pulumi.Output<string>;
107
+ /**
108
+ * Create a WebNetworkSettings resource with the given unique name, arguments, and options.
109
+ *
110
+ * @param name The _unique_ name of the resource.
111
+ * @param args The arguments to use to populate this resource's properties.
112
+ * @param opts A bag of options that control this resource's behavior.
113
+ */
114
+ constructor(name: string, args: WebNetworkSettingsArgs, opts?: pulumi.CustomResourceOptions);
115
+ }
116
+ /**
117
+ * Input properties used for looking up and filtering WebNetworkSettings resources.
118
+ */
119
+ export interface WebNetworkSettingsState {
120
+ /**
121
+ * List of web portal ARNs associated with the network settings.
122
+ */
123
+ associatedPortalArns?: pulumi.Input<pulumi.Input<string>[]>;
124
+ /**
125
+ * ARN of the network settings resource.
126
+ */
127
+ networkSettingsArn?: pulumi.Input<string>;
128
+ /**
129
+ * One or more security groups used to control access from streaming instances to your VPC.
130
+ */
131
+ securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
132
+ /**
133
+ * The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two subnet ids must be specified.
134
+ */
135
+ subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
136
+ /**
137
+ * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
138
+ */
139
+ tags?: pulumi.Input<{
140
+ [key: string]: pulumi.Input<string>;
141
+ }>;
142
+ /**
143
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
144
+ *
145
+ * @deprecated Please use `tags` instead.
146
+ */
147
+ tagsAll?: pulumi.Input<{
148
+ [key: string]: pulumi.Input<string>;
149
+ }>;
150
+ /**
151
+ * The VPC that streaming instances will connect to.
152
+ *
153
+ * The following arguments are optional:
154
+ */
155
+ vpcId?: pulumi.Input<string>;
156
+ }
157
+ /**
158
+ * The set of arguments for constructing a WebNetworkSettings resource.
159
+ */
160
+ export interface WebNetworkSettingsArgs {
161
+ /**
162
+ * One or more security groups used to control access from streaming instances to your VPC.
163
+ */
164
+ securityGroupIds: pulumi.Input<pulumi.Input<string>[]>;
165
+ /**
166
+ * The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two subnet ids must be specified.
167
+ */
168
+ subnetIds: pulumi.Input<pulumi.Input<string>[]>;
169
+ /**
170
+ * 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.
171
+ */
172
+ tags?: pulumi.Input<{
173
+ [key: string]: pulumi.Input<string>;
174
+ }>;
175
+ /**
176
+ * The VPC that streaming instances will connect to.
177
+ *
178
+ * The following arguments are optional:
179
+ */
180
+ vpcId: pulumi.Input<string>;
181
+ }
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.WebNetworkSettings = 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 exampleWebNetworkSettings = new aws.workspaces.WebNetworkSettings("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:workspaces/webNetworkSettings:WebNetworkSettings example arn:aws:workspacesweb:us-west-2:123456789012:networksettings/abcdef12345
59
+ * ```
60
+ */
61
+ class WebNetworkSettings extends pulumi.CustomResource {
62
+ /**
63
+ * Get an existing WebNetworkSettings 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 WebNetworkSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
73
+ }
74
+ /**
75
+ * Returns true if the given object is an instance of WebNetworkSettings. 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'] === WebNetworkSettings.__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
+ super(WebNetworkSettings.__pulumiType, name, resourceInputs, opts);
118
+ }
119
+ }
120
+ exports.WebNetworkSettings = WebNetworkSettings;
121
+ /** @internal */
122
+ WebNetworkSettings.__pulumiType = 'aws:workspaces/webNetworkSettings:WebNetworkSettings';
123
+ //# sourceMappingURL=webNetworkSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webNetworkSettings.js","sourceRoot":"","sources":["../../workspaces/webNetworkSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA2CD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CA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