@aws-sdk/client-eks
Version:
AWS SDK for JavaScript Eks Client for Node.js, Browser and React Native
56 lines (55 loc) • 2.13 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bdd = void 0;
const endpoints_1 = require("@smithy/core/endpoints");
const m = "ref";
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { "fn": f, "argv": [i, "name"] }, k = {}, l = [{ [m]: "Region" }];
const _data = {
conditions: [
[]],
[],
["aws.partition", l, d],
[]: "UseFIPS" }, b]],
[]: "UseDualStack" }, b]],
[] }, b]],
[] }, b]],
[]],
[]]
],
results: [
[],
[],
[],
[],
["https://eks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
[],
["https://fips.eks.{Region}.amazonaws.com", k],
["https://eks.{Region}.amazonaws.com", k],
["https://eks-fips.{Region}.{PartitionResult#dnsSuffix}", k],
[],
["https://eks.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
[],
["https://eks.{Region}.{PartitionResult#dnsSuffix}", k],
[]
]
};
const root = 2;
const r = 100_000_000;
const nodes = new Int32Array([
-1, 1, -1,
0, 14, 3,
1, 4, r + 13,
2, 5, r + 13,
3, 8, 6,
4, 7, r + 12,
5, r + 10, r + 11,
4, 12, 9,
6, 10, r + 9,
7, r + 6, 11,
8, r + 7, r + 8,
5, 13, r + 5,
6, r + 4, r + 5,
3, r + 1, 15,
4, r + 2, r + 3,
]);
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);