@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
619 lines • 585 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesEmptyDirToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesEmptyDirToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesMetadataList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesMetadataOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesMetadataToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesMetadataToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersVolumeMountsList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersVolumeMountsOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersVolumeMountsToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersVolumeMountsToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersSecurityContextList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersSecurityContextOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersSecurityContextToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersSecurityContextToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersResourcesList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersResourcesOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersResourcesToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersResourcesToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvToTerraform = void 0;
exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLogConfigurationSecretOptionsList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLogConfigurationSecretOptionsOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLogConfigurationSecretOptionsToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLogConfigurationSecretOptionsToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersTmpfsList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersTmpfsOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersTmpfsToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersTmpfsToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersDevicesList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersDevicesOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersDevicesToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLinuxParametersDevicesToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerFargatePlatformConfigurationList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerFargatePlatformConfigurationOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerFargatePlatformConfigurationToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerFargatePlatformConfigurationToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerEphemeralStorageList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerEphemeralStorageOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerEphemeralStorageToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerEphemeralStorageToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerEnvironmentList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerEnvironmentOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerEnvironmentToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerEnvironmentToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesList = exports.DataAwsBatchJobDefinitionEksPropertiesOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesSecretList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesSecretOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesSecretToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesSecretToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesHostPathList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesHostPathOutputReference = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesHostPathToHclTerraform = exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesHostPathToTerraform = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesEmptyDirList = exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesVolumesEmptyDirOutputReference = void 0;
exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesHostList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesHostOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesHostToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesHostToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesEfsVolumeConfigurationList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesEfsVolumeConfigurationOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesEfsVolumeConfigurationToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesEfsVolumeConfigurationToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesEfsVolumeConfigurationAuthorizationConfigList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesEfsVolumeConfigurationAuthorizationConfigOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesEfsVolumeConfigurationAuthorizationConfigToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerVolumesEfsVolumeConfigurationAuthorizationConfigToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerUlimitsList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerUlimitsOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerUlimitsToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerUlimitsToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerSecretsList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerSecretsOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerSecretsToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerSecretsToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerRuntimePlatformList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerRuntimePlatformOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerRuntimePlatformToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerRuntimePlatformToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerResourceRequirementsList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerResourceRequirementsOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerResourceRequirementsToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerResourceRequirementsToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerNetworkConfigurationList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerNetworkConfigurationOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerNetworkConfigurationToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerNetworkConfigurationToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerMountPointsList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerMountPointsOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerMountPointsToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerMountPointsToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLogConfigurationList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLogConfigurationOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLogConfigurationToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesContainerLogConfigurationToTerraform = void 0;
exports.DataAwsBatchJobDefinition = exports.DataAwsBatchJobDefinitionTimeoutList = exports.DataAwsBatchJobDefinitionTimeoutOutputReference = exports.dataAwsBatchJobDefinitionTimeoutToHclTerraform = exports.dataAwsBatchJobDefinitionTimeoutToTerraform = exports.DataAwsBatchJobDefinitionRetryStrategyList = exports.DataAwsBatchJobDefinitionRetryStrategyOutputReference = exports.dataAwsBatchJobDefinitionRetryStrategyToHclTerraform = exports.dataAwsBatchJobDefinitionRetryStrategyToTerraform = exports.DataAwsBatchJobDefinitionRetryStrategyEvaluateOnExitList = exports.DataAwsBatchJobDefinitionRetryStrategyEvaluateOnExitOutputReference = exports.dataAwsBatchJobDefinitionRetryStrategyEvaluateOnExitToHclTerraform = exports.dataAwsBatchJobDefinitionRetryStrategyEvaluateOnExitToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesList = exports.DataAwsBatchJobDefinitionNodePropertiesOutputReference = exports.dataAwsBatchJobDefinitionNodePropertiesToHclTerraform = exports.dataAwsBatchJobDefinitionNodePropertiesToTerraform = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesList = exports.DataAwsBatchJobDefinitionNodePropertiesNodeRangePropertiesOutputReference = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvToTerraform(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 {};
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvToTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvToTerraform;
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvToHclTerraform(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 = {};
return attrs;
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvToHclTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvToHclTerraform;
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputReference 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() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// value - computed: true, optional: false, required: false
get value() {
return this.getStringAttribute('value');
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputReference = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputReference[_a] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputReference", version: "19.50.0" };
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvList 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 DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvList = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvList;
_b = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvList[_b] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvList", version: "19.50.0" };
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesToTerraform(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 {};
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesToTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesToTerraform;
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesToHclTerraform(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 = {};
return attrs;
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesToHclTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesToHclTerraform;
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputReference 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;
// limits - computed: true, optional: false, required: false
this._limits = new cdktf.StringMap(this, "limits");
// requests - computed: true, optional: false, required: false
this._requests = new cdktf.StringMap(this, "requests");
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
get limits() {
return this._limits;
}
get requests() {
return this._requests;
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputReference = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputReference[_c] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputReference", version: "19.50.0" };
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesList 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 DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesList = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesList;
_d = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesList[_d] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesList", version: "19.50.0" };
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextToTerraform(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 {};
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextToTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextToTerraform;
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextToHclTerraform(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 = {};
return attrs;
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextToHclTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextToHclTerraform;
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputReference 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() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// privileged - computed: true, optional: false, required: false
get privileged() {
return this.getBooleanAttribute('privileged');
}
// read_only_root_file_system - computed: true, optional: false, required: false
get readOnlyRootFileSystem() {
return this.getBooleanAttribute('read_only_root_file_system');
}
// run_as_group - computed: true, optional: false, required: false
get runAsGroup() {
return this.getNumberAttribute('run_as_group');
}
// run_as_non_root - computed: true, optional: false, required: false
get runAsNonRoot() {
return this.getBooleanAttribute('run_as_non_root');
}
// run_as_user - computed: true, optional: false, required: false
get runAsUser() {
return this.getNumberAttribute('run_as_user');
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputReference = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputReference[_e] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputReference", version: "19.50.0" };
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextList 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 DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextList = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextList;
_f = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextList[_f] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextList", version: "19.50.0" };
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsToTerraform(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 {};
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsToTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsToTerraform;
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsToHclTerraform(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 = {};
return attrs;
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsToHclTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsToHclTerraform;
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsOutputReference 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() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// mount_path - computed: true, optional: false, required: false
get mountPath() {
return this.getStringAttribute('mount_path');
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// read_only - computed: true, optional: false, required: false
get readOnly() {
return this.getBooleanAttribute('read_only');
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsOutputReference = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsOutputReference[_g] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsOutputReference", version: "19.50.0" };
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsList 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 DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsList = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsList;
_h = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsList[_h] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsList", version: "19.50.0" };
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersToTerraform(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 {};
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersToTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersToTerraform;
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersToHclTerraform(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 = {};
return attrs;
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersToHclTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersToHclTerraform;
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersOutputReference 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;
// env - computed: true, optional: false, required: false
this._env = new DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersEnvList(this, "env", false);
// resources - computed: true, optional: false, required: false
this._resources = new DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersResourcesList(this, "resources", false);
// security_context - computed: true, optional: false, required: false
this._securityContext = new DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextList(this, "security_context", false);
// volume_mounts - computed: true, optional: false, required: false
this._volumeMounts = new DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountsList(this, "volume_mounts", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// args - computed: true, optional: false, required: false
get args() {
return this.getListAttribute('args');
}
// command - computed: true, optional: false, required: false
get command() {
return this.getListAttribute('command');
}
get env() {
return this._env;
}
// image - computed: true, optional: false, required: false
get image() {
return this.getStringAttribute('image');
}
// image_pull_policy - computed: true, optional: false, required: false
get imagePullPolicy() {
return this.getStringAttribute('image_pull_policy');
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
get resources() {
return this._resources;
}
get securityContext() {
return this._securityContext;
}
get volumeMounts() {
return this._volumeMounts;
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersOutputReference = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersOutputReference[_j] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersOutputReference", version: "19.50.0" };
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersList 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 DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersList = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersList;
_k = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersList[_k] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesContainersList", version: "19.50.0" };
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsToTerraform(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 {};
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsToTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsToTerraform;
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsToHclTerraform(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 = {};
return attrs;
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsToHclTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsToHclTerraform;
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsOutputReference 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() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsOutputReference = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsOutputReference[_l] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsOutputReference", version: "19.50.0" };
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsList 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 DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsList = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsList;
_m = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsList[_m] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesImagePullSecretsList", version: "19.50.0" };
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvToTerraform(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 {};
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvToTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvToTerraform;
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvToHclTerraform(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 = {};
return attrs;
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvToHclTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvToHclTerraform;
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvOutputReference 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() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// value - computed: true, optional: false, required: false
get value() {
return this.getStringAttribute('value');
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvOutputReference = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvOutputReference[_o] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvOutputReference", version: "19.50.0" };
class DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvList 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 DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvList = DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvList;
_p = JSII_RTTI_SYMBOL_1;
DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvList[_p] = { fqn: "@cdktf/provider-aws.dataAwsBatchJobDefinition.DataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersEnvList", version: "19.50.0" };
function dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersResourcesToTerraform(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 {};
}
exports.dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersResourcesToTerraform = dataAwsBatchJobDefinitionEksPropertiesPodPropertiesInitContainersResourcesToTerraform;
function dataAwsBatchJobDefinitionEksPrope