@pulumi/aws 5.19.0 → 5.20.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 (201) hide show
  1. package/acm/getCertificate.d.ts +2 -2
  2. package/acmpca/certificate.d.ts +5 -1
  3. package/acmpca/certificate.js +5 -1
  4. package/acmpca/certificate.js.map +1 -1
  5. package/acmpca/certificateAuthority.d.ts +29 -0
  6. package/acmpca/certificateAuthority.js +19 -0
  7. package/acmpca/certificateAuthority.js.map +1 -1
  8. package/acmpca/getCertificateAuthority.d.ts +4 -0
  9. package/acmpca/getCertificateAuthority.js.map +1 -1
  10. package/alb/targetGroup.d.ts +12 -0
  11. package/alb/targetGroup.js +2 -0
  12. package/alb/targetGroup.js.map +1 -1
  13. package/applicationloadbalancing/targetGroup.d.ts +12 -0
  14. package/applicationloadbalancing/targetGroup.js +2 -0
  15. package/applicationloadbalancing/targetGroup.js.map +1 -1
  16. package/apprunner/index.d.ts +3 -0
  17. package/apprunner/index.js +6 -1
  18. package/apprunner/index.js.map +1 -1
  19. package/apprunner/vpcConnector.d.ts +9 -0
  20. package/apprunner/vpcConnector.js +2 -0
  21. package/apprunner/vpcConnector.js.map +1 -1
  22. package/apprunner/vpcIngressConnection.d.ts +145 -0
  23. package/apprunner/vpcIngressConnection.js +98 -0
  24. package/apprunner/vpcIngressConnection.js.map +1 -0
  25. package/batch/computeEnvironment.d.ts +12 -0
  26. package/batch/computeEnvironment.js +2 -0
  27. package/batch/computeEnvironment.js.map +1 -1
  28. package/budgets/budget.d.ts +51 -5
  29. package/budgets/budget.js +26 -6
  30. package/budgets/budget.js.map +1 -1
  31. package/cloudfront/distribution.d.ts +1 -1
  32. package/cloudfront/distribution.js +1 -1
  33. package/cloudfront/getCachePolicy.d.ts +13 -0
  34. package/cloudfront/getCachePolicy.js +13 -0
  35. package/cloudfront/getCachePolicy.js.map +1 -1
  36. package/cloudfront/getOriginAccessIdentity.d.ts +16 -0
  37. package/cloudfront/getOriginAccessIdentity.js +16 -0
  38. package/cloudfront/getOriginAccessIdentity.js.map +1 -1
  39. package/cloudfront/getOriginRequestPolicy.d.ts +13 -2
  40. package/cloudfront/getOriginRequestPolicy.js +13 -2
  41. package/cloudfront/getOriginRequestPolicy.js.map +1 -1
  42. package/cloudfront/getResponseHeadersPolicy.d.ts +13 -0
  43. package/cloudfront/getResponseHeadersPolicy.js +13 -0
  44. package/cloudfront/getResponseHeadersPolicy.js.map +1 -1
  45. package/cognito/userPool.d.ts +12 -0
  46. package/cognito/userPool.js +2 -0
  47. package/cognito/userPool.js.map +1 -1
  48. package/cognito/userPoolClient.d.ts +12 -0
  49. package/cognito/userPoolClient.js +2 -0
  50. package/cognito/userPoolClient.js.map +1 -1
  51. package/connect/getInstanceStorageConfig.d.ts +70 -0
  52. package/connect/getInstanceStorageConfig.js +40 -0
  53. package/connect/getInstanceStorageConfig.js.map +1 -0
  54. package/connect/index.d.ts +6 -0
  55. package/connect/index.js +9 -1
  56. package/connect/index.js.map +1 -1
  57. package/connect/phoneNumber.d.ts +195 -0
  58. package/connect/phoneNumber.js +131 -0
  59. package/connect/phoneNumber.js.map +1 -0
  60. package/directconnect/getRouterConfiguration.d.ts +67 -0
  61. package/directconnect/getRouterConfiguration.js +37 -0
  62. package/directconnect/getRouterConfiguration.js.map +1 -0
  63. package/directconnect/index.d.ts +3 -0
  64. package/directconnect/index.js +4 -1
  65. package/directconnect/index.js.map +1 -1
  66. package/ec2/amiCopy.d.ts +8 -0
  67. package/ec2/amiCopy.js +2 -0
  68. package/ec2/amiCopy.js.map +1 -1
  69. package/ec2/amiFromInstance.d.ts +8 -0
  70. package/ec2/amiFromInstance.js +2 -0
  71. package/ec2/amiFromInstance.js.map +1 -1
  72. package/ec2/capacityReservation.d.ts +12 -0
  73. package/ec2/capacityReservation.js +2 -0
  74. package/ec2/capacityReservation.js.map +1 -1
  75. package/ec2/defaultNetworkAcl.d.ts +3 -3
  76. package/ec2/flowLog.d.ts +52 -4
  77. package/ec2/flowLog.js +49 -1
  78. package/ec2/flowLog.js.map +1 -1
  79. package/ec2/networkInterfaceAttachment.d.ts +8 -0
  80. package/ec2/networkInterfaceAttachment.js +8 -0
  81. package/ec2/networkInterfaceAttachment.js.map +1 -1
  82. package/elasticache/globalReplicationGroup.d.ts +24 -0
  83. package/elasticache/globalReplicationGroup.js +4 -0
  84. package/elasticache/globalReplicationGroup.js.map +1 -1
  85. package/elasticloadbalancingv2/targetGroup.d.ts +12 -0
  86. package/elasticloadbalancingv2/targetGroup.js +2 -0
  87. package/elasticloadbalancingv2/targetGroup.js.map +1 -1
  88. package/evidently/index.d.ts +3 -0
  89. package/evidently/index.js +6 -1
  90. package/evidently/index.js.map +1 -1
  91. package/evidently/project.d.ts +2 -2
  92. package/evidently/project.js +2 -2
  93. package/evidently/segment.d.ts +205 -0
  94. package/evidently/segment.js +127 -0
  95. package/evidently/segment.js.map +1 -0
  96. package/fsx/fileCache.d.ts +263 -0
  97. package/fsx/fileCache.js +141 -0
  98. package/fsx/fileCache.js.map +1 -0
  99. package/fsx/index.d.ts +3 -0
  100. package/fsx/index.js +6 -1
  101. package/fsx/index.js.map +1 -1
  102. package/inspector2/enabler.d.ts +80 -0
  103. package/inspector2/enabler.js +86 -0
  104. package/inspector2/enabler.js.map +1 -0
  105. package/inspector2/index.d.ts +3 -0
  106. package/inspector2/index.js +6 -1
  107. package/inspector2/index.js.map +1 -1
  108. package/lb/targetGroup.d.ts +12 -0
  109. package/lb/targetGroup.js +2 -0
  110. package/lb/targetGroup.js.map +1 -1
  111. package/lightsail/disk.d.ts +153 -0
  112. package/lightsail/disk.js +99 -0
  113. package/lightsail/disk.js.map +1 -0
  114. package/lightsail/disk_attachment.d.ts +112 -0
  115. package/lightsail/disk_attachment.js +102 -0
  116. package/lightsail/disk_attachment.js.map +1 -0
  117. package/lightsail/index.d.ts +15 -0
  118. package/lightsail/index.js +26 -1
  119. package/lightsail/index.js.map +1 -1
  120. package/lightsail/lbCertificate.d.ts +136 -0
  121. package/lightsail/lbCertificate.js +96 -0
  122. package/lightsail/lbCertificate.js.map +1 -0
  123. package/lightsail/lbCertificateAttachment.d.ts +94 -0
  124. package/lightsail/lbCertificateAttachment.js +91 -0
  125. package/lightsail/lbCertificateAttachment.js.map +1 -0
  126. package/lightsail/lbStickinessPolicy.d.ts +103 -0
  127. package/lightsail/lbStickinessPolicy.js +93 -0
  128. package/lightsail/lbStickinessPolicy.js.map +1 -0
  129. package/networkmanager/getCoreNetworkPolicyDocument.d.ts +2 -2
  130. package/networkmanager/getCoreNetworkPolicyDocument.js +2 -2
  131. package/outposts/getAssets.d.ts +42 -1
  132. package/outposts/getAssets.js +25 -0
  133. package/outposts/getAssets.js.map +1 -1
  134. package/package.json +2 -2
  135. package/package.json.dev +2 -2
  136. package/rds/instance.d.ts +3 -6
  137. package/rds/instance.js.map +1 -1
  138. package/rds/parameterGroup.d.ts +0 -21
  139. package/rds/parameterGroup.js +0 -21
  140. package/rds/parameterGroup.js.map +1 -1
  141. package/route53/getTrafficPolicyDocument.d.ts +75 -0
  142. package/route53/getTrafficPolicyDocument.js +75 -0
  143. package/route53/getTrafficPolicyDocument.js.map +1 -1
  144. package/route53/index.d.ts +3 -0
  145. package/route53/index.js +6 -1
  146. package/route53/index.js.map +1 -1
  147. package/route53/resolverConfig.d.ts +96 -0
  148. package/route53/resolverConfig.js +87 -0
  149. package/route53/resolverConfig.js.map +1 -0
  150. package/sagemaker/domain.d.ts +35 -3
  151. package/sagemaker/domain.js +6 -0
  152. package/sagemaker/domain.js.map +1 -1
  153. package/sagemaker/index.d.ts +3 -0
  154. package/sagemaker/index.js +6 -1
  155. package/sagemaker/index.js.map +1 -1
  156. package/sagemaker/servicecatalogPortfolioStatus.d.ts +72 -0
  157. package/sagemaker/servicecatalogPortfolioStatus.js +76 -0
  158. package/sagemaker/servicecatalogPortfolioStatus.js.map +1 -0
  159. package/sagemaker/workforce.d.ts +14 -0
  160. package/sagemaker/workforce.js +2 -0
  161. package/sagemaker/workforce.js.map +1 -1
  162. package/secretsmanager/secret.d.ts +1 -1
  163. package/secretsmanager/secret.js +1 -1
  164. package/secretsmanager/secretRotation.d.ts +1 -1
  165. package/secretsmanager/secretRotation.js +1 -1
  166. package/sesv2/dedicatedIpAssignment.d.ts +82 -0
  167. package/sesv2/dedicatedIpAssignment.js +79 -0
  168. package/sesv2/dedicatedIpAssignment.js.map +1 -0
  169. package/sesv2/dedicatedIpPool.d.ts +23 -0
  170. package/sesv2/dedicatedIpPool.js +13 -0
  171. package/sesv2/dedicatedIpPool.js.map +1 -1
  172. package/sesv2/emailIdentity.d.ts +161 -0
  173. package/sesv2/emailIdentity.js +111 -0
  174. package/sesv2/emailIdentity.js.map +1 -0
  175. package/sesv2/emailIdentityFeedbackAttributes.d.ts +83 -0
  176. package/sesv2/emailIdentityFeedbackAttributes.js +77 -0
  177. package/sesv2/emailIdentityFeedbackAttributes.js.map +1 -0
  178. package/sesv2/getDedicatedIpPool.d.ts +4 -0
  179. package/sesv2/getDedicatedIpPool.js.map +1 -1
  180. package/sesv2/index.d.ts +9 -0
  181. package/sesv2/index.js +16 -1
  182. package/sesv2/index.js.map +1 -1
  183. package/sfn/stateMachine.d.ts +9 -6
  184. package/sfn/stateMachine.js +2 -0
  185. package/sfn/stateMachine.js.map +1 -1
  186. package/ssm/defaultPatchBaseline.d.ts +139 -0
  187. package/ssm/defaultPatchBaseline.js +88 -0
  188. package/ssm/defaultPatchBaseline.js.map +1 -0
  189. package/ssm/index.d.ts +3 -0
  190. package/ssm/index.js +6 -1
  191. package/ssm/index.js.map +1 -1
  192. package/ssm/parameter.d.ts +3 -3
  193. package/ssm/patchBaseline.d.ts +111 -32
  194. package/ssm/patchBaseline.js +6 -8
  195. package/ssm/patchBaseline.js.map +1 -1
  196. package/swf/domain.d.ts +1 -1
  197. package/transfer/workflow.d.ts +30 -0
  198. package/transfer/workflow.js +30 -0
  199. package/transfer/workflow.js.map +1 -1
  200. package/types/input.d.ts +422 -19
  201. package/types/output.d.ts +527 -19
@@ -0,0 +1,136 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Creates a Lightsail load balancer Certificate resource.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const testLb = new aws.lightsail.Lb("testLb", {
14
+ * healthCheckPath: "/",
15
+ * instancePort: 80,
16
+ * tags: {
17
+ * foo: "bar",
18
+ * },
19
+ * });
20
+ * const testLbCertificate = new aws.lightsail.LbCertificate("testLbCertificate", {
21
+ * lbName: testLb.id,
22
+ * domainName: "test.com",
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * `aws_lightsail_lb_certificate` can be imported by using the id attribute, e.g.,
29
+ *
30
+ * ```sh
31
+ * $ pulumi import aws:lightsail/lbCertificate:LbCertificate test example-load-balancer,example-load-balancer-certificate
32
+ * ```
33
+ */
34
+ export declare class LbCertificate extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing LbCertificate resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LbCertificateState, opts?: pulumi.CustomResourceOptions): LbCertificate;
45
+ /**
46
+ * Returns true if the given object is an instance of LbCertificate. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is LbCertificate;
50
+ /**
51
+ * The ARN of the lightsail certificate.
52
+ */
53
+ readonly arn: pulumi.Output<string>;
54
+ /**
55
+ * The timestamp when the instance was created.
56
+ */
57
+ readonly createdAt: pulumi.Output<string>;
58
+ /**
59
+ * The domain name (e.g., example.com) for your SSL/TLS certificate.
60
+ */
61
+ readonly domainName: pulumi.Output<string>;
62
+ readonly domainValidationRecords: pulumi.Output<outputs.lightsail.LbCertificateDomainValidationRecord[]>;
63
+ /**
64
+ * The load balancer name where you want to create the SSL/TLS certificate.
65
+ */
66
+ readonly lbName: pulumi.Output<string>;
67
+ /**
68
+ * The SSL/TLS certificate name.
69
+ */
70
+ readonly name: pulumi.Output<string>;
71
+ /**
72
+ * Set of domains that should be SANs in the issued certificate. `domainName` attribute is automatically added as a Subject Alternative Name.
73
+ */
74
+ readonly subjectAlternativeNames: pulumi.Output<string[]>;
75
+ readonly supportCode: pulumi.Output<string>;
76
+ /**
77
+ * Create a LbCertificate resource with the given unique name, arguments, and options.
78
+ *
79
+ * @param name The _unique_ name of the resource.
80
+ * @param args The arguments to use to populate this resource's properties.
81
+ * @param opts A bag of options that control this resource's behavior.
82
+ */
83
+ constructor(name: string, args: LbCertificateArgs, opts?: pulumi.CustomResourceOptions);
84
+ }
85
+ /**
86
+ * Input properties used for looking up and filtering LbCertificate resources.
87
+ */
88
+ export interface LbCertificateState {
89
+ /**
90
+ * The ARN of the lightsail certificate.
91
+ */
92
+ arn?: pulumi.Input<string>;
93
+ /**
94
+ * The timestamp when the instance was created.
95
+ */
96
+ createdAt?: pulumi.Input<string>;
97
+ /**
98
+ * The domain name (e.g., example.com) for your SSL/TLS certificate.
99
+ */
100
+ domainName?: pulumi.Input<string>;
101
+ domainValidationRecords?: pulumi.Input<pulumi.Input<inputs.lightsail.LbCertificateDomainValidationRecord>[]>;
102
+ /**
103
+ * The load balancer name where you want to create the SSL/TLS certificate.
104
+ */
105
+ lbName?: pulumi.Input<string>;
106
+ /**
107
+ * The SSL/TLS certificate name.
108
+ */
109
+ name?: pulumi.Input<string>;
110
+ /**
111
+ * Set of domains that should be SANs in the issued certificate. `domainName` attribute is automatically added as a Subject Alternative Name.
112
+ */
113
+ subjectAlternativeNames?: pulumi.Input<pulumi.Input<string>[]>;
114
+ supportCode?: pulumi.Input<string>;
115
+ }
116
+ /**
117
+ * The set of arguments for constructing a LbCertificate resource.
118
+ */
119
+ export interface LbCertificateArgs {
120
+ /**
121
+ * The domain name (e.g., example.com) for your SSL/TLS certificate.
122
+ */
123
+ domainName?: pulumi.Input<string>;
124
+ /**
125
+ * The load balancer name where you want to create the SSL/TLS certificate.
126
+ */
127
+ lbName: pulumi.Input<string>;
128
+ /**
129
+ * The SSL/TLS certificate name.
130
+ */
131
+ name?: pulumi.Input<string>;
132
+ /**
133
+ * Set of domains that should be SANs in the issued certificate. `domainName` attribute is automatically added as a Subject Alternative Name.
134
+ */
135
+ subjectAlternativeNames?: pulumi.Input<pulumi.Input<string>[]>;
136
+ }
@@ -0,0 +1,96 @@
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.LbCertificate = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Creates a Lightsail load balancer Certificate resource.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const testLb = new aws.lightsail.Lb("testLb", {
18
+ * healthCheckPath: "/",
19
+ * instancePort: 80,
20
+ * tags: {
21
+ * foo: "bar",
22
+ * },
23
+ * });
24
+ * const testLbCertificate = new aws.lightsail.LbCertificate("testLbCertificate", {
25
+ * lbName: testLb.id,
26
+ * domainName: "test.com",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * `aws_lightsail_lb_certificate` can be imported by using the id attribute, e.g.,
33
+ *
34
+ * ```sh
35
+ * $ pulumi import aws:lightsail/lbCertificate:LbCertificate test example-load-balancer,example-load-balancer-certificate
36
+ * ```
37
+ */
38
+ class LbCertificate extends pulumi.CustomResource {
39
+ constructor(name, argsOrState, opts) {
40
+ let resourceInputs = {};
41
+ opts = opts || {};
42
+ if (opts.id) {
43
+ const state = argsOrState;
44
+ resourceInputs["arn"] = state ? state.arn : undefined;
45
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
46
+ resourceInputs["domainName"] = state ? state.domainName : undefined;
47
+ resourceInputs["domainValidationRecords"] = state ? state.domainValidationRecords : undefined;
48
+ resourceInputs["lbName"] = state ? state.lbName : undefined;
49
+ resourceInputs["name"] = state ? state.name : undefined;
50
+ resourceInputs["subjectAlternativeNames"] = state ? state.subjectAlternativeNames : undefined;
51
+ resourceInputs["supportCode"] = state ? state.supportCode : undefined;
52
+ }
53
+ else {
54
+ const args = argsOrState;
55
+ if ((!args || args.lbName === undefined) && !opts.urn) {
56
+ throw new Error("Missing required property 'lbName'");
57
+ }
58
+ resourceInputs["domainName"] = args ? args.domainName : undefined;
59
+ resourceInputs["lbName"] = args ? args.lbName : undefined;
60
+ resourceInputs["name"] = args ? args.name : undefined;
61
+ resourceInputs["subjectAlternativeNames"] = args ? args.subjectAlternativeNames : undefined;
62
+ resourceInputs["arn"] = undefined /*out*/;
63
+ resourceInputs["createdAt"] = undefined /*out*/;
64
+ resourceInputs["domainValidationRecords"] = undefined /*out*/;
65
+ resourceInputs["supportCode"] = undefined /*out*/;
66
+ }
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
68
+ super(LbCertificate.__pulumiType, name, resourceInputs, opts);
69
+ }
70
+ /**
71
+ * Get an existing LbCertificate resource's state with the given name, ID, and optional extra
72
+ * properties used to qualify the lookup.
73
+ *
74
+ * @param name The _unique_ name of the resulting resource.
75
+ * @param id The _unique_ provider ID of the resource to lookup.
76
+ * @param state Any extra arguments used during the lookup.
77
+ * @param opts Optional settings to control the behavior of the CustomResource.
78
+ */
79
+ static get(name, id, state, opts) {
80
+ return new LbCertificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
81
+ }
82
+ /**
83
+ * Returns true if the given object is an instance of LbCertificate. This is designed to work even
84
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
85
+ */
86
+ static isInstance(obj) {
87
+ if (obj === undefined || obj === null) {
88
+ return false;
89
+ }
90
+ return obj['__pulumiType'] === LbCertificate.__pulumiType;
91
+ }
92
+ }
93
+ exports.LbCertificate = LbCertificate;
94
+ /** @internal */
95
+ LbCertificate.__pulumiType = 'aws:lightsail/lbCertificate:LbCertificate';
96
+ //# sourceMappingURL=lbCertificate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lbCertificate.js","sourceRoot":"","sources":["../../lightsail/lbCertificate.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,94 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Attaches a Lightsail Load Balancer Certificate to a Lightsail Load Balancer.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const testLb = new aws.lightsail.Lb("testLb", {
12
+ * healthCheckPath: "/",
13
+ * instancePort: 80,
14
+ * tags: {
15
+ * foo: "bar",
16
+ * },
17
+ * });
18
+ * const testLbCertificate = new aws.lightsail.LbCertificate("testLbCertificate", {
19
+ * lbName: testLb.id,
20
+ * domainName: "test.com",
21
+ * });
22
+ * const testLbCertificateAttachment = new aws.lightsail.LbCertificateAttachment("testLbCertificateAttachment", {
23
+ * lbName: testLb.name,
24
+ * certificateName: testLbCertificate.name,
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * `aws_lightsail_lb_certificate_attachment` can be imported by using the name attribute, e.g.,
31
+ *
32
+ * ```sh
33
+ * $ pulumi import aws:lightsail/lbCertificateAttachment:LbCertificateAttachment test example-load-balancer,example-certificate
34
+ * ```
35
+ */
36
+ export declare class LbCertificateAttachment extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing LbCertificateAttachment resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LbCertificateAttachmentState, opts?: pulumi.CustomResourceOptions): LbCertificateAttachment;
47
+ /**
48
+ * Returns true if the given object is an instance of LbCertificateAttachment. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj: any): obj is LbCertificateAttachment;
52
+ /**
53
+ * The name of your SSL/TLS certificate.
54
+ */
55
+ readonly certificateName: pulumi.Output<string>;
56
+ /**
57
+ * The name of the load balancer to which you want to associate the SSL/TLS certificate.
58
+ */
59
+ readonly lbName: pulumi.Output<string>;
60
+ /**
61
+ * Create a LbCertificateAttachment resource with the given unique name, arguments, and options.
62
+ *
63
+ * @param name The _unique_ name of the resource.
64
+ * @param args The arguments to use to populate this resource's properties.
65
+ * @param opts A bag of options that control this resource's behavior.
66
+ */
67
+ constructor(name: string, args: LbCertificateAttachmentArgs, opts?: pulumi.CustomResourceOptions);
68
+ }
69
+ /**
70
+ * Input properties used for looking up and filtering LbCertificateAttachment resources.
71
+ */
72
+ export interface LbCertificateAttachmentState {
73
+ /**
74
+ * The name of your SSL/TLS certificate.
75
+ */
76
+ certificateName?: pulumi.Input<string>;
77
+ /**
78
+ * The name of the load balancer to which you want to associate the SSL/TLS certificate.
79
+ */
80
+ lbName?: pulumi.Input<string>;
81
+ }
82
+ /**
83
+ * The set of arguments for constructing a LbCertificateAttachment resource.
84
+ */
85
+ export interface LbCertificateAttachmentArgs {
86
+ /**
87
+ * The name of your SSL/TLS certificate.
88
+ */
89
+ certificateName: pulumi.Input<string>;
90
+ /**
91
+ * The name of the load balancer to which you want to associate the SSL/TLS certificate.
92
+ */
93
+ lbName: pulumi.Input<string>;
94
+ }
@@ -0,0 +1,91 @@
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.LbCertificateAttachment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Attaches a Lightsail Load Balancer Certificate to a Lightsail Load Balancer.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const testLb = new aws.lightsail.Lb("testLb", {
18
+ * healthCheckPath: "/",
19
+ * instancePort: 80,
20
+ * tags: {
21
+ * foo: "bar",
22
+ * },
23
+ * });
24
+ * const testLbCertificate = new aws.lightsail.LbCertificate("testLbCertificate", {
25
+ * lbName: testLb.id,
26
+ * domainName: "test.com",
27
+ * });
28
+ * const testLbCertificateAttachment = new aws.lightsail.LbCertificateAttachment("testLbCertificateAttachment", {
29
+ * lbName: testLb.name,
30
+ * certificateName: testLbCertificate.name,
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * `aws_lightsail_lb_certificate_attachment` can be imported by using the name attribute, e.g.,
37
+ *
38
+ * ```sh
39
+ * $ pulumi import aws:lightsail/lbCertificateAttachment:LbCertificateAttachment test example-load-balancer,example-certificate
40
+ * ```
41
+ */
42
+ class LbCertificateAttachment extends pulumi.CustomResource {
43
+ constructor(name, argsOrState, opts) {
44
+ let resourceInputs = {};
45
+ opts = opts || {};
46
+ if (opts.id) {
47
+ const state = argsOrState;
48
+ resourceInputs["certificateName"] = state ? state.certificateName : undefined;
49
+ resourceInputs["lbName"] = state ? state.lbName : undefined;
50
+ }
51
+ else {
52
+ const args = argsOrState;
53
+ if ((!args || args.certificateName === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'certificateName'");
55
+ }
56
+ if ((!args || args.lbName === undefined) && !opts.urn) {
57
+ throw new Error("Missing required property 'lbName'");
58
+ }
59
+ resourceInputs["certificateName"] = args ? args.certificateName : undefined;
60
+ resourceInputs["lbName"] = args ? args.lbName : undefined;
61
+ }
62
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
63
+ super(LbCertificateAttachment.__pulumiType, name, resourceInputs, opts);
64
+ }
65
+ /**
66
+ * Get an existing LbCertificateAttachment 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 LbCertificateAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
76
+ }
77
+ /**
78
+ * Returns true if the given object is an instance of LbCertificateAttachment. 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'] === LbCertificateAttachment.__pulumiType;
86
+ }
87
+ }
88
+ exports.LbCertificateAttachment = LbCertificateAttachment;
89
+ /** @internal */
90
+ LbCertificateAttachment.__pulumiType = 'aws:lightsail/lbCertificateAttachment:LbCertificateAttachment';
91
+ //# sourceMappingURL=lbCertificateAttachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lbCertificateAttachment.js","sourceRoot":"","sources":["../../lightsail/lbCertificateAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IA6C9D,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAAsD,CAAC;YACpE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,eAAe,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5D,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;aAClE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;IAhED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;;AA1BL,0DAkEC;AApDG,gBAAgB;AACO,oCAAY,GAAG,+DAA+D,CAAC"}
@@ -0,0 +1,103 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Configures Session Stickiness for a Lightsail Load Balancer.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const testLb = new aws.lightsail.Lb("testLb", {
12
+ * healthCheckPath: "/",
13
+ * instancePort: 80,
14
+ * tags: {
15
+ * foo: "bar",
16
+ * },
17
+ * });
18
+ * const testLbStickinessPolicy = new aws.lightsail.LbStickinessPolicy("testLbStickinessPolicy", {
19
+ * lbName: testLb.name,
20
+ * cookieDuration: 900,
21
+ * enabled: true,
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * `aws_lightsail_lb_stickiness_policy` can be imported by using the `lb_name` attribute, e.g.,
28
+ *
29
+ * ```sh
30
+ * $ pulumi import aws:lightsail/lbStickinessPolicy:LbStickinessPolicy test example-load-balancer
31
+ * ```
32
+ */
33
+ export declare class LbStickinessPolicy extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing LbStickinessPolicy resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LbStickinessPolicyState, opts?: pulumi.CustomResourceOptions): LbStickinessPolicy;
44
+ /**
45
+ * Returns true if the given object is an instance of LbStickinessPolicy. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is LbStickinessPolicy;
49
+ /**
50
+ * The cookie duration in seconds. This determines the length of the session stickiness.
51
+ */
52
+ readonly cookieDuration: pulumi.Output<number>;
53
+ /**
54
+ * - The Session Stickiness state of the load balancer. `true` to activate session stickiness or `false` to deactivate session stickiness.
55
+ */
56
+ readonly enabled: pulumi.Output<boolean>;
57
+ /**
58
+ * The name of the load balancer to which you want to enable session stickiness.
59
+ */
60
+ readonly lbName: pulumi.Output<string>;
61
+ /**
62
+ * Create a LbStickinessPolicy resource with the given unique name, arguments, and options.
63
+ *
64
+ * @param name The _unique_ name of the resource.
65
+ * @param args The arguments to use to populate this resource's properties.
66
+ * @param opts A bag of options that control this resource's behavior.
67
+ */
68
+ constructor(name: string, args: LbStickinessPolicyArgs, opts?: pulumi.CustomResourceOptions);
69
+ }
70
+ /**
71
+ * Input properties used for looking up and filtering LbStickinessPolicy resources.
72
+ */
73
+ export interface LbStickinessPolicyState {
74
+ /**
75
+ * The cookie duration in seconds. This determines the length of the session stickiness.
76
+ */
77
+ cookieDuration?: pulumi.Input<number>;
78
+ /**
79
+ * - The Session Stickiness state of the load balancer. `true` to activate session stickiness or `false` to deactivate session stickiness.
80
+ */
81
+ enabled?: pulumi.Input<boolean>;
82
+ /**
83
+ * The name of the load balancer to which you want to enable session stickiness.
84
+ */
85
+ lbName?: pulumi.Input<string>;
86
+ }
87
+ /**
88
+ * The set of arguments for constructing a LbStickinessPolicy resource.
89
+ */
90
+ export interface LbStickinessPolicyArgs {
91
+ /**
92
+ * The cookie duration in seconds. This determines the length of the session stickiness.
93
+ */
94
+ cookieDuration: pulumi.Input<number>;
95
+ /**
96
+ * - The Session Stickiness state of the load balancer. `true` to activate session stickiness or `false` to deactivate session stickiness.
97
+ */
98
+ enabled: pulumi.Input<boolean>;
99
+ /**
100
+ * The name of the load balancer to which you want to enable session stickiness.
101
+ */
102
+ lbName: pulumi.Input<string>;
103
+ }
@@ -0,0 +1,93 @@
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.LbStickinessPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Configures Session Stickiness for a Lightsail Load Balancer.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const testLb = new aws.lightsail.Lb("testLb", {
18
+ * healthCheckPath: "/",
19
+ * instancePort: 80,
20
+ * tags: {
21
+ * foo: "bar",
22
+ * },
23
+ * });
24
+ * const testLbStickinessPolicy = new aws.lightsail.LbStickinessPolicy("testLbStickinessPolicy", {
25
+ * lbName: testLb.name,
26
+ * cookieDuration: 900,
27
+ * enabled: true,
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * `aws_lightsail_lb_stickiness_policy` can be imported by using the `lb_name` attribute, e.g.,
34
+ *
35
+ * ```sh
36
+ * $ pulumi import aws:lightsail/lbStickinessPolicy:LbStickinessPolicy test example-load-balancer
37
+ * ```
38
+ */
39
+ class LbStickinessPolicy extends pulumi.CustomResource {
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["cookieDuration"] = state ? state.cookieDuration : undefined;
46
+ resourceInputs["enabled"] = state ? state.enabled : undefined;
47
+ resourceInputs["lbName"] = state ? state.lbName : undefined;
48
+ }
49
+ else {
50
+ const args = argsOrState;
51
+ if ((!args || args.cookieDuration === undefined) && !opts.urn) {
52
+ throw new Error("Missing required property 'cookieDuration'");
53
+ }
54
+ if ((!args || args.enabled === undefined) && !opts.urn) {
55
+ throw new Error("Missing required property 'enabled'");
56
+ }
57
+ if ((!args || args.lbName === undefined) && !opts.urn) {
58
+ throw new Error("Missing required property 'lbName'");
59
+ }
60
+ resourceInputs["cookieDuration"] = args ? args.cookieDuration : undefined;
61
+ resourceInputs["enabled"] = args ? args.enabled : undefined;
62
+ resourceInputs["lbName"] = args ? args.lbName : undefined;
63
+ }
64
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
65
+ super(LbStickinessPolicy.__pulumiType, name, resourceInputs, opts);
66
+ }
67
+ /**
68
+ * Get an existing LbStickinessPolicy resource's state with the given name, ID, and optional extra
69
+ * properties used to qualify the lookup.
70
+ *
71
+ * @param name The _unique_ name of the resulting resource.
72
+ * @param id The _unique_ provider ID of the resource to lookup.
73
+ * @param state Any extra arguments used during the lookup.
74
+ * @param opts Optional settings to control the behavior of the CustomResource.
75
+ */
76
+ static get(name, id, state, opts) {
77
+ return new LbStickinessPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
78
+ }
79
+ /**
80
+ * Returns true if the given object is an instance of LbStickinessPolicy. This is designed to work even
81
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
82
+ */
83
+ static isInstance(obj) {
84
+ if (obj === undefined || obj === null) {
85
+ return false;
86
+ }
87
+ return obj['__pulumiType'] === LbStickinessPolicy.__pulumiType;
88
+ }
89
+ }
90
+ exports.LbStickinessPolicy = LbStickinessPolicy;
91
+ /** @internal */
92
+ LbStickinessPolicy.__pulumiType = 'aws:lightsail/lbStickinessPolicy:LbStickinessPolicy';
93
+ //# sourceMappingURL=lbStickinessPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lbStickinessPolicy.js","sourceRoot":"","sources":["../../lightsail/lbStickinessPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAiDzD,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,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAAiD,CAAC;YAC/D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;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;IAzED;;;;;;;;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;;AA1BL,gDA2EC;AA7DG,gBAAgB;AACO,+BAAY,GAAG,qDAAqD,CAAC"}
@@ -44,11 +44,11 @@ import * as outputs from "../types/output";
44
44
  * asnRanges: ["64512-64555"],
45
45
  * edgeLocations: [
46
46
  * {
47
- * asn: 64512,
47
+ * asn: "64512",
48
48
  * location: "us-east-1",
49
49
  * },
50
50
  * {
51
- * asn: 64513,
51
+ * asn: "64513",
52
52
  * location: "eu-central-1",
53
53
  * },
54
54
  * ],
@@ -48,11 +48,11 @@ const utilities = require("../utilities");
48
48
  * asnRanges: ["64512-64555"],
49
49
  * edgeLocations: [
50
50
  * {
51
- * asn: 64512,
51
+ * asn: "64512",
52
52
  * location: "us-east-1",
53
53
  * },
54
54
  * {
55
- * asn: 64513,
55
+ * asn: "64513",
56
56
  * location: "eu-central-1",
57
57
  * },
58
58
  * ],