@pulumi/akamai 2.7.0 → 2.9.0-alpha.1648236111

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 (115) hide show
  1. package/appSecActivations.d.ts +2 -0
  2. package/appSecActivations.js +2 -0
  3. package/appSecActivations.js.map +1 -1
  4. package/appSecAdvancedSettingsEvasivePathMatch.d.ts +99 -0
  5. package/appSecAdvancedSettingsEvasivePathMatch.js +86 -0
  6. package/appSecAdvancedSettingsEvasivePathMatch.js.map +1 -0
  7. package/cloudletsApplicationLoadBalancer.d.ts +170 -0
  8. package/cloudletsApplicationLoadBalancer.js +124 -0
  9. package/cloudletsApplicationLoadBalancer.js.map +1 -0
  10. package/cloudletsApplicationLoadBalancerActivation.d.ts +101 -0
  11. package/cloudletsApplicationLoadBalancerActivation.js +85 -0
  12. package/cloudletsApplicationLoadBalancerActivation.js.map +1 -0
  13. package/cloudletsPolicy.d.ts +193 -0
  14. package/cloudletsPolicy.js +132 -0
  15. package/cloudletsPolicy.js.map +1 -0
  16. package/cloudletsPolicyActivation.d.ts +144 -0
  17. package/cloudletsPolicyActivation.js +121 -0
  18. package/cloudletsPolicyActivation.js.map +1 -0
  19. package/cpCode.d.ts +0 -9
  20. package/cpCode.js.map +1 -1
  21. package/datastream.d.ts +340 -0
  22. package/datastream.js +143 -0
  23. package/datastream.js.map +1 -0
  24. package/edgeHostName.d.ts +0 -9
  25. package/edgeHostName.js.map +1 -1
  26. package/edgeKv.d.ts +137 -0
  27. package/edgeKv.js +99 -0
  28. package/edgeKv.js.map +1 -0
  29. package/edgeWorker.d.ts +116 -0
  30. package/edgeWorker.js +69 -0
  31. package/edgeWorker.js.map +1 -0
  32. package/edgeWorkersActivation.d.ts +100 -0
  33. package/edgeWorkersActivation.js +84 -0
  34. package/edgeWorkersActivation.js.map +1 -0
  35. package/getAppSecAdvancedSettingsEvasivePathMatch.d.ts +75 -0
  36. package/getAppSecAdvancedSettingsEvasivePathMatch.js +50 -0
  37. package/getAppSecAdvancedSettingsEvasivePathMatch.js.map +1 -0
  38. package/getAppSecTuningRecommendations.d.ts +85 -0
  39. package/getAppSecTuningRecommendations.js +56 -0
  40. package/getAppSecTuningRecommendations.js.map +1 -0
  41. package/getCloudletsApiPrioritizationMatchRule.d.ts +75 -0
  42. package/getCloudletsApiPrioritizationMatchRule.js +65 -0
  43. package/getCloudletsApiPrioritizationMatchRule.js.map +1 -0
  44. package/getCloudletsApplicationLoadBalancer.d.ts +112 -0
  45. package/getCloudletsApplicationLoadBalancer.js +82 -0
  46. package/getCloudletsApplicationLoadBalancer.js.map +1 -0
  47. package/getCloudletsApplicationLoadBalancerMatchRule.d.ts +76 -0
  48. package/getCloudletsApplicationLoadBalancerMatchRule.js +66 -0
  49. package/getCloudletsApplicationLoadBalancerMatchRule.js.map +1 -0
  50. package/getCloudletsAudienceSegmentationMatchRule.d.ts +76 -0
  51. package/getCloudletsAudienceSegmentationMatchRule.js +66 -0
  52. package/getCloudletsAudienceSegmentationMatchRule.js.map +1 -0
  53. package/getCloudletsEdgeRedirectorMatchRule.d.ts +77 -0
  54. package/getCloudletsEdgeRedirectorMatchRule.js +67 -0
  55. package/getCloudletsEdgeRedirectorMatchRule.js.map +1 -0
  56. package/getCloudletsForwardRewriteMatchRule.d.ts +73 -0
  57. package/getCloudletsForwardRewriteMatchRule.js +63 -0
  58. package/getCloudletsForwardRewriteMatchRule.js.map +1 -0
  59. package/getCloudletsPhasedReleaseMatchRule.d.ts +80 -0
  60. package/getCloudletsPhasedReleaseMatchRule.js +70 -0
  61. package/getCloudletsPhasedReleaseMatchRule.js.map +1 -0
  62. package/getCloudletsPolicy.d.ts +106 -0
  63. package/getCloudletsPolicy.js +75 -0
  64. package/getCloudletsPolicy.js.map +1 -0
  65. package/getCloudletsVisitorPrioritizationMatchRule.d.ts +72 -0
  66. package/getCloudletsVisitorPrioritizationMatchRule.js +62 -0
  67. package/getCloudletsVisitorPrioritizationMatchRule.js.map +1 -0
  68. package/getContracts.d.ts +1 -1
  69. package/getContracts.js +1 -1
  70. package/getCpCode.d.ts +0 -46
  71. package/getCpCode.js +0 -46
  72. package/getCpCode.js.map +1 -1
  73. package/getDatastreamActivationHistory.d.ts +61 -0
  74. package/getDatastreamActivationHistory.js +50 -0
  75. package/getDatastreamActivationHistory.js.map +1 -0
  76. package/getDatastreamDatasetFields.d.ts +59 -0
  77. package/getDatastreamDatasetFields.js +49 -0
  78. package/getDatastreamDatasetFields.js.map +1 -0
  79. package/getEdgeWorkersPropertyRules.d.ts +32 -0
  80. package/getEdgeWorkersPropertyRules.js +22 -0
  81. package/getEdgeWorkersPropertyRules.js.map +1 -0
  82. package/getEdgeWorkersResourceTier.d.ts +63 -0
  83. package/getEdgeWorkersResourceTier.js +45 -0
  84. package/getEdgeWorkersResourceTier.js.map +1 -0
  85. package/getGroups.d.ts +1 -1
  86. package/getGroups.js +1 -1
  87. package/getNetworkLists.d.ts +13 -4
  88. package/getNetworkLists.js +1 -0
  89. package/getNetworkLists.js.map +1 -1
  90. package/getProperties.d.ts +1 -1
  91. package/getProperties.js +1 -1
  92. package/getPropertyProducts.d.ts +1 -1
  93. package/getPropertyProducts.js +1 -1
  94. package/getPropertyRulesTemplate.d.ts +14 -2
  95. package/getPropertyRulesTemplate.js.map +1 -1
  96. package/index.d.ts +24 -3
  97. package/index.js +60 -11
  98. package/index.js.map +1 -1
  99. package/networkList.d.ts +2 -2
  100. package/networkListActivations.d.ts +9 -0
  101. package/networkListActivations.js.map +1 -1
  102. package/package.json +2 -2
  103. package/package.json.dev +2 -2
  104. package/property.d.ts +3 -3
  105. package/types/input.d.ts +1995 -1
  106. package/types/output.d.ts +1268 -4
  107. package/appSecEvalHostnames.d.ts +0 -92
  108. package/appSecEvalHostnames.js +0 -89
  109. package/appSecEvalHostnames.js.map +0 -1
  110. package/appSecEvalProtectHost.d.ts +0 -89
  111. package/appSecEvalProtectHost.js +0 -86
  112. package/appSecEvalProtectHost.js.map +0 -1
  113. package/getAppSecEvalHostnames.d.ts +0 -71
  114. package/getAppSecEvalHostnames.js +0 -59
  115. package/getAppSecEvalHostnames.js.map +0 -1
@@ -4,6 +4,8 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * Activates or deactivates a security configuration. Security configurations activated on the staging network can be used for testing and fine-tuning; security configurations activated on the production network are used to protect your actual websites.
6
6
  *
7
+ * Note that activation fails if the security configuration includes one or more invalid hostnames. You can find these names in the resulting activation error message. To activate the configuration, remove the invalid hosts and try again.
8
+ *
7
9
  * **Related API Endpoint**: [/appsec/v1/activations](https://developer.akamai.com/api/cloud_security/application_security/v1.html#postactivations)
8
10
  *
9
11
  * ## Example Usage
@@ -10,6 +10,8 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * Activates or deactivates a security configuration. Security configurations activated on the staging network can be used for testing and fine-tuning; security configurations activated on the production network are used to protect your actual websites.
12
12
  *
13
+ * Note that activation fails if the security configuration includes one or more invalid hostnames. You can find these names in the resulting activation error message. To activate the configuration, remove the invalid hosts and try again.
14
+ *
13
15
  * **Related API Endpoint**: [/appsec/v1/activations](https://developer.akamai.com/api/cloud_security/application_security/v1.html#postactivations)
14
16
  *
15
17
  * ## Example Usage
@@ -1 +1 @@
1
- {"version":3,"file":"appSecActivations.js","sourceRoot":"","sources":["../appSecActivations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IA0DxD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAA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AxFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CA0FC;AA5EG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
@@ -0,0 +1,99 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The `resourceAkamaiAppsecAdvancedSettingsEvasivePathMatch` resource allows you to enable, disable, or update the evasive path match setting for a configuration. This setting determines whether fuzzy matching is used to make URL matching more inclusive.
4
+ * This operation applies at the configuration level, and therefore applies to all policies within a configuration. You may override this setting for a particular policy by specifying the policy using the securityPolicyId parameter.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * Basic usage:
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as akamai from "@pulumi/akamai";
13
+ *
14
+ * const configuration = akamai.getAppSecConfiguration({
15
+ * name: _var.security_configuration,
16
+ * });
17
+ * const configEvasivePathMatch = new akamai.AppSecAdvancedSettingsEvasivePathMatch("configEvasivePathMatch", {
18
+ * configId: configuration.then(configuration => configuration.configId),
19
+ * enablePathMatch: true,
20
+ * });
21
+ * // USE CASE: user wants to override the evasive path match setting for a security policy
22
+ * const policyOverride = new akamai.AppSecAdvancedSettingsEvasivePathMatch("policyOverride", {
23
+ * configId: configuration.then(configuration => configuration.configId),
24
+ * securityPolicyId: _var.security_policy_id,
25
+ * enablePathMatch: true,
26
+ * });
27
+ * ```
28
+ */
29
+ export declare class AppSecAdvancedSettingsEvasivePathMatch extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing AppSecAdvancedSettingsEvasivePathMatch resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AppSecAdvancedSettingsEvasivePathMatchState, opts?: pulumi.CustomResourceOptions): AppSecAdvancedSettingsEvasivePathMatch;
40
+ /**
41
+ * Returns true if the given object is an instance of AppSecAdvancedSettingsEvasivePathMatch. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is AppSecAdvancedSettingsEvasivePathMatch;
45
+ /**
46
+ * The ID of the security configuration to use.
47
+ */
48
+ readonly configId: pulumi.Output<number>;
49
+ /**
50
+ * Whether to enable path match.
51
+ */
52
+ readonly enablePathMatch: pulumi.Output<boolean>;
53
+ /**
54
+ * The ID of a specific security policy to which the evasive path match setting should be applied. If not supplied, the indicated setting will be applied to all policies within the configuration.
55
+ */
56
+ readonly securityPolicyId: pulumi.Output<string | undefined>;
57
+ /**
58
+ * Create a AppSecAdvancedSettingsEvasivePathMatch resource with the given unique name, arguments, and options.
59
+ *
60
+ * @param name The _unique_ name of the resource.
61
+ * @param args The arguments to use to populate this resource's properties.
62
+ * @param opts A bag of options that control this resource's behavior.
63
+ */
64
+ constructor(name: string, args: AppSecAdvancedSettingsEvasivePathMatchArgs, opts?: pulumi.CustomResourceOptions);
65
+ }
66
+ /**
67
+ * Input properties used for looking up and filtering AppSecAdvancedSettingsEvasivePathMatch resources.
68
+ */
69
+ export interface AppSecAdvancedSettingsEvasivePathMatchState {
70
+ /**
71
+ * The ID of the security configuration to use.
72
+ */
73
+ configId?: pulumi.Input<number>;
74
+ /**
75
+ * Whether to enable path match.
76
+ */
77
+ enablePathMatch?: pulumi.Input<boolean>;
78
+ /**
79
+ * The ID of a specific security policy to which the evasive path match setting should be applied. If not supplied, the indicated setting will be applied to all policies within the configuration.
80
+ */
81
+ securityPolicyId?: pulumi.Input<string>;
82
+ }
83
+ /**
84
+ * The set of arguments for constructing a AppSecAdvancedSettingsEvasivePathMatch resource.
85
+ */
86
+ export interface AppSecAdvancedSettingsEvasivePathMatchArgs {
87
+ /**
88
+ * The ID of the security configuration to use.
89
+ */
90
+ configId: pulumi.Input<number>;
91
+ /**
92
+ * Whether to enable path match.
93
+ */
94
+ enablePathMatch: pulumi.Input<boolean>;
95
+ /**
96
+ * The ID of a specific security policy to which the evasive path match setting should be applied. If not supplied, the indicated setting will be applied to all policies within the configuration.
97
+ */
98
+ securityPolicyId?: pulumi.Input<string>;
99
+ }
@@ -0,0 +1,86 @@
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.AppSecAdvancedSettingsEvasivePathMatch = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The `resourceAkamaiAppsecAdvancedSettingsEvasivePathMatch` resource allows you to enable, disable, or update the evasive path match setting for a configuration. This setting determines whether fuzzy matching is used to make URL matching more inclusive.
10
+ * This operation applies at the configuration level, and therefore applies to all policies within a configuration. You may override this setting for a particular policy by specifying the policy using the securityPolicyId parameter.
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * Basic usage:
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as akamai from "@pulumi/akamai";
19
+ *
20
+ * const configuration = akamai.getAppSecConfiguration({
21
+ * name: _var.security_configuration,
22
+ * });
23
+ * const configEvasivePathMatch = new akamai.AppSecAdvancedSettingsEvasivePathMatch("configEvasivePathMatch", {
24
+ * configId: configuration.then(configuration => configuration.configId),
25
+ * enablePathMatch: true,
26
+ * });
27
+ * // USE CASE: user wants to override the evasive path match setting for a security policy
28
+ * const policyOverride = new akamai.AppSecAdvancedSettingsEvasivePathMatch("policyOverride", {
29
+ * configId: configuration.then(configuration => configuration.configId),
30
+ * securityPolicyId: _var.security_policy_id,
31
+ * enablePathMatch: true,
32
+ * });
33
+ * ```
34
+ */
35
+ class AppSecAdvancedSettingsEvasivePathMatch extends pulumi.CustomResource {
36
+ constructor(name, argsOrState, opts) {
37
+ let resourceInputs = {};
38
+ opts = opts || {};
39
+ if (opts.id) {
40
+ const state = argsOrState;
41
+ resourceInputs["configId"] = state ? state.configId : undefined;
42
+ resourceInputs["enablePathMatch"] = state ? state.enablePathMatch : undefined;
43
+ resourceInputs["securityPolicyId"] = state ? state.securityPolicyId : undefined;
44
+ }
45
+ else {
46
+ const args = argsOrState;
47
+ if ((!args || args.configId === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'configId'");
49
+ }
50
+ if ((!args || args.enablePathMatch === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'enablePathMatch'");
52
+ }
53
+ resourceInputs["configId"] = args ? args.configId : undefined;
54
+ resourceInputs["enablePathMatch"] = args ? args.enablePathMatch : undefined;
55
+ resourceInputs["securityPolicyId"] = args ? args.securityPolicyId : undefined;
56
+ }
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
58
+ super(AppSecAdvancedSettingsEvasivePathMatch.__pulumiType, name, resourceInputs, opts);
59
+ }
60
+ /**
61
+ * Get an existing AppSecAdvancedSettingsEvasivePathMatch resource's state with the given name, ID, and optional extra
62
+ * properties used to qualify the lookup.
63
+ *
64
+ * @param name The _unique_ name of the resulting resource.
65
+ * @param id The _unique_ provider ID of the resource to lookup.
66
+ * @param state Any extra arguments used during the lookup.
67
+ * @param opts Optional settings to control the behavior of the CustomResource.
68
+ */
69
+ static get(name, id, state, opts) {
70
+ return new AppSecAdvancedSettingsEvasivePathMatch(name, state, Object.assign(Object.assign({}, opts), { id: id }));
71
+ }
72
+ /**
73
+ * Returns true if the given object is an instance of AppSecAdvancedSettingsEvasivePathMatch. This is designed to work even
74
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
+ */
76
+ static isInstance(obj) {
77
+ if (obj === undefined || obj === null) {
78
+ return false;
79
+ }
80
+ return obj['__pulumiType'] === AppSecAdvancedSettingsEvasivePathMatch.__pulumiType;
81
+ }
82
+ }
83
+ exports.AppSecAdvancedSettingsEvasivePathMatch = AppSecAdvancedSettingsEvasivePathMatch;
84
+ /** @internal */
85
+ AppSecAdvancedSettingsEvasivePathMatch.__pulumiType = 'akamai:index/appSecAdvancedSettingsEvasivePathMatch:AppSecAdvancedSettingsEvasivePathMatch';
86
+ //# sourceMappingURL=appSecAdvancedSettingsEvasivePathMatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appSecAdvancedSettingsEvasivePathMatch.js","sourceRoot":"","sources":["../appSecAdvancedSettingsEvasivePathMatch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,sCAAuC,SAAQ,MAAM,CAAC,cAAc;IAiD7E,YAAY,IAAY,EAAE,WAAsG,EAAE,IAAmC;QACjK,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsE,CAAC;YACrF,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,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AAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7F,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,sCAAsC,CAAC,YAAY,CAAC;IACvF,CAAC;;AA1BL,wFAwEC;AA1DG,gBAAgB;AACO,mDAAY,GAAG,4FAA4F,CAAC"}
@@ -0,0 +1,170 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ /**
4
+ * Use the `akamai.CloudletsApplicationLoadBalancer` resource to create the Application Load Balancer Cloudlet configuration. The Application Load Balancer Cloudlet provides intelligent, scalable traffic management across physical, virtual, and cloud-hosted data centers without requiring the origin to send load feedback. This Cloudlet can automatically detect load conditions and route traffic to the optimal data source while maintaining custom routing policies and consistent visitor session behavior for your visitors.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * Basic usage:
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as akamai from "@pulumi/akamai";
13
+ *
14
+ * const example = new akamai.CloudletsApplicationLoadBalancer("example", {
15
+ * balancingType: "WEIGHTED",
16
+ * dataCenters: [{
17
+ * city: "Boston",
18
+ * cloudServerHostHeaderOverride: false,
19
+ * cloudService: true,
20
+ * continent: "NA",
21
+ * country: "US",
22
+ * hostname: "example-hostname",
23
+ * latitude: 102.78108,
24
+ * livenessHosts: ["example"],
25
+ * longitude: -116.07064,
26
+ * originId: "alb_test_1",
27
+ * percent: 100,
28
+ * stateOrProvince: "MA",
29
+ * }],
30
+ * description: "application_load_balancer description",
31
+ * livenessSettings: {
32
+ * additionalHeaders: {
33
+ * additional_headers: "123",
34
+ * },
35
+ * hostHeader: "header",
36
+ * interval: 10,
37
+ * path: "/status",
38
+ * port: 1234,
39
+ * protocol: "HTTP",
40
+ * requestString: "test_request_string",
41
+ * responseString: "test_response_string",
42
+ * timeout: 60,
43
+ * },
44
+ * originId: "alb_test_1",
45
+ * });
46
+ * ```
47
+ *
48
+ * ## Import
49
+ *
50
+ * Basic usagehcl resource "akamai_cloudlets_application_load_balancer" "example" {
51
+ *
52
+ * # (resource arguments)
53
+ *
54
+ * } You can import your Akamai Application Load Balancer configuration using an origin ID. For example
55
+ *
56
+ * ```sh
57
+ * $ pulumi import akamai:index/cloudletsApplicationLoadBalancer:CloudletsApplicationLoadBalancer example alb_test_1
58
+ * ```
59
+ */
60
+ export declare class CloudletsApplicationLoadBalancer extends pulumi.CustomResource {
61
+ /**
62
+ * Get an existing CloudletsApplicationLoadBalancer resource's state with the given name, ID, and optional extra
63
+ * properties used to qualify the lookup.
64
+ *
65
+ * @param name The _unique_ name of the resulting resource.
66
+ * @param id The _unique_ provider ID of the resource to lookup.
67
+ * @param state Any extra arguments used during the lookup.
68
+ * @param opts Optional settings to control the behavior of the CustomResource.
69
+ */
70
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CloudletsApplicationLoadBalancerState, opts?: pulumi.CustomResourceOptions): CloudletsApplicationLoadBalancer;
71
+ /**
72
+ * Returns true if the given object is an instance of CloudletsApplicationLoadBalancer. This is designed to work even
73
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
74
+ */
75
+ static isInstance(obj: any): obj is CloudletsApplicationLoadBalancer;
76
+ /**
77
+ * The type of load balancing being performed, either `WEIGHTED` or `PERFORMANCE`.
78
+ */
79
+ readonly balancingType: pulumi.Output<string | undefined>;
80
+ /**
81
+ * Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of `CUSTOMER` or `NETSTORAGE` can be used as data centers in an Application Load Balancer configuration.
82
+ */
83
+ readonly dataCenters: pulumi.Output<outputs.CloudletsApplicationLoadBalancerDataCenter[]>;
84
+ /**
85
+ * The description of the load balancing configuration.
86
+ */
87
+ readonly description: pulumi.Output<string | undefined>;
88
+ /**
89
+ * Specifies the health of each load balanced data center defined in the data center list.
90
+ */
91
+ readonly livenessSettings: pulumi.Output<outputs.CloudletsApplicationLoadBalancerLivenessSettings | undefined>;
92
+ /**
93
+ * The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either `CUSTOMER` or `NET_STORAGE` set in the `origin` behavior. See property rules for more information.
94
+ */
95
+ readonly originId: pulumi.Output<string>;
96
+ /**
97
+ * The version number of the load balancing configuration.
98
+ */
99
+ readonly version: pulumi.Output<number>;
100
+ /**
101
+ * A list of warnings that occurred during the activation of the load balancing configuration.
102
+ */
103
+ readonly warnings: pulumi.Output<string>;
104
+ /**
105
+ * Create a CloudletsApplicationLoadBalancer resource with the given unique name, arguments, and options.
106
+ *
107
+ * @param name The _unique_ name of the resource.
108
+ * @param args The arguments to use to populate this resource's properties.
109
+ * @param opts A bag of options that control this resource's behavior.
110
+ */
111
+ constructor(name: string, args: CloudletsApplicationLoadBalancerArgs, opts?: pulumi.CustomResourceOptions);
112
+ }
113
+ /**
114
+ * Input properties used for looking up and filtering CloudletsApplicationLoadBalancer resources.
115
+ */
116
+ export interface CloudletsApplicationLoadBalancerState {
117
+ /**
118
+ * The type of load balancing being performed, either `WEIGHTED` or `PERFORMANCE`.
119
+ */
120
+ balancingType?: pulumi.Input<string>;
121
+ /**
122
+ * Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of `CUSTOMER` or `NETSTORAGE` can be used as data centers in an Application Load Balancer configuration.
123
+ */
124
+ dataCenters?: pulumi.Input<pulumi.Input<inputs.CloudletsApplicationLoadBalancerDataCenter>[]>;
125
+ /**
126
+ * The description of the load balancing configuration.
127
+ */
128
+ description?: pulumi.Input<string>;
129
+ /**
130
+ * Specifies the health of each load balanced data center defined in the data center list.
131
+ */
132
+ livenessSettings?: pulumi.Input<inputs.CloudletsApplicationLoadBalancerLivenessSettings>;
133
+ /**
134
+ * The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either `CUSTOMER` or `NET_STORAGE` set in the `origin` behavior. See property rules for more information.
135
+ */
136
+ originId?: pulumi.Input<string>;
137
+ /**
138
+ * The version number of the load balancing configuration.
139
+ */
140
+ version?: pulumi.Input<number>;
141
+ /**
142
+ * A list of warnings that occurred during the activation of the load balancing configuration.
143
+ */
144
+ warnings?: pulumi.Input<string>;
145
+ }
146
+ /**
147
+ * The set of arguments for constructing a CloudletsApplicationLoadBalancer resource.
148
+ */
149
+ export interface CloudletsApplicationLoadBalancerArgs {
150
+ /**
151
+ * The type of load balancing being performed, either `WEIGHTED` or `PERFORMANCE`.
152
+ */
153
+ balancingType?: pulumi.Input<string>;
154
+ /**
155
+ * Specifies the Conditional Origins being used as data centers for an Application Load Balancer implementation. Only Conditional Origins with an origin type of `CUSTOMER` or `NETSTORAGE` can be used as data centers in an Application Load Balancer configuration.
156
+ */
157
+ dataCenters: pulumi.Input<pulumi.Input<inputs.CloudletsApplicationLoadBalancerDataCenter>[]>;
158
+ /**
159
+ * The description of the load balancing configuration.
160
+ */
161
+ description?: pulumi.Input<string>;
162
+ /**
163
+ * Specifies the health of each load balanced data center defined in the data center list.
164
+ */
165
+ livenessSettings?: pulumi.Input<inputs.CloudletsApplicationLoadBalancerLivenessSettings>;
166
+ /**
167
+ * The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either `CUSTOMER` or `NET_STORAGE` set in the `origin` behavior. See property rules for more information.
168
+ */
169
+ originId: pulumi.Input<string>;
170
+ }
@@ -0,0 +1,124 @@
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.CloudletsApplicationLoadBalancer = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use the `akamai.CloudletsApplicationLoadBalancer` resource to create the Application Load Balancer Cloudlet configuration. The Application Load Balancer Cloudlet provides intelligent, scalable traffic management across physical, virtual, and cloud-hosted data centers without requiring the origin to send load feedback. This Cloudlet can automatically detect load conditions and route traffic to the optimal data source while maintaining custom routing policies and consistent visitor session behavior for your visitors.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Basic usage:
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as akamai from "@pulumi/akamai";
18
+ *
19
+ * const example = new akamai.CloudletsApplicationLoadBalancer("example", {
20
+ * balancingType: "WEIGHTED",
21
+ * dataCenters: [{
22
+ * city: "Boston",
23
+ * cloudServerHostHeaderOverride: false,
24
+ * cloudService: true,
25
+ * continent: "NA",
26
+ * country: "US",
27
+ * hostname: "example-hostname",
28
+ * latitude: 102.78108,
29
+ * livenessHosts: ["example"],
30
+ * longitude: -116.07064,
31
+ * originId: "alb_test_1",
32
+ * percent: 100,
33
+ * stateOrProvince: "MA",
34
+ * }],
35
+ * description: "application_load_balancer description",
36
+ * livenessSettings: {
37
+ * additionalHeaders: {
38
+ * additional_headers: "123",
39
+ * },
40
+ * hostHeader: "header",
41
+ * interval: 10,
42
+ * path: "/status",
43
+ * port: 1234,
44
+ * protocol: "HTTP",
45
+ * requestString: "test_request_string",
46
+ * responseString: "test_response_string",
47
+ * timeout: 60,
48
+ * },
49
+ * originId: "alb_test_1",
50
+ * });
51
+ * ```
52
+ *
53
+ * ## Import
54
+ *
55
+ * Basic usagehcl resource "akamai_cloudlets_application_load_balancer" "example" {
56
+ *
57
+ * # (resource arguments)
58
+ *
59
+ * } You can import your Akamai Application Load Balancer configuration using an origin ID. For example
60
+ *
61
+ * ```sh
62
+ * $ pulumi import akamai:index/cloudletsApplicationLoadBalancer:CloudletsApplicationLoadBalancer example alb_test_1
63
+ * ```
64
+ */
65
+ class CloudletsApplicationLoadBalancer extends pulumi.CustomResource {
66
+ constructor(name, argsOrState, opts) {
67
+ let resourceInputs = {};
68
+ opts = opts || {};
69
+ if (opts.id) {
70
+ const state = argsOrState;
71
+ resourceInputs["balancingType"] = state ? state.balancingType : undefined;
72
+ resourceInputs["dataCenters"] = state ? state.dataCenters : undefined;
73
+ resourceInputs["description"] = state ? state.description : undefined;
74
+ resourceInputs["livenessSettings"] = state ? state.livenessSettings : undefined;
75
+ resourceInputs["originId"] = state ? state.originId : undefined;
76
+ resourceInputs["version"] = state ? state.version : undefined;
77
+ resourceInputs["warnings"] = state ? state.warnings : undefined;
78
+ }
79
+ else {
80
+ const args = argsOrState;
81
+ if ((!args || args.dataCenters === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'dataCenters'");
83
+ }
84
+ if ((!args || args.originId === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'originId'");
86
+ }
87
+ resourceInputs["balancingType"] = args ? args.balancingType : undefined;
88
+ resourceInputs["dataCenters"] = args ? args.dataCenters : undefined;
89
+ resourceInputs["description"] = args ? args.description : undefined;
90
+ resourceInputs["livenessSettings"] = args ? args.livenessSettings : undefined;
91
+ resourceInputs["originId"] = args ? args.originId : undefined;
92
+ resourceInputs["version"] = undefined /*out*/;
93
+ resourceInputs["warnings"] = undefined /*out*/;
94
+ }
95
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
96
+ super(CloudletsApplicationLoadBalancer.__pulumiType, name, resourceInputs, opts);
97
+ }
98
+ /**
99
+ * Get an existing CloudletsApplicationLoadBalancer resource's state with the given name, ID, and optional extra
100
+ * properties used to qualify the lookup.
101
+ *
102
+ * @param name The _unique_ name of the resulting resource.
103
+ * @param id The _unique_ provider ID of the resource to lookup.
104
+ * @param state Any extra arguments used during the lookup.
105
+ * @param opts Optional settings to control the behavior of the CustomResource.
106
+ */
107
+ static get(name, id, state, opts) {
108
+ return new CloudletsApplicationLoadBalancer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
109
+ }
110
+ /**
111
+ * Returns true if the given object is an instance of CloudletsApplicationLoadBalancer. This is designed to work even
112
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
113
+ */
114
+ static isInstance(obj) {
115
+ if (obj === undefined || obj === null) {
116
+ return false;
117
+ }
118
+ return obj['__pulumiType'] === CloudletsApplicationLoadBalancer.__pulumiType;
119
+ }
120
+ }
121
+ exports.CloudletsApplicationLoadBalancer = CloudletsApplicationLoadBalancer;
122
+ /** @internal */
123
+ CloudletsApplicationLoadBalancer.__pulumiType = 'akamai:index/cloudletsApplicationLoadBalancer:CloudletsApplicationLoadBalancer';
124
+ //# sourceMappingURL=cloudletsApplicationLoadBalancer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudletsApplicationLoadBalancer.js","sourceRoot":"","sources":["../cloudletsApplicationLoadBalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,gCAAiC,SAAQ,MAAM,CAAC,cAAc;IAiEvE,YAAY,IAAY,EAAE,WAA0F,EAAE,IAAmC;QACrJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgE,CAAC;YAC/E,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,kBA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S,CAAC;YAC9E,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,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,gCAAgC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrF,CAAC;IA9FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6C,EAAE,IAAmC;QAC3I,OAAO,IAAI,gCAAgC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvF,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,gCAAgC,CAAC,YAAY,CAAC;IACjF,CAAC;;AA1BL,4EAgGC;AAlFG,gBAAgB;AACO,6CAAY,GAAG,gFAAgF,CAAC"}
@@ -0,0 +1,101 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use the `akamai.CloudletsApplicationLoadBalancerActivation` resource to activate the Application Load Balancer Cloudlet configuration. An activation deploys the configuration version to either the Akamai staging or production network. You can activate a specific version multiple times if you need to.
4
+ *
5
+ * Before activating on production, activate on staging first. This way you can detect any problems in staging before your changes progress to production.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * Basic usage:
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as akamai from "@pulumi/akamai";
14
+ *
15
+ * const example = new akamai.CloudletsApplicationLoadBalancerActivation("example", {
16
+ * originId: "alb_test_1",
17
+ * network: "staging",
18
+ * version: 1,
19
+ * });
20
+ * export const status = example.status;
21
+ * ```
22
+ */
23
+ export declare class CloudletsApplicationLoadBalancerActivation extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing CloudletsApplicationLoadBalancerActivation resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param state Any extra arguments used during the lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CloudletsApplicationLoadBalancerActivationState, opts?: pulumi.CustomResourceOptions): CloudletsApplicationLoadBalancerActivation;
34
+ /**
35
+ * Returns true if the given object is an instance of CloudletsApplicationLoadBalancerActivation. 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: any): obj is CloudletsApplicationLoadBalancerActivation;
39
+ /**
40
+ * The network you want to activate the policy version on, either `staging`, `stag`, and `s` for the Staging network, or `production`, `prod`, and `p` for the Production network. All values are case insensitive.
41
+ */
42
+ readonly network: pulumi.Output<string>;
43
+ /**
44
+ * The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either `CUSTOMER` or `NET_STORAGE` set in the `origin` behavior. See property rules for more information.
45
+ */
46
+ readonly originId: pulumi.Output<string>;
47
+ /**
48
+ * The activation status for this load balancing configuration.
49
+ */
50
+ readonly status: pulumi.Output<string>;
51
+ /**
52
+ * The Application Load Balancer Cloudlet configuration version you want to activate.
53
+ */
54
+ readonly version: pulumi.Output<number>;
55
+ /**
56
+ * Create a CloudletsApplicationLoadBalancerActivation resource with the given unique name, arguments, and options.
57
+ *
58
+ * @param name The _unique_ name of the resource.
59
+ * @param args The arguments to use to populate this resource's properties.
60
+ * @param opts A bag of options that control this resource's behavior.
61
+ */
62
+ constructor(name: string, args: CloudletsApplicationLoadBalancerActivationArgs, opts?: pulumi.CustomResourceOptions);
63
+ }
64
+ /**
65
+ * Input properties used for looking up and filtering CloudletsApplicationLoadBalancerActivation resources.
66
+ */
67
+ export interface CloudletsApplicationLoadBalancerActivationState {
68
+ /**
69
+ * The network you want to activate the policy version on, either `staging`, `stag`, and `s` for the Staging network, or `production`, `prod`, and `p` for the Production network. All values are case insensitive.
70
+ */
71
+ network?: pulumi.Input<string>;
72
+ /**
73
+ * The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either `CUSTOMER` or `NET_STORAGE` set in the `origin` behavior. See property rules for more information.
74
+ */
75
+ originId?: pulumi.Input<string>;
76
+ /**
77
+ * The activation status for this load balancing configuration.
78
+ */
79
+ status?: pulumi.Input<string>;
80
+ /**
81
+ * The Application Load Balancer Cloudlet configuration version you want to activate.
82
+ */
83
+ version?: pulumi.Input<number>;
84
+ }
85
+ /**
86
+ * The set of arguments for constructing a CloudletsApplicationLoadBalancerActivation resource.
87
+ */
88
+ export interface CloudletsApplicationLoadBalancerActivationArgs {
89
+ /**
90
+ * The network you want to activate the policy version on, either `staging`, `stag`, and `s` for the Staging network, or `production`, `prod`, and `p` for the Production network. All values are case insensitive.
91
+ */
92
+ network: pulumi.Input<string>;
93
+ /**
94
+ * The identifier of an origin that represents the data center. The Conditional Origin, which is defined in Property Manager, must have an origin type of either `CUSTOMER` or `NET_STORAGE` set in the `origin` behavior. See property rules for more information.
95
+ */
96
+ originId: pulumi.Input<string>;
97
+ /**
98
+ * The Application Load Balancer Cloudlet configuration version you want to activate.
99
+ */
100
+ version: pulumi.Input<number>;
101
+ }