UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

1,048 lines 208 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r; Object.defineProperty(exports, "__esModule", { value: true }); exports.BedrockagentAgentActionGroup = exports.BedrockagentAgentActionGroupTimeoutsOutputReference = exports.bedrockagentAgentActionGroupTimeoutsToHclTerraform = exports.bedrockagentAgentActionGroupTimeoutsToTerraform = exports.BedrockagentAgentActionGroupFunctionSchemaList = exports.BedrockagentAgentActionGroupFunctionSchemaOutputReference = exports.bedrockagentAgentActionGroupFunctionSchemaToHclTerraform = exports.bedrockagentAgentActionGroupFunctionSchemaToTerraform = exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsList = exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsOutputReference = exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsToHclTerraform = exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsToTerraform = exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsList = exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsOutputReference = exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsToHclTerraform = exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsToTerraform = exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersList = exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersOutputReference = exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersToHclTerraform = exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersToTerraform = exports.BedrockagentAgentActionGroupApiSchemaList = exports.BedrockagentAgentActionGroupApiSchemaOutputReference = exports.bedrockagentAgentActionGroupApiSchemaToHclTerraform = exports.bedrockagentAgentActionGroupApiSchemaToTerraform = exports.BedrockagentAgentActionGroupApiSchemaS3List = exports.BedrockagentAgentActionGroupApiSchemaS3OutputReference = exports.bedrockagentAgentActionGroupApiSchemaS3ToHclTerraform = exports.bedrockagentAgentActionGroupApiSchemaS3ToTerraform = exports.BedrockagentAgentActionGroupActionGroupExecutorList = exports.BedrockagentAgentActionGroupActionGroupExecutorOutputReference = exports.bedrockagentAgentActionGroupActionGroupExecutorToHclTerraform = exports.bedrockagentAgentActionGroupActionGroupExecutorToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function bedrockagentAgentActionGroupActionGroupExecutorToTerraform(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 { custom_control: cdktf.stringToTerraform(struct.customControl), lambda: cdktf.stringToTerraform(struct.lambda), }; } exports.bedrockagentAgentActionGroupActionGroupExecutorToTerraform = bedrockagentAgentActionGroupActionGroupExecutorToTerraform; function bedrockagentAgentActionGroupActionGroupExecutorToHclTerraform(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 = { custom_control: { value: cdktf.stringToHclTerraform(struct.customControl), isBlock: false, type: "simple", storageClassType: "string", }, lambda: { value: cdktf.stringToHclTerraform(struct.lambda), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.bedrockagentAgentActionGroupActionGroupExecutorToHclTerraform = bedrockagentAgentActionGroupActionGroupExecutorToHclTerraform; class BedrockagentAgentActionGroupActionGroupExecutorOutputReference 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._customControl !== undefined) { hasAnyValues = true; internalValueResult.customControl = this._customControl; } if (this._lambda !== undefined) { hasAnyValues = true; internalValueResult.lambda = this._lambda; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._customControl = undefined; this._lambda = 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._customControl = value.customControl; this._lambda = value.lambda; } } get customControl() { return this.getStringAttribute('custom_control'); } set customControl(value) { this._customControl = value; } resetCustomControl() { this._customControl = undefined; } // Temporarily expose input value. Use with caution. get customControlInput() { return this._customControl; } get lambda() { return this.getStringAttribute('lambda'); } set lambda(value) { this._lambda = value; } resetLambda() { this._lambda = undefined; } // Temporarily expose input value. Use with caution. get lambdaInput() { return this._lambda; } } exports.BedrockagentAgentActionGroupActionGroupExecutorOutputReference = BedrockagentAgentActionGroupActionGroupExecutorOutputReference; _a = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupActionGroupExecutorOutputReference[_a] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupActionGroupExecutorOutputReference", version: "19.50.0" }; class BedrockagentAgentActionGroupActionGroupExecutorList 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 BedrockagentAgentActionGroupActionGroupExecutorOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.BedrockagentAgentActionGroupActionGroupExecutorList = BedrockagentAgentActionGroupActionGroupExecutorList; _b = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupActionGroupExecutorList[_b] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupActionGroupExecutorList", version: "19.50.0" }; function bedrockagentAgentActionGroupApiSchemaS3ToTerraform(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 { s3_bucket_name: cdktf.stringToTerraform(struct.s3BucketName), s3_object_key: cdktf.stringToTerraform(struct.s3ObjectKey), }; } exports.bedrockagentAgentActionGroupApiSchemaS3ToTerraform = bedrockagentAgentActionGroupApiSchemaS3ToTerraform; function bedrockagentAgentActionGroupApiSchemaS3ToHclTerraform(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 = { s3_bucket_name: { value: cdktf.stringToHclTerraform(struct.s3BucketName), isBlock: false, type: "simple", storageClassType: "string", }, s3_object_key: { value: cdktf.stringToHclTerraform(struct.s3ObjectKey), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.bedrockagentAgentActionGroupApiSchemaS3ToHclTerraform = bedrockagentAgentActionGroupApiSchemaS3ToHclTerraform; class BedrockagentAgentActionGroupApiSchemaS3OutputReference 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._s3BucketName !== undefined) { hasAnyValues = true; internalValueResult.s3BucketName = this._s3BucketName; } if (this._s3ObjectKey !== undefined) { hasAnyValues = true; internalValueResult.s3ObjectKey = this._s3ObjectKey; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._s3BucketName = undefined; this._s3ObjectKey = 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._s3BucketName = value.s3BucketName; this._s3ObjectKey = value.s3ObjectKey; } } get s3BucketName() { return this.getStringAttribute('s3_bucket_name'); } set s3BucketName(value) { this._s3BucketName = value; } resetS3BucketName() { this._s3BucketName = undefined; } // Temporarily expose input value. Use with caution. get s3BucketNameInput() { return this._s3BucketName; } get s3ObjectKey() { return this.getStringAttribute('s3_object_key'); } set s3ObjectKey(value) { this._s3ObjectKey = value; } resetS3ObjectKey() { this._s3ObjectKey = undefined; } // Temporarily expose input value. Use with caution. get s3ObjectKeyInput() { return this._s3ObjectKey; } } exports.BedrockagentAgentActionGroupApiSchemaS3OutputReference = BedrockagentAgentActionGroupApiSchemaS3OutputReference; _c = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupApiSchemaS3OutputReference[_c] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupApiSchemaS3OutputReference", version: "19.50.0" }; class BedrockagentAgentActionGroupApiSchemaS3List 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 BedrockagentAgentActionGroupApiSchemaS3OutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.BedrockagentAgentActionGroupApiSchemaS3List = BedrockagentAgentActionGroupApiSchemaS3List; _d = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupApiSchemaS3List[_d] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupApiSchemaS3List", version: "19.50.0" }; function bedrockagentAgentActionGroupApiSchemaToTerraform(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 { payload: cdktf.stringToTerraform(struct.payload), s3: cdktf.listMapper(bedrockagentAgentActionGroupApiSchemaS3ToTerraform, true)(struct.s3), }; } exports.bedrockagentAgentActionGroupApiSchemaToTerraform = bedrockagentAgentActionGroupApiSchemaToTerraform; function bedrockagentAgentActionGroupApiSchemaToHclTerraform(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 = { payload: { value: cdktf.stringToHclTerraform(struct.payload), isBlock: false, type: "simple", storageClassType: "string", }, s3: { value: cdktf.listMapperHcl(bedrockagentAgentActionGroupApiSchemaS3ToHclTerraform, true)(struct.s3), isBlock: true, type: "list", storageClassType: "BedrockagentAgentActionGroupApiSchemaS3List", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.bedrockagentAgentActionGroupApiSchemaToHclTerraform = bedrockagentAgentActionGroupApiSchemaToHclTerraform; class BedrockagentAgentActionGroupApiSchemaOutputReference 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; // s3 - computed: false, optional: true, required: false this._s3 = new BedrockagentAgentActionGroupApiSchemaS3List(this, "s3", false); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._payload !== undefined) { hasAnyValues = true; internalValueResult.payload = this._payload; } if (this._s3?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.s3 = this._s3?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._payload = undefined; this._s3.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._payload = value.payload; this._s3.internalValue = value.s3; } } get payload() { return this.getStringAttribute('payload'); } set payload(value) { this._payload = value; } resetPayload() { this._payload = undefined; } // Temporarily expose input value. Use with caution. get payloadInput() { return this._payload; } get s3() { return this._s3; } putS3(value) { this._s3.internalValue = value; } resetS3() { this._s3.internalValue = undefined; } // Temporarily expose input value. Use with caution. get s3Input() { return this._s3.internalValue; } } exports.BedrockagentAgentActionGroupApiSchemaOutputReference = BedrockagentAgentActionGroupApiSchemaOutputReference; _e = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupApiSchemaOutputReference[_e] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupApiSchemaOutputReference", version: "19.50.0" }; class BedrockagentAgentActionGroupApiSchemaList 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 BedrockagentAgentActionGroupApiSchemaOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.BedrockagentAgentActionGroupApiSchemaList = BedrockagentAgentActionGroupApiSchemaList; _f = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupApiSchemaList[_f] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupApiSchemaList", version: "19.50.0" }; function bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersToTerraform(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 { description: cdktf.stringToTerraform(struct.description), map_block_key: cdktf.stringToTerraform(struct.mapBlockKey), required: cdktf.booleanToTerraform(struct.required), type: cdktf.stringToTerraform(struct.type), }; } exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersToTerraform = bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersToTerraform; function bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersToHclTerraform(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 = { description: { value: cdktf.stringToHclTerraform(struct.description), isBlock: false, type: "simple", storageClassType: "string", }, map_block_key: { value: cdktf.stringToHclTerraform(struct.mapBlockKey), isBlock: false, type: "simple", storageClassType: "string", }, required: { value: cdktf.booleanToHclTerraform(struct.required), isBlock: false, type: "simple", storageClassType: "boolean", }, type: { value: cdktf.stringToHclTerraform(struct.type), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersToHclTerraform = bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersToHclTerraform; class BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersOutputReference 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._description !== undefined) { hasAnyValues = true; internalValueResult.description = this._description; } if (this._mapBlockKey !== undefined) { hasAnyValues = true; internalValueResult.mapBlockKey = this._mapBlockKey; } if (this._required !== undefined) { hasAnyValues = true; internalValueResult.required = this._required; } if (this._type !== undefined) { hasAnyValues = true; internalValueResult.type = this._type; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._description = undefined; this._mapBlockKey = undefined; this._required = undefined; this._type = 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._description = value.description; this._mapBlockKey = value.mapBlockKey; this._required = value.required; this._type = value.type; } } get description() { return this.getStringAttribute('description'); } set description(value) { this._description = value; } resetDescription() { this._description = undefined; } // Temporarily expose input value. Use with caution. get descriptionInput() { return this._description; } get mapBlockKey() { return this.getStringAttribute('map_block_key'); } set mapBlockKey(value) { this._mapBlockKey = value; } // Temporarily expose input value. Use with caution. get mapBlockKeyInput() { return this._mapBlockKey; } get required() { return this.getBooleanAttribute('required'); } set required(value) { this._required = value; } resetRequired() { this._required = undefined; } // Temporarily expose input value. Use with caution. get requiredInput() { return this._required; } get type() { return this.getStringAttribute('type'); } set type(value) { this._type = value; } // Temporarily expose input value. Use with caution. get typeInput() { return this._type; } } exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersOutputReference = BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersOutputReference; _g = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersOutputReference[_g] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersOutputReference", version: "19.50.0" }; class BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersList 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 BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersList = BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersList; _h = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersList[_h] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersList", version: "19.50.0" }; function bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsToTerraform(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 { description: cdktf.stringToTerraform(struct.description), name: cdktf.stringToTerraform(struct.name), parameters: cdktf.listMapper(bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersToTerraform, true)(struct.parameters), }; } exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsToTerraform = bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsToTerraform; function bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsToHclTerraform(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 = { description: { value: cdktf.stringToHclTerraform(struct.description), isBlock: false, type: "simple", storageClassType: "string", }, name: { value: cdktf.stringToHclTerraform(struct.name), isBlock: false, type: "simple", storageClassType: "string", }, parameters: { value: cdktf.listMapperHcl(bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersToHclTerraform, true)(struct.parameters), isBlock: true, type: "set", storageClassType: "BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsToHclTerraform = bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsToHclTerraform; class BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsOutputReference 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; // parameters - computed: false, optional: true, required: false this._parameters = new BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsParametersList(this, "parameters", true); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._description !== undefined) { hasAnyValues = true; internalValueResult.description = this._description; } if (this._name !== undefined) { hasAnyValues = true; internalValueResult.name = this._name; } if (this._parameters?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.parameters = this._parameters?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._description = undefined; this._name = undefined; this._parameters.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._description = value.description; this._name = value.name; this._parameters.internalValue = value.parameters; } } get description() { return this.getStringAttribute('description'); } set description(value) { this._description = value; } resetDescription() { this._description = undefined; } // Temporarily expose input value. Use with caution. get descriptionInput() { return this._description; } get name() { return this.getStringAttribute('name'); } set name(value) { this._name = value; } // Temporarily expose input value. Use with caution. get nameInput() { return this._name; } get parameters() { return this._parameters; } putParameters(value) { this._parameters.internalValue = value; } resetParameters() { this._parameters.internalValue = undefined; } // Temporarily expose input value. Use with caution. get parametersInput() { return this._parameters.internalValue; } } exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsOutputReference = BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsOutputReference; _j = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsOutputReference[_j] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsOutputReference", version: "19.50.0" }; class BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsList 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 BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsList = BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsList; _k = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsList[_k] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsList", version: "19.50.0" }; function bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsToTerraform(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 { functions: cdktf.listMapper(bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsToTerraform, true)(struct.functions), }; } exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsToTerraform = bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsToTerraform; function bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsToHclTerraform(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 = { functions: { value: cdktf.listMapperHcl(bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsToHclTerraform, true)(struct.functions), isBlock: true, type: "list", storageClassType: "BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsToHclTerraform = bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsToHclTerraform; class BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsOutputReference 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; // functions - computed: false, optional: true, required: false this._functions = new BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsFunctionsList(this, "functions", false); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._functions?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.functions = this._functions?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._functions.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._functions.internalValue = value.functions; } } get functions() { return this._functions; } putFunctions(value) { this._functions.internalValue = value; } resetFunctions() { this._functions.internalValue = undefined; } // Temporarily expose input value. Use with caution. get functionsInput() { return this._functions.internalValue; } } exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsOutputReference = BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsOutputReference; _l = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsOutputReference[_l] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsOutputReference", version: "19.50.0" }; class BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsList 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 BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsList = BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsList; _m = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsList[_m] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsList", version: "19.50.0" }; function bedrockagentAgentActionGroupFunctionSchemaToTerraform(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 { member_functions: cdktf.listMapper(bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsToTerraform, true)(struct.memberFunctions), }; } exports.bedrockagentAgentActionGroupFunctionSchemaToTerraform = bedrockagentAgentActionGroupFunctionSchemaToTerraform; function bedrockagentAgentActionGroupFunctionSchemaToHclTerraform(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 = { member_functions: { value: cdktf.listMapperHcl(bedrockagentAgentActionGroupFunctionSchemaMemberFunctionsToHclTerraform, true)(struct.memberFunctions), isBlock: true, type: "list", storageClassType: "BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.bedrockagentAgentActionGroupFunctionSchemaToHclTerraform = bedrockagentAgentActionGroupFunctionSchemaToHclTerraform; class BedrockagentAgentActionGroupFunctionSchemaOutputReference 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; // member_functions - computed: false, optional: true, required: false this._memberFunctions = new BedrockagentAgentActionGroupFunctionSchemaMemberFunctionsList(this, "member_functions", false); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._memberFunctions?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.memberFunctions = this._memberFunctions?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._memberFunctions.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._memberFunctions.internalValue = value.memberFunctions; } } get memberFunctions() { return this._memberFunctions; } putMemberFunctions(value) { this._memberFunctions.internalValue = value; } resetMemberFunctions() { this._memberFunctions.internalValue = undefined; } // Temporarily expose input value. Use with caution. get memberFunctionsInput() { return this._memberFunctions.internalValue; } } exports.BedrockagentAgentActionGroupFunctionSchemaOutputReference = BedrockagentAgentActionGroupFunctionSchemaOutputReference; _o = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupFunctionSchemaOutputReference[_o] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupFunctionSchemaOutputReference", version: "19.50.0" }; class BedrockagentAgentActionGroupFunctionSchemaList 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 BedrockagentAgentActionGroupFunctionSchemaOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.BedrockagentAgentActionGroupFunctionSchemaList = BedrockagentAgentActionGroupFunctionSchemaList; _p = JSII_RTTI_SYMBOL_1; BedrockagentAgentActionGroupFunctionSchemaList[_p] = { fqn: "@cdktf/provider-aws.bedrockagentAgentActionGroup.BedrockagentAgentActionGroupFunctionSchemaList", version: "19.50.0" }; function bedrockagentAgentActionGroupTimeoutsToTerraform(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 { create: cdktf.stringToTerraform(struct.create), update: cdktf.stringToTerraform(struct.update), }; } exports.bedrockagentAgentActionGroupTimeoutsToTerraform = bedrockagentAgentActionGroupTimeoutsToTerraform; function bedrockagentAgentActionGroupTimeoutsToHclTerraform(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 = { create: { value: cdktf.stringToHclTerraform(struct.create), isBlock: false, type: "simple", storageClassType: "string", }, update: { value: cdktf.stringToHclTerraform(struct.update), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.bedrockagentAgentActionGroupTimeoutsToHclTerraform = bedrockagentAgentActionGroupTimeoutsToHclTerraform; class BedrockagentAgentActionGroupTimeoutsOutputReference 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); this.isEmptyObject = false; } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._create !== undefined) { hasAnyValues = true; internalValueResult.create = this._create; } if (this._update !== undefined) { hasAnyValues = true; internalValueResult.update = this._update; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._create = undefined; this._update = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false;