@cdktf/provider-kubernetes
Version:
Prebuilt kubernetes Provider for Terraform CDK (cdktf)
969 lines • 135 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataKubernetesEndpointsV1 = exports.DataKubernetesEndpointsV1SubsetList = exports.DataKubernetesEndpointsV1SubsetOutputReference = exports.DataKubernetesEndpointsV1SubsetPortList = exports.DataKubernetesEndpointsV1SubsetPortOutputReference = exports.DataKubernetesEndpointsV1SubsetNotReadyAddressList = exports.DataKubernetesEndpointsV1SubsetNotReadyAddressOutputReference = exports.DataKubernetesEndpointsV1SubsetAddressList = exports.DataKubernetesEndpointsV1SubsetAddressOutputReference = exports.DataKubernetesEndpointsV1MetadataOutputReference = void 0;
exports.dataKubernetesEndpointsV1MetadataToTerraform = dataKubernetesEndpointsV1MetadataToTerraform;
exports.dataKubernetesEndpointsV1MetadataToHclTerraform = dataKubernetesEndpointsV1MetadataToHclTerraform;
exports.dataKubernetesEndpointsV1SubsetAddressToTerraform = dataKubernetesEndpointsV1SubsetAddressToTerraform;
exports.dataKubernetesEndpointsV1SubsetAddressToHclTerraform = dataKubernetesEndpointsV1SubsetAddressToHclTerraform;
exports.dataKubernetesEndpointsV1SubsetNotReadyAddressToTerraform = dataKubernetesEndpointsV1SubsetNotReadyAddressToTerraform;
exports.dataKubernetesEndpointsV1SubsetNotReadyAddressToHclTerraform = dataKubernetesEndpointsV1SubsetNotReadyAddressToHclTerraform;
exports.dataKubernetesEndpointsV1SubsetPortToTerraform = dataKubernetesEndpointsV1SubsetPortToTerraform;
exports.dataKubernetesEndpointsV1SubsetPortToHclTerraform = dataKubernetesEndpointsV1SubsetPortToHclTerraform;
exports.dataKubernetesEndpointsV1SubsetToTerraform = dataKubernetesEndpointsV1SubsetToTerraform;
exports.dataKubernetesEndpointsV1SubsetToHclTerraform = dataKubernetesEndpointsV1SubsetToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataKubernetesEndpointsV1MetadataToTerraform(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 dataKubernetesEndpointsV1MetadataToHclTerraform(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 DataKubernetesEndpointsV1MetadataOutputReference 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.DataKubernetesEndpointsV1MetadataOutputReference = DataKubernetesEndpointsV1MetadataOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataKubernetesEndpointsV1MetadataOutputReference[_a] = { fqn: "@cdktf/provider-kubernetes.dataKubernetesEndpointsV1.DataKubernetesEndpointsV1MetadataOutputReference", version: "12.1.1" };
function dataKubernetesEndpointsV1SubsetAddressToTerraform(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 dataKubernetesEndpointsV1SubsetAddressToHclTerraform(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 DataKubernetesEndpointsV1SubsetAddressOutputReference 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.DataKubernetesEndpointsV1SubsetAddressOutputReference = DataKubernetesEndpointsV1SubsetAddressOutputReference;
_b = JSII_RTTI_SYMBOL_1;
DataKubernetesEndpointsV1SubsetAddressOutputReference[_b] = { fqn: "@cdktf/provider-kubernetes.dataKubernetesEndpointsV1.DataKubernetesEndpointsV1SubsetAddressOutputReference", version: "12.1.1" };
class DataKubernetesEndpointsV1SubsetAddressList 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 DataKubernetesEndpointsV1SubsetAddressOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataKubernetesEndpointsV1SubsetAddressList = DataKubernetesEndpointsV1SubsetAddressList;
_c = JSII_RTTI_SYMBOL_1;
DataKubernetesEndpointsV1SubsetAddressList[_c] = { fqn: "@cdktf/provider-kubernetes.dataKubernetesEndpointsV1.DataKubernetesEndpointsV1SubsetAddressList", version: "12.1.1" };
function dataKubernetesEndpointsV1SubsetNotReadyAddressToTerraform(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 dataKubernetesEndpointsV1SubsetNotReadyAddressToHclTerraform(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 DataKubernetesEndpointsV1SubsetNotReadyAddressOutputReference 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.DataKubernetesEndpointsV1SubsetNotReadyAddressOutputReference = DataKubernetesEndpointsV1SubsetNotReadyAddressOutputReference;
_d = JSII_RTTI_SYMBOL_1;
DataKubernetesEndpointsV1SubsetNotReadyAddressOutputReference[_d] = { fqn: "@cdktf/provider-kubernetes.dataKubernetesEndpointsV1.DataKubernetesEndpointsV1SubsetNotReadyAddressOutputReference", version: "12.1.1" };
class DataKubernetesEndpointsV1SubsetNotReadyAddressList 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 DataKubernetesEndpointsV1SubsetNotReadyAddressOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataKubernetesEndpointsV1SubsetNotReadyAddressList = DataKubernetesEndpointsV1SubsetNotReadyAddressList;
_e = JSII_RTTI_SYMBOL_1;
DataKubernetesEndpointsV1SubsetNotReadyAddressList[_e] = { fqn: "@cdktf/provider-kubernetes.dataKubernetesEndpointsV1.DataKubernetesEndpointsV1SubsetNotReadyAddressList", version: "12.1.1" };
function dataKubernetesEndpointsV1SubsetPortToTerraform(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 dataKubernetesEndpointsV1SubsetPortToHclTerraform(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 DataKubernetesEndpointsV1SubsetPortOutputReference 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.DataKubernetesEndpointsV1SubsetPortOutputReference = DataKubernetesEndpointsV1SubsetPortOutputReference;
_f = JSII_RTTI_SYMBOL_1;
DataKubernetesEndpointsV1SubsetPortOutputReference[_f] = { fqn: "@cdktf/provider-kubernetes.dataKubernetesEndpointsV1.DataKubernetesEndpointsV1SubsetPortOutputReference", version: "12.1.1" };
class DataKubernetesEndpointsV1SubsetPortList 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 DataKubernetesEndpointsV1SubsetPortOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataKubernetesEndpointsV1SubsetPortList = DataKubernetesEndpointsV1SubsetPortList;
_g = JSII_RTTI_SYMBOL_1;
DataKubernetesEndpointsV1SubsetPortList[_g] = { fqn: "@cdktf/provider-kubernetes.dataKubernetesEndpointsV1.DataKubernetesEndpointsV1SubsetPortList", version: "12.1.1" };
function dataKubernetesEndpointsV1SubsetToTerraform(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(dataKubernetesEndpointsV1SubsetAddressToTerraform, true)(struct.address),
not_ready_address: cdktf.listMapper(dataKubernetesEndpointsV1SubsetNotReadyAddressToTerraform, true)(struct.notReadyAddress),
port: cdktf.listMapper(dataKubernetesEndpointsV1SubsetPortToTerraform, true)(struct.port),
};
}
function dataKubernetesEndpointsV1SubsetToHclTerraform(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(dataKubernetesEndpointsV1SubsetAddressToHclTerraform, true)(struct.address),
isBlock: true,
type: "set",
storageClassType: "DataKubernetesEndpointsV1SubsetAddressList",
},
not_ready_address: {
value: cdktf.listMapperHcl(dataKubernetesEndpointsV1SubsetNotReadyAddressToHclTerraform, true)(struct.notReadyAddress),
isBlock: true,
type: "set",
storageClassType: "DataKubernetesEndpointsV1SubsetNotReadyAddressList",
},
port: {
value: cdktf.listMapperHcl(dataKubernetesEndpointsV1SubsetPortToHclTerraform, true)(struct.port),
isBlock: true,
type: "set",
storageClassType: "DataKubernetesEndpointsV1SubsetPortList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataKubernetesEndpointsV1SubsetOutputReference 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 DataKubernetesEndpointsV1SubsetAddressList(this, "address", true);
// not_ready_address - computed: false, optional: true, required: false
this._notReadyAddress = new DataKubernetesEndpointsV1SubsetNotReadyAddressList(this, "not_ready_address", true);
// port - computed: false, optional: true, required: false
this._port = new DataKubernetesEndpointsV1SubsetPortList(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.DataKubernetesEndpointsV1SubsetOutputReference = DataKubernetesEndpointsV1SubsetOutputReference;
_h = JSII_RTTI_SYMBOL_1;
DataKubernetesEndpointsV1SubsetOutputReference[_h] = { fqn: "@cdktf/provider-kubernetes.dataKubernetesEndpointsV1.DataKubernetesEndpointsV1SubsetOutputReference", version: "12.1.1" };
class DataKubernetesEndpointsV1SubsetList 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 DataKubernetesEndpointsV1SubsetOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataKubernetesEndpointsV1SubsetList = DataKubernetesEndpointsV1SubsetList;
_j = JSII_RTTI_SYMBOL_1;
DataKubernetesEndpointsV1SubsetList[_j] = { fqn: "@cdktf/provider-kubernetes.dataKubernetesEndpointsV1.DataKubernetesEndpointsV1SubsetList", version: "12.1.1" };
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.38.0/docs/data-sources/endpoints_v1 kubernetes_endpoints_v1}
*/
class DataKubernetesEndpointsV1 extends cdktf.TerraformDataSource {
// ==============
// STATIC Methods
// ==============
/**
* Generates CDKTF code for importing a DataKubernetesEndpointsV1 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 DataKubernetesEndpointsV1 to import
* @param importFromId The id of the existing DataKubernetesEndpointsV1 that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.38.0/docs/data-sources/endpoints_v1#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataKubernetesEndpointsV1 to import is found
*/
static generateConfigForImport(scope, importToId, importFromId, provider) {
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "kubernetes_endpoints_v1", importId: importFromId, provider });
}
// ===========
// INITIALIZER
// ===========
/**
* Create a new {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.38.0/docs/data-sources/endpoints_v1 kubernetes_endpoints_v1} Data Source
*
* @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 DataKubernetesEndpointsV1Config
*/
constructor(scope, id, config) {
super(scope, id, {
terraformResourceType: 'kubernetes_endpoints_v1',
terraformGeneratorMetadata: {
providerName: 'kubernetes',
providerVersion: '2.38.0',
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 DataKubernetesEndpointsV1MetadataOutputReference(this, "metadata");
// subset - computed: false, optional: true, required: false
this._subset = new DataKubernetesEndpointsV1SubsetList(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: dataKubernetesEndpointsV1MetadataToTerraform(this._metadata.internalValue),
subset: cdktf.listMapper(dataKubernetesEndpointsV1SubsetToTerraform, true)(this._subset.internalValue),
};
}
synthesizeHclAttributes() {
const attrs = {
id: {
value: cdktf.stringToHclTerraform(this._id),
isBlock: false,
type: "simple",
storageClassType: "string",
},
metadata: {
value: dataKubernetesEndpointsV1MetadataToHclTerraform(this._metadata.internalValue),
isBlock: true,
type: "list",
storageClassType: "DataKubernetesEndpointsV1MetadataList",
},
subset: {
value: cdktf.listMapperHcl(dataKubernetesEndpointsV1SubsetToHclTerraform, true)(this._subset.internalValue),
isBlock: true,
type: "set",
storageClassType: "DataKubernetesEndpointsV1SubsetList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
}
exports.DataKubernetesEndpointsV1 = DataKubernetesEndpointsV1;
_k = JSII_RTTI_SYMBOL_1;
DataKubernetesEndpointsV1[_k] = { fqn: "@cdktf/provider-kubernetes.dataKubernetesEndpointsV1.DataKubernetesEndpointsV1", version: "12.1.1" };
// =================
// STATIC PROPERTIES
// =================
DataKubernetesEndpointsV1.tfResourceType = "kubernetes_endpoints_v1";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZGF0YS1rdWJlcm5ldGVzLWVuZHBvaW50cy12MS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBbUVBLG9HQVlDO0FBR0QsMEdBd0NDO0FBOEtELDhHQVVDO0FBR0Qsb0hBNEJDO0FBZ0pELDhIQVVDO0FBR0Qsb0lBNEJDO0FBZ0pELHdHQVVDO0FBR0QsOEdBNEJDO0FBZ0pELGdHQVVDO0FBR0Qsc0dBNEJDOztBQW4zQkQsK0JBQStCO0FBMEQvQixTQUFnQiw0Q0FBNEMsQ0FBQyxNQUE2RjtJQUN4SixJQUFJLENBQUMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMsSUFBSSxLQUFLLENBQUMsWUFBWSxDQUFDLFlBQVksQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDO1FBQUMsT0FBTyxNQUFNLENBQUM7SUFBQy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