@cdktf/provider-kubernetes
Version:
Prebuilt kubernetes Provider for Terraform CDK (cdktf)
969 lines • 130 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Endpoints = exports.EndpointsSubsetList = exports.EndpointsSubsetOutputReference = exports.EndpointsSubsetPortList = exports.EndpointsSubsetPortOutputReference = exports.EndpointsSubsetNotReadyAddressList = exports.EndpointsSubsetNotReadyAddressOutputReference = exports.EndpointsSubsetAddressList = exports.EndpointsSubsetAddressOutputReference = exports.EndpointsMetadataOutputReference = void 0;
exports.endpointsMetadataToTerraform = endpointsMetadataToTerraform;
exports.endpointsMetadataToHclTerraform = endpointsMetadataToHclTerraform;
exports.endpointsSubsetAddressToTerraform = endpointsSubsetAddressToTerraform;
exports.endpointsSubsetAddressToHclTerraform = endpointsSubsetAddressToHclTerraform;
exports.endpointsSubsetNotReadyAddressToTerraform = endpointsSubsetNotReadyAddressToTerraform;
exports.endpointsSubsetNotReadyAddressToHclTerraform = endpointsSubsetNotReadyAddressToHclTerraform;
exports.endpointsSubsetPortToTerraform = endpointsSubsetPortToTerraform;
exports.endpointsSubsetPortToHclTerraform = endpointsSubsetPortToHclTerraform;
exports.endpointsSubsetToTerraform = endpointsSubsetToTerraform;
exports.endpointsSubsetToHclTerraform = endpointsSubsetToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function endpointsMetadataToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
annotations: cdktf.hashMapper(cdktf.stringToTerraform)(struct.annotations),
generate_name: cdktf.stringToTerraform(struct.generateName),
labels: cdktf.hashMapper(cdktf.stringToTerraform)(struct.labels),
name: cdktf.stringToTerraform(struct.name),
namespace: cdktf.stringToTerraform(struct.namespace),
};
}
function endpointsMetadataToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
annotations: {
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(struct.annotations),
isBlock: false,
type: "map",
storageClassType: "stringMap",
},
generate_name: {
value: cdktf.stringToHclTerraform(struct.generateName),
isBlock: false,
type: "simple",
storageClassType: "string",
},
labels: {
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(struct.labels),
isBlock: false,
type: "map",
storageClassType: "stringMap",
},
name: {
value: cdktf.stringToHclTerraform(struct.name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
namespace: {
value: cdktf.stringToHclTerraform(struct.namespace),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class EndpointsMetadataOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._annotations !== undefined) {
hasAnyValues = true;
internalValueResult.annotations = this._annotations;
}
if (this._generateName !== undefined) {
hasAnyValues = true;
internalValueResult.generateName = this._generateName;
}
if (this._labels !== undefined) {
hasAnyValues = true;
internalValueResult.labels = this._labels;
}
if (this._name !== undefined) {
hasAnyValues = true;
internalValueResult.name = this._name;
}
if (this._namespace !== undefined) {
hasAnyValues = true;
internalValueResult.namespace = this._namespace;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._annotations = undefined;
this._generateName = undefined;
this._labels = undefined;
this._name = undefined;
this._namespace = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._annotations = value.annotations;
this._generateName = value.generateName;
this._labels = value.labels;
this._name = value.name;
this._namespace = value.namespace;
}
}
get annotations() {
return this.getStringMapAttribute('annotations');
}
set annotations(value) {
this._annotations = value;
}
resetAnnotations() {
this._annotations = undefined;
}
// Temporarily expose input value. Use with caution.
get annotationsInput() {
return this._annotations;
}
get generateName() {
return this.getStringAttribute('generate_name');
}
set generateName(value) {
this._generateName = value;
}
resetGenerateName() {
this._generateName = undefined;
}
// Temporarily expose input value. Use with caution.
get generateNameInput() {
return this._generateName;
}
// generation - computed: true, optional: false, required: false
get generation() {
return this.getNumberAttribute('generation');
}
get labels() {
return this.getStringMapAttribute('labels');
}
set labels(value) {
this._labels = value;
}
resetLabels() {
this._labels = undefined;
}
// Temporarily expose input value. Use with caution.
get labelsInput() {
return this._labels;
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
resetName() {
this._name = undefined;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
get namespace() {
return this.getStringAttribute('namespace');
}
set namespace(value) {
this._namespace = value;
}
resetNamespace() {
this._namespace = undefined;
}
// Temporarily expose input value. Use with caution.
get namespaceInput() {
return this._namespace;
}
// resource_version - computed: true, optional: false, required: false
get resourceVersion() {
return this.getStringAttribute('resource_version');
}
// uid - computed: true, optional: false, required: false
get uid() {
return this.getStringAttribute('uid');
}
}
exports.EndpointsMetadataOutputReference = EndpointsMetadataOutputReference;
_a = JSII_RTTI_SYMBOL_1;
EndpointsMetadataOutputReference[_a] = { fqn: "@cdktf/provider-kubernetes.endpoints.EndpointsMetadataOutputReference", version: "12.0.0" };
function endpointsSubsetAddressToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
hostname: cdktf.stringToTerraform(struct.hostname),
ip: cdktf.stringToTerraform(struct.ip),
node_name: cdktf.stringToTerraform(struct.nodeName),
};
}
function endpointsSubsetAddressToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
hostname: {
value: cdktf.stringToHclTerraform(struct.hostname),
isBlock: false,
type: "simple",
storageClassType: "string",
},
ip: {
value: cdktf.stringToHclTerraform(struct.ip),
isBlock: false,
type: "simple",
storageClassType: "string",
},
node_name: {
value: cdktf.stringToHclTerraform(struct.nodeName),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class EndpointsSubsetAddressOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._hostname !== undefined) {
hasAnyValues = true;
internalValueResult.hostname = this._hostname;
}
if (this._ip !== undefined) {
hasAnyValues = true;
internalValueResult.ip = this._ip;
}
if (this._nodeName !== undefined) {
hasAnyValues = true;
internalValueResult.nodeName = this._nodeName;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._hostname = undefined;
this._ip = undefined;
this._nodeName = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._hostname = value.hostname;
this._ip = value.ip;
this._nodeName = value.nodeName;
}
}
get hostname() {
return this.getStringAttribute('hostname');
}
set hostname(value) {
this._hostname = value;
}
resetHostname() {
this._hostname = undefined;
}
// Temporarily expose input value. Use with caution.
get hostnameInput() {
return this._hostname;
}
get ip() {
return this.getStringAttribute('ip');
}
set ip(value) {
this._ip = value;
}
// Temporarily expose input value. Use with caution.
get ipInput() {
return this._ip;
}
get nodeName() {
return this.getStringAttribute('node_name');
}
set nodeName(value) {
this._nodeName = value;
}
resetNodeName() {
this._nodeName = undefined;
}
// Temporarily expose input value. Use with caution.
get nodeNameInput() {
return this._nodeName;
}
}
exports.EndpointsSubsetAddressOutputReference = EndpointsSubsetAddressOutputReference;
_b = JSII_RTTI_SYMBOL_1;
EndpointsSubsetAddressOutputReference[_b] = { fqn: "@cdktf/provider-kubernetes.endpoints.EndpointsSubsetAddressOutputReference", version: "12.0.0" };
class EndpointsSubsetAddressList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new EndpointsSubsetAddressOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.EndpointsSubsetAddressList = EndpointsSubsetAddressList;
_c = JSII_RTTI_SYMBOL_1;
EndpointsSubsetAddressList[_c] = { fqn: "@cdktf/provider-kubernetes.endpoints.EndpointsSubsetAddressList", version: "12.0.0" };
function endpointsSubsetNotReadyAddressToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
hostname: cdktf.stringToTerraform(struct.hostname),
ip: cdktf.stringToTerraform(struct.ip),
node_name: cdktf.stringToTerraform(struct.nodeName),
};
}
function endpointsSubsetNotReadyAddressToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
hostname: {
value: cdktf.stringToHclTerraform(struct.hostname),
isBlock: false,
type: "simple",
storageClassType: "string",
},
ip: {
value: cdktf.stringToHclTerraform(struct.ip),
isBlock: false,
type: "simple",
storageClassType: "string",
},
node_name: {
value: cdktf.stringToHclTerraform(struct.nodeName),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class EndpointsSubsetNotReadyAddressOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._hostname !== undefined) {
hasAnyValues = true;
internalValueResult.hostname = this._hostname;
}
if (this._ip !== undefined) {
hasAnyValues = true;
internalValueResult.ip = this._ip;
}
if (this._nodeName !== undefined) {
hasAnyValues = true;
internalValueResult.nodeName = this._nodeName;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._hostname = undefined;
this._ip = undefined;
this._nodeName = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._hostname = value.hostname;
this._ip = value.ip;
this._nodeName = value.nodeName;
}
}
get hostname() {
return this.getStringAttribute('hostname');
}
set hostname(value) {
this._hostname = value;
}
resetHostname() {
this._hostname = undefined;
}
// Temporarily expose input value. Use with caution.
get hostnameInput() {
return this._hostname;
}
get ip() {
return this.getStringAttribute('ip');
}
set ip(value) {
this._ip = value;
}
// Temporarily expose input value. Use with caution.
get ipInput() {
return this._ip;
}
get nodeName() {
return this.getStringAttribute('node_name');
}
set nodeName(value) {
this._nodeName = value;
}
resetNodeName() {
this._nodeName = undefined;
}
// Temporarily expose input value. Use with caution.
get nodeNameInput() {
return this._nodeName;
}
}
exports.EndpointsSubsetNotReadyAddressOutputReference = EndpointsSubsetNotReadyAddressOutputReference;
_d = JSII_RTTI_SYMBOL_1;
EndpointsSubsetNotReadyAddressOutputReference[_d] = { fqn: "@cdktf/provider-kubernetes.endpoints.EndpointsSubsetNotReadyAddressOutputReference", version: "12.0.0" };
class EndpointsSubsetNotReadyAddressList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new EndpointsSubsetNotReadyAddressOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.EndpointsSubsetNotReadyAddressList = EndpointsSubsetNotReadyAddressList;
_e = JSII_RTTI_SYMBOL_1;
EndpointsSubsetNotReadyAddressList[_e] = { fqn: "@cdktf/provider-kubernetes.endpoints.EndpointsSubsetNotReadyAddressList", version: "12.0.0" };
function endpointsSubsetPortToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
name: cdktf.stringToTerraform(struct.name),
port: cdktf.numberToTerraform(struct.port),
protocol: cdktf.stringToTerraform(struct.protocol),
};
}
function endpointsSubsetPortToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
name: {
value: cdktf.stringToHclTerraform(struct.name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
port: {
value: cdktf.numberToHclTerraform(struct.port),
isBlock: false,
type: "simple",
storageClassType: "number",
},
protocol: {
value: cdktf.stringToHclTerraform(struct.protocol),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class EndpointsSubsetPortOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._name !== undefined) {
hasAnyValues = true;
internalValueResult.name = this._name;
}
if (this._port !== undefined) {
hasAnyValues = true;
internalValueResult.port = this._port;
}
if (this._protocol !== undefined) {
hasAnyValues = true;
internalValueResult.protocol = this._protocol;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._name = undefined;
this._port = undefined;
this._protocol = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._name = value.name;
this._port = value.port;
this._protocol = value.protocol;
}
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
resetName() {
this._name = undefined;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
get port() {
return this.getNumberAttribute('port');
}
set port(value) {
this._port = value;
}
// Temporarily expose input value. Use with caution.
get portInput() {
return this._port;
}
get protocol() {
return this.getStringAttribute('protocol');
}
set protocol(value) {
this._protocol = value;
}
resetProtocol() {
this._protocol = undefined;
}
// Temporarily expose input value. Use with caution.
get protocolInput() {
return this._protocol;
}
}
exports.EndpointsSubsetPortOutputReference = EndpointsSubsetPortOutputReference;
_f = JSII_RTTI_SYMBOL_1;
EndpointsSubsetPortOutputReference[_f] = { fqn: "@cdktf/provider-kubernetes.endpoints.EndpointsSubsetPortOutputReference", version: "12.0.0" };
class EndpointsSubsetPortList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new EndpointsSubsetPortOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.EndpointsSubsetPortList = EndpointsSubsetPortList;
_g = JSII_RTTI_SYMBOL_1;
EndpointsSubsetPortList[_g] = { fqn: "@cdktf/provider-kubernetes.endpoints.EndpointsSubsetPortList", version: "12.0.0" };
function endpointsSubsetToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
address: cdktf.listMapper(endpointsSubsetAddressToTerraform, true)(struct.address),
not_ready_address: cdktf.listMapper(endpointsSubsetNotReadyAddressToTerraform, true)(struct.notReadyAddress),
port: cdktf.listMapper(endpointsSubsetPortToTerraform, true)(struct.port),
};
}
function endpointsSubsetToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
address: {
value: cdktf.listMapperHcl(endpointsSubsetAddressToHclTerraform, true)(struct.address),
isBlock: true,
type: "set",
storageClassType: "EndpointsSubsetAddressList",
},
not_ready_address: {
value: cdktf.listMapperHcl(endpointsSubsetNotReadyAddressToHclTerraform, true)(struct.notReadyAddress),
isBlock: true,
type: "set",
storageClassType: "EndpointsSubsetNotReadyAddressList",
},
port: {
value: cdktf.listMapperHcl(endpointsSubsetPortToHclTerraform, true)(struct.port),
isBlock: true,
type: "set",
storageClassType: "EndpointsSubsetPortList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class EndpointsSubsetOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
// address - computed: false, optional: true, required: false
this._address = new EndpointsSubsetAddressList(this, "address", true);
// not_ready_address - computed: false, optional: true, required: false
this._notReadyAddress = new EndpointsSubsetNotReadyAddressList(this, "not_ready_address", true);
// port - computed: false, optional: true, required: false
this._port = new EndpointsSubsetPortList(this, "port", true);
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._address?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.address = this._address?.internalValue;
}
if (this._notReadyAddress?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.notReadyAddress = this._notReadyAddress?.internalValue;
}
if (this._port?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.port = this._port?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._address.internalValue = undefined;
this._notReadyAddress.internalValue = undefined;
this._port.internalValue = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._address.internalValue = value.address;
this._notReadyAddress.internalValue = value.notReadyAddress;
this._port.internalValue = value.port;
}
}
get address() {
return this._address;
}
putAddress(value) {
this._address.internalValue = value;
}
resetAddress() {
this._address.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get addressInput() {
return this._address.internalValue;
}
get notReadyAddress() {
return this._notReadyAddress;
}
putNotReadyAddress(value) {
this._notReadyAddress.internalValue = value;
}
resetNotReadyAddress() {
this._notReadyAddress.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get notReadyAddressInput() {
return this._notReadyAddress.internalValue;
}
get port() {
return this._port;
}
putPort(value) {
this._port.internalValue = value;
}
resetPort() {
this._port.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get portInput() {
return this._port.internalValue;
}
}
exports.EndpointsSubsetOutputReference = EndpointsSubsetOutputReference;
_h = JSII_RTTI_SYMBOL_1;
EndpointsSubsetOutputReference[_h] = { fqn: "@cdktf/provider-kubernetes.endpoints.EndpointsSubsetOutputReference", version: "12.0.0" };
class EndpointsSubsetList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new EndpointsSubsetOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.EndpointsSubsetList = EndpointsSubsetList;
_j = JSII_RTTI_SYMBOL_1;
EndpointsSubsetList[_j] = { fqn: "@cdktf/provider-kubernetes.endpoints.EndpointsSubsetList", version: "12.0.0" };
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/endpoints kubernetes_endpoints}
*/
class Endpoints extends cdktf.TerraformResource {
// ==============
// STATIC Methods
// ==============
/**
* Generates CDKTF code for importing a Endpoints resource upon running "cdktf plan <stack-name>"
* @param scope The scope in which to define this construct
* @param importToId The construct id used in the generated config for the Endpoints to import
* @param importFromId The id of the existing Endpoints that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/endpoints#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the Endpoints to import is found
*/
static generateConfigForImport(scope, importToId, importFromId, provider) {
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "kubernetes_endpoints", importId: importFromId, provider });
}
// ===========
// INITIALIZER
// ===========
/**
* Create a new {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.37.1/docs/resources/endpoints kubernetes_endpoints} Resource
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options EndpointsConfig
*/
constructor(scope, id, config) {
super(scope, id, {
terraformResourceType: 'kubernetes_endpoints',
terraformGeneratorMetadata: {
providerName: 'kubernetes',
providerVersion: '2.37.1',
providerVersionConstraint: '~> 2.0'
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle,
provisioners: config.provisioners,
connection: config.connection,
forEach: config.forEach
});
// metadata - computed: false, optional: false, required: true
this._metadata = new EndpointsMetadataOutputReference(this, "metadata");
// subset - computed: false, optional: true, required: false
this._subset = new EndpointsSubsetList(this, "subset", true);
this._id = config.id;
this._metadata.internalValue = config.metadata;
this._subset.internalValue = config.subset;
}
get id() {
return this.getStringAttribute('id');
}
set id(value) {
this._id = value;
}
resetId() {
this._id = undefined;
}
// Temporarily expose input value. Use with caution.
get idInput() {
return this._id;
}
get metadata() {
return this._metadata;
}
putMetadata(value) {
this._metadata.internalValue = value;
}
// Temporarily expose input value. Use with caution.
get metadataInput() {
return this._metadata.internalValue;
}
get subset() {
return this._subset;
}
putSubset(value) {
this._subset.internalValue = value;
}
resetSubset() {
this._subset.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get subsetInput() {
return this._subset.internalValue;
}
// =========
// SYNTHESIS
// =========
synthesizeAttributes() {
return {
id: cdktf.stringToTerraform(this._id),
metadata: endpointsMetadataToTerraform(this._metadata.internalValue),
subset: cdktf.listMapper(endpointsSubsetToTerraform, true)(this._subset.internalValue),
};
}
synthesizeHclAttributes() {
const attrs = {
id: {
value: cdktf.stringToHclTerraform(this._id),
isBlock: false,
type: "simple",
storageClassType: "string",
},
metadata: {
value: endpointsMetadataToHclTerraform(this._metadata.internalValue),
isBlock: true,
type: "list",
storageClassType: "EndpointsMetadataList",
},
subset: {
value: cdktf.listMapperHcl(endpointsSubsetToHclTerraform, true)(this._subset.internalValue),
isBlock: true,
type: "set",
storageClassType: "EndpointsSubsetList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
}
exports.Endpoints = Endpoints;
_k = JSII_RTTI_SYMBOL_1;
Endpoints[_k] = { fqn: "@cdktf/provider-kubernetes.endpoints.Endpoints", version: "12.0.0" };
// =================
// STATIC PROPERTIES
// =================
Endpoints.tfResourceType = "kubernetes_endpoints";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZW5kcG9pbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFtRUEsb0VBWUM7QUFHRCwwRUF3Q0M7QUE4S0QsOEVBVUM7QUFHRCxvRkE0QkM7QUFnSkQsOEZBVUM7QUFHRCxvR0E0QkM7QUFnSkQsd0VBVUM7QUFHRCw4RUE0QkM7QUFnSkQsZ0VBVUM7QUFHRCxzRUE0QkM7O0FBbjNCRCwrQkFBK0I7QUEwRC9CLFNBQWdCLDRCQUE0QixDQUFDLE1BQTZEO0lBQ3hHLElBQUksQ0FBQyxLQUFLLENBQUMsVUFBVSxDQUFDLE1BQU0sQ0FBQyxJQUFJLEtBQUssQ0FBQyxZQUFZLENBQUMsWUFBWSxDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUM7UUFBQyxPQUFPLE1BQU0sQ0FBQztJQUFDLENBQUM7SUFDNUYsSUFBSSxLQUFLLENBQUMsZ0JBQWdCLENBQUMsTUFBTSxDQUFDLEVBQUUsQ0FBQztRQUNuQyxNQUFNLElBQUksS0FBSyxDQUFDLG9IQUFvSCxDQUFDLENBQUM7SUFDeEksQ0FBQztJQUNELE9BQU87UUFDTCxXQUFXLEVBQUUsS0FBSyxDQUFDLFVBQVUsQ0FBQyxLQUFLLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxNQUFPLENBQUMsV0FB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