@pulumi/aws 7.9.0-alpha.1760704543 → 7.9.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 (140) 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/resourcePolicy.d.ts +214 -0
  5. package/amp/resourcePolicy.js +182 -0
  6. package/amp/resourcePolicy.js.map +1 -0
  7. package/bedrock/agentcoreAgentRuntime.d.ts +356 -0
  8. package/bedrock/agentcoreAgentRuntime.js +198 -0
  9. package/bedrock/agentcoreAgentRuntime.js.map +1 -0
  10. package/bedrock/agentcoreAgentRuntimeEndpoint.d.ts +173 -0
  11. package/bedrock/agentcoreAgentRuntimeEndpoint.js +96 -0
  12. package/bedrock/agentcoreAgentRuntimeEndpoint.js.map +1 -0
  13. package/bedrock/agentcoreApiKeyCredentialProvider.d.ts +133 -0
  14. package/bedrock/agentcoreApiKeyCredentialProvider.js +84 -0
  15. package/bedrock/agentcoreApiKeyCredentialProvider.js.map +1 -0
  16. package/bedrock/agentcoreBrowser.d.ts +231 -0
  17. package/bedrock/agentcoreBrowser.js +135 -0
  18. package/bedrock/agentcoreBrowser.js.map +1 -0
  19. package/bedrock/agentcoreCodeInterpreter.d.ts +211 -0
  20. package/bedrock/agentcoreCodeInterpreter.js +125 -0
  21. package/bedrock/agentcoreCodeInterpreter.js.map +1 -0
  22. package/bedrock/agentcoreGateway.d.ts +317 -0
  23. package/bedrock/agentcoreGateway.js +178 -0
  24. package/bedrock/agentcoreGateway.js.map +1 -0
  25. package/bedrock/agentcoreGatewayTarget.d.ts +294 -0
  26. package/bedrock/agentcoreGatewayTarget.js +233 -0
  27. package/bedrock/agentcoreGatewayTarget.js.map +1 -0
  28. package/bedrock/index.d.ts +21 -0
  29. package/bedrock/index.js +36 -1
  30. package/bedrock/index.js.map +1 -1
  31. package/cloudwatch/metricAlarm.d.ts +39 -7
  32. package/cloudwatch/metricAlarm.js +36 -4
  33. package/cloudwatch/metricAlarm.js.map +1 -1
  34. package/codebuild/project.d.ts +15 -0
  35. package/codebuild/project.js +2 -0
  36. package/codebuild/project.js.map +1 -1
  37. package/datazone/environment.d.ts +10 -6
  38. package/datazone/environment.js +1 -3
  39. package/datazone/environment.js.map +1 -1
  40. package/dms/endpoint.d.ts +3 -3
  41. package/ec2/getVpnConnection.d.ts +173 -0
  42. package/ec2/getVpnConnection.js +92 -0
  43. package/ec2/getVpnConnection.js.map +1 -0
  44. package/ec2/index.d.ts +3 -0
  45. package/ec2/index.js +6 -3
  46. package/ec2/index.js.map +1 -1
  47. package/ec2/route.d.ts +0 -8
  48. package/ec2/route.js +0 -8
  49. package/ec2/route.js.map +1 -1
  50. package/ec2/routeTable.d.ts +6 -6
  51. package/ec2/routeTable.js +0 -6
  52. package/ec2/routeTable.js.map +1 -1
  53. package/ec2transitgateway/getDirectConnectGatewayAttachment.d.ts +4 -0
  54. package/ec2transitgateway/getDirectConnectGatewayAttachment.js +4 -0
  55. package/ec2transitgateway/getDirectConnectGatewayAttachment.js.map +1 -1
  56. package/ec2transitgateway/getVpcAttachment.d.ts +4 -0
  57. package/ec2transitgateway/getVpcAttachment.js +4 -0
  58. package/ec2transitgateway/getVpcAttachment.js.map +1 -1
  59. package/ec2transitgateway/routeTableAssociation.d.ts +57 -0
  60. package/ec2transitgateway/routeTableAssociation.js +57 -0
  61. package/ec2transitgateway/routeTableAssociation.js.map +1 -1
  62. package/ec2transitgateway/routeTablePropagation.d.ts +57 -0
  63. package/ec2transitgateway/routeTablePropagation.js +57 -0
  64. package/ec2transitgateway/routeTablePropagation.js.map +1 -1
  65. package/emrserverless/application.d.ts +12 -0
  66. package/emrserverless/application.js +2 -0
  67. package/emrserverless/application.js.map +1 -1
  68. package/index.d.ts +2 -1
  69. package/index.js +3 -1
  70. package/index.js.map +1 -1
  71. package/lakeformation/permissions.d.ts +14 -10
  72. package/lakeformation/permissions.js +14 -10
  73. package/lakeformation/permissions.js.map +1 -1
  74. package/odb/cloudAutonomousVmCluster.d.ts +6 -6
  75. package/odb/cloudAutonomousVmCluster.js +6 -6
  76. package/odb/cloudExadataInfrastructure.d.ts +2 -2
  77. package/odb/cloudVmCluster.d.ts +6 -6
  78. package/odb/cloudVmCluster.js +6 -6
  79. package/odb/getCloudAutonomousVmClusters.d.ts +68 -0
  80. package/odb/getCloudAutonomousVmClusters.js +56 -0
  81. package/odb/getCloudAutonomousVmClusters.js.map +1 -0
  82. package/odb/getCloudExadataInfrastructures.d.ts +68 -0
  83. package/odb/getCloudExadataInfrastructures.js +56 -0
  84. package/odb/getCloudExadataInfrastructures.js.map +1 -0
  85. package/odb/getCloudVmClusters.d.ts +68 -0
  86. package/odb/getCloudVmClusters.js +56 -0
  87. package/odb/getCloudVmClusters.js.map +1 -0
  88. package/odb/getDbSystemShapes.d.ts +1 -1
  89. package/odb/getNetworkPeeringConnection.d.ts +3 -3
  90. package/odb/getNetworkPeeringConnections.d.ts +77 -0
  91. package/odb/getNetworkPeeringConnections.js +58 -0
  92. package/odb/getNetworkPeeringConnections.js.map +1 -0
  93. package/odb/getNetworks.d.ts +64 -0
  94. package/odb/getNetworks.js +52 -0
  95. package/odb/getNetworks.js.map +1 -0
  96. package/odb/index.d.ts +15 -0
  97. package/odb/index.js +16 -1
  98. package/odb/index.js.map +1 -1
  99. package/package.json +2 -2
  100. package/quicksight/accountSubscription.d.ts +37 -1
  101. package/quicksight/accountSubscription.js +7 -1
  102. package/quicksight/accountSubscription.js.map +1 -1
  103. package/rds/getGlobalCluster.d.ts +123 -0
  104. package/rds/getGlobalCluster.js +56 -0
  105. package/rds/getGlobalCluster.js.map +1 -0
  106. package/rds/index.d.ts +3 -0
  107. package/rds/index.js +5 -2
  108. package/rds/index.js.map +1 -1
  109. package/servicediscovery/service.d.ts +4 -4
  110. package/servicediscovery/service.js +1 -1
  111. package/ssm/defaultPatchBaseline.d.ts +3 -0
  112. package/ssm/defaultPatchBaseline.js.map +1 -1
  113. package/ssmcontacts/contact.d.ts +9 -3
  114. package/ssmcontacts/contact.js +9 -3
  115. package/ssmcontacts/contact.js.map +1 -1
  116. package/transfer/hostKey.d.ts +151 -0
  117. package/transfer/hostKey.js +83 -0
  118. package/transfer/hostKey.js.map +1 -0
  119. package/transfer/index.d.ts +9 -0
  120. package/transfer/index.js +16 -1
  121. package/transfer/index.js.map +1 -1
  122. package/transfer/webApp.d.ts +239 -0
  123. package/transfer/webApp.js +157 -0
  124. package/transfer/webApp.js.map +1 -0
  125. package/transfer/webAppCustomization.d.ts +97 -0
  126. package/transfer/webAppCustomization.js +73 -0
  127. package/transfer/webAppCustomization.js.map +1 -0
  128. package/types/input.d.ts +997 -2
  129. package/types/input.js.map +1 -1
  130. package/types/output.d.ts +1342 -160
  131. package/types/output.js.map +1 -1
  132. package/vpclattice/resourceGateway.d.ts +12 -0
  133. package/vpclattice/resourceGateway.js +2 -0
  134. package/vpclattice/resourceGateway.js.map +1 -1
  135. package/vpn/getConnection.d.ts +175 -0
  136. package/vpn/getConnection.js +96 -0
  137. package/vpn/getConnection.js.map +1 -0
  138. package/vpn/index.d.ts +3 -0
  139. package/vpn/index.js +10 -0
  140. package/vpn/index.js.map +1 -0
@@ -0,0 +1,157 @@
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.WebApp = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS Transfer Family Web App.
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 current = aws.getCallerIdentity({});
20
+ * const currentGetRegion = aws.getRegion({});
21
+ * const currentGetPartition = aws.getPartition({});
22
+ * const example = aws.ssoadmin.getInstances({});
23
+ * const assumeRoleTransfer = current.then(current => aws.iam.getPolicyDocument({
24
+ * statements: [{
25
+ * effect: "Allow",
26
+ * actions: [
27
+ * "sts:AssumeRole",
28
+ * "sts:SetContext",
29
+ * ],
30
+ * principals: [{
31
+ * type: "Service",
32
+ * identifiers: ["transfer.amazonaws.com"],
33
+ * }],
34
+ * conditions: [{
35
+ * test: "StringEquals",
36
+ * values: [current.accountId],
37
+ * variable: "aws:SourceAccount",
38
+ * }],
39
+ * }],
40
+ * }));
41
+ * const exampleRole = new aws.iam.Role("example", {
42
+ * name: "example",
43
+ * assumeRolePolicy: assumeRoleTransfer.then(assumeRoleTransfer => assumeRoleTransfer.json),
44
+ * });
45
+ * const exampleGetPolicyDocument = Promise.all([currentGetPartition, currentGetRegion, current, current, current]).then(([currentGetPartition, currentGetRegion, current, current1, current2]) => aws.iam.getPolicyDocument({
46
+ * statements: [
47
+ * {
48
+ * effect: "Allow",
49
+ * actions: [
50
+ * "s3:GetDataAccess",
51
+ * "s3:ListCallerAccessGrants",
52
+ * ],
53
+ * resources: [`arn:${currentGetPartition.partition}:s3:${currentGetRegion.name}:${current.accountId}:access-grants/*`],
54
+ * conditions: [{
55
+ * test: "StringEquals",
56
+ * values: [current1.accountId],
57
+ * variable: "s3:ResourceAccount",
58
+ * }],
59
+ * },
60
+ * {
61
+ * effect: "Allow",
62
+ * actions: ["s3:ListAccessGrantsInstances"],
63
+ * resources: ["*"],
64
+ * conditions: [{
65
+ * test: "StringEquals",
66
+ * values: [current2.accountId],
67
+ * variable: "s3:ResourceAccount",
68
+ * }],
69
+ * },
70
+ * ],
71
+ * }));
72
+ * const exampleRolePolicy = new aws.iam.RolePolicy("example", {
73
+ * policy: exampleGetPolicyDocument.then(exampleGetPolicyDocument => exampleGetPolicyDocument.json),
74
+ * role: exampleRole.name,
75
+ * });
76
+ * const exampleWebApp = new aws.transfer.WebApp("example", {
77
+ * identityProviderDetails: {
78
+ * identityCenterConfig: {
79
+ * instanceArn: example.then(example => example.arns?.[0]),
80
+ * role: exampleRole.arn,
81
+ * },
82
+ * },
83
+ * webAppUnits: [{
84
+ * provisioned: 1,
85
+ * }],
86
+ * tags: {
87
+ * Name: "test",
88
+ * },
89
+ * });
90
+ * ```
91
+ *
92
+ * ## Import
93
+ *
94
+ * Using `pulumi import`, import Transfer Family Web App using the `web_app_id`. For example:
95
+ *
96
+ * ```sh
97
+ * $ pulumi import aws:transfer/webApp:WebApp example web_app-id-12345678
98
+ * ```
99
+ */
100
+ class WebApp extends pulumi.CustomResource {
101
+ /**
102
+ * Get an existing WebApp resource's state with the given name, ID, and optional extra
103
+ * properties used to qualify the lookup.
104
+ *
105
+ * @param name The _unique_ name of the resulting resource.
106
+ * @param id The _unique_ provider ID of the resource to lookup.
107
+ * @param state Any extra arguments used during the lookup.
108
+ * @param opts Optional settings to control the behavior of the CustomResource.
109
+ */
110
+ static get(name, id, state, opts) {
111
+ return new WebApp(name, state, { ...opts, id: id });
112
+ }
113
+ /**
114
+ * Returns true if the given object is an instance of WebApp. This is designed to work even
115
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
116
+ */
117
+ static isInstance(obj) {
118
+ if (obj === undefined || obj === null) {
119
+ return false;
120
+ }
121
+ return obj['__pulumiType'] === WebApp.__pulumiType;
122
+ }
123
+ constructor(name, argsOrState, opts) {
124
+ let resourceInputs = {};
125
+ opts = opts || {};
126
+ if (opts.id) {
127
+ const state = argsOrState;
128
+ resourceInputs["accessEndpoint"] = state?.accessEndpoint;
129
+ resourceInputs["arn"] = state?.arn;
130
+ resourceInputs["identityProviderDetails"] = state?.identityProviderDetails;
131
+ resourceInputs["region"] = state?.region;
132
+ resourceInputs["tags"] = state?.tags;
133
+ resourceInputs["tagsAll"] = state?.tagsAll;
134
+ resourceInputs["webAppEndpointPolicy"] = state?.webAppEndpointPolicy;
135
+ resourceInputs["webAppId"] = state?.webAppId;
136
+ resourceInputs["webAppUnits"] = state?.webAppUnits;
137
+ }
138
+ else {
139
+ const args = argsOrState;
140
+ resourceInputs["accessEndpoint"] = args?.accessEndpoint;
141
+ resourceInputs["identityProviderDetails"] = args?.identityProviderDetails;
142
+ resourceInputs["region"] = args?.region;
143
+ resourceInputs["tags"] = args?.tags;
144
+ resourceInputs["webAppEndpointPolicy"] = args?.webAppEndpointPolicy;
145
+ resourceInputs["webAppUnits"] = args?.webAppUnits;
146
+ resourceInputs["arn"] = undefined /*out*/;
147
+ resourceInputs["tagsAll"] = undefined /*out*/;
148
+ resourceInputs["webAppId"] = undefined /*out*/;
149
+ }
150
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
151
+ super(WebApp.__pulumiType, name, resourceInputs, opts);
152
+ }
153
+ }
154
+ exports.WebApp = WebApp;
155
+ /** @internal */
156
+ WebApp.__pulumiType = 'aws:transfer/webApp:WebApp';
157
+ //# sourceMappingURL=webApp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webApp.js","sourceRoot":"","sources":["../../transfer/webApp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,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,O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,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AArGL,wBAsGC;AAxFG,gBAAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
@@ -0,0 +1,97 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource for managing an AWS Transfer Family Web App Customization.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ## Import
8
+ *
9
+ * Using `pulumi import`, import Transfer Family Web App Customization using the `web_app_id`. For example:
10
+ *
11
+ * ```sh
12
+ * $ pulumi import aws:transfer/webAppCustomization:WebAppCustomization example webapp-12345678901234567890
13
+ * ```
14
+ */
15
+ export declare class WebAppCustomization extends pulumi.CustomResource {
16
+ /**
17
+ * Get an existing WebAppCustomization resource's state with the given name, ID, and optional extra
18
+ * properties used to qualify the lookup.
19
+ *
20
+ * @param name The _unique_ name of the resulting resource.
21
+ * @param id The _unique_ provider ID of the resource to lookup.
22
+ * @param state Any extra arguments used during the lookup.
23
+ * @param opts Optional settings to control the behavior of the CustomResource.
24
+ */
25
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WebAppCustomizationState, opts?: pulumi.CustomResourceOptions): WebAppCustomization;
26
+ /**
27
+ * Returns true if the given object is an instance of WebAppCustomization. This is designed to work even
28
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
+ */
30
+ static isInstance(obj: any): obj is WebAppCustomization;
31
+ readonly faviconFile: pulumi.Output<string>;
32
+ readonly logoFile: pulumi.Output<string>;
33
+ /**
34
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
35
+ */
36
+ readonly region: pulumi.Output<string>;
37
+ /**
38
+ * Title of the web app. Must be between 1 and 100 characters in length (an empty string is not allowed). To remove the title, omit this argument from your configuration.
39
+ */
40
+ readonly title: pulumi.Output<string | undefined>;
41
+ /**
42
+ * The identifier of the web app to be customized.
43
+ *
44
+ * The following arguments are optional:
45
+ */
46
+ readonly webAppId: pulumi.Output<string>;
47
+ /**
48
+ * Create a WebAppCustomization resource with the given unique name, arguments, and options.
49
+ *
50
+ * @param name The _unique_ name of the resource.
51
+ * @param args The arguments to use to populate this resource's properties.
52
+ * @param opts A bag of options that control this resource's behavior.
53
+ */
54
+ constructor(name: string, args: WebAppCustomizationArgs, opts?: pulumi.CustomResourceOptions);
55
+ }
56
+ /**
57
+ * Input properties used for looking up and filtering WebAppCustomization resources.
58
+ */
59
+ export interface WebAppCustomizationState {
60
+ faviconFile?: pulumi.Input<string>;
61
+ logoFile?: pulumi.Input<string>;
62
+ /**
63
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
64
+ */
65
+ region?: pulumi.Input<string>;
66
+ /**
67
+ * Title of the web app. Must be between 1 and 100 characters in length (an empty string is not allowed). To remove the title, omit this argument from your configuration.
68
+ */
69
+ title?: pulumi.Input<string>;
70
+ /**
71
+ * The identifier of the web app to be customized.
72
+ *
73
+ * The following arguments are optional:
74
+ */
75
+ webAppId?: pulumi.Input<string>;
76
+ }
77
+ /**
78
+ * The set of arguments for constructing a WebAppCustomization resource.
79
+ */
80
+ export interface WebAppCustomizationArgs {
81
+ faviconFile?: pulumi.Input<string>;
82
+ logoFile?: pulumi.Input<string>;
83
+ /**
84
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
85
+ */
86
+ region?: pulumi.Input<string>;
87
+ /**
88
+ * Title of the web app. Must be between 1 and 100 characters in length (an empty string is not allowed). To remove the title, omit this argument from your configuration.
89
+ */
90
+ title?: pulumi.Input<string>;
91
+ /**
92
+ * The identifier of the web app to be customized.
93
+ *
94
+ * The following arguments are optional:
95
+ */
96
+ webAppId: pulumi.Input<string>;
97
+ }
@@ -0,0 +1,73 @@
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.WebAppCustomization = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS Transfer Family Web App Customization.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ## Import
14
+ *
15
+ * Using `pulumi import`, import Transfer Family Web App Customization using the `web_app_id`. For example:
16
+ *
17
+ * ```sh
18
+ * $ pulumi import aws:transfer/webAppCustomization:WebAppCustomization example webapp-12345678901234567890
19
+ * ```
20
+ */
21
+ class WebAppCustomization extends pulumi.CustomResource {
22
+ /**
23
+ * Get an existing WebAppCustomization resource's state with the given name, ID, and optional extra
24
+ * properties used to qualify the lookup.
25
+ *
26
+ * @param name The _unique_ name of the resulting resource.
27
+ * @param id The _unique_ provider ID of the resource to lookup.
28
+ * @param state Any extra arguments used during the lookup.
29
+ * @param opts Optional settings to control the behavior of the CustomResource.
30
+ */
31
+ static get(name, id, state, opts) {
32
+ return new WebAppCustomization(name, state, { ...opts, id: id });
33
+ }
34
+ /**
35
+ * Returns true if the given object is an instance of WebAppCustomization. This is designed to work even
36
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
37
+ */
38
+ static isInstance(obj) {
39
+ if (obj === undefined || obj === null) {
40
+ return false;
41
+ }
42
+ return obj['__pulumiType'] === WebAppCustomization.__pulumiType;
43
+ }
44
+ constructor(name, argsOrState, opts) {
45
+ let resourceInputs = {};
46
+ opts = opts || {};
47
+ if (opts.id) {
48
+ const state = argsOrState;
49
+ resourceInputs["faviconFile"] = state?.faviconFile;
50
+ resourceInputs["logoFile"] = state?.logoFile;
51
+ resourceInputs["region"] = state?.region;
52
+ resourceInputs["title"] = state?.title;
53
+ resourceInputs["webAppId"] = state?.webAppId;
54
+ }
55
+ else {
56
+ const args = argsOrState;
57
+ if (args?.webAppId === undefined && !opts.urn) {
58
+ throw new Error("Missing required property 'webAppId'");
59
+ }
60
+ resourceInputs["faviconFile"] = args?.faviconFile;
61
+ resourceInputs["logoFile"] = args?.logoFile;
62
+ resourceInputs["region"] = args?.region;
63
+ resourceInputs["title"] = args?.title;
64
+ resourceInputs["webAppId"] = args?.webAppId;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ super(WebAppCustomization.__pulumiType, name, resourceInputs, opts);
68
+ }
69
+ }
70
+ exports.WebAppCustomization = WebAppCustomization;
71
+ /** @internal */
72
+ WebAppCustomization.__pulumiType = 'aws:transfer/webAppCustomization:WebAppCustomization';
73
+ //# sourceMappingURL=webAppCustomization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webAppCustomization.js","sourceRoot":"","sources":["../../transfer/webAppCustomization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CA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