UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

919 lines 424 kB
"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; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataAwsLbListenerRule = exports.DataAwsLbListenerRuleTransformList = exports.DataAwsLbListenerRuleTransformOutputReference = exports.DataAwsLbListenerRuleTransformUrlRewriteConfigList = exports.DataAwsLbListenerRuleTransformUrlRewriteConfigOutputReference = exports.DataAwsLbListenerRuleTransformUrlRewriteConfigRewriteList = exports.DataAwsLbListenerRuleTransformUrlRewriteConfigRewriteOutputReference = exports.DataAwsLbListenerRuleTransformHostHeaderRewriteConfigList = exports.DataAwsLbListenerRuleTransformHostHeaderRewriteConfigOutputReference = exports.DataAwsLbListenerRuleTransformHostHeaderRewriteConfigRewriteList = exports.DataAwsLbListenerRuleTransformHostHeaderRewriteConfigRewriteOutputReference = exports.DataAwsLbListenerRuleConditionList = exports.DataAwsLbListenerRuleConditionOutputReference = exports.DataAwsLbListenerRuleConditionSourceIpList = exports.DataAwsLbListenerRuleConditionSourceIpOutputReference = exports.DataAwsLbListenerRuleConditionQueryStringList = exports.DataAwsLbListenerRuleConditionQueryStringOutputReference = exports.DataAwsLbListenerRuleConditionQueryStringValuesList = exports.DataAwsLbListenerRuleConditionQueryStringValuesOutputReference = exports.DataAwsLbListenerRuleConditionPathPatternList = exports.DataAwsLbListenerRuleConditionPathPatternOutputReference = exports.DataAwsLbListenerRuleConditionHttpRequestMethodList = exports.DataAwsLbListenerRuleConditionHttpRequestMethodOutputReference = exports.DataAwsLbListenerRuleConditionHttpHeaderList = exports.DataAwsLbListenerRuleConditionHttpHeaderOutputReference = exports.DataAwsLbListenerRuleConditionHostHeaderList = exports.DataAwsLbListenerRuleConditionHostHeaderOutputReference = exports.DataAwsLbListenerRuleActionList = exports.DataAwsLbListenerRuleActionOutputReference = exports.DataAwsLbListenerRuleActionRedirectList = exports.DataAwsLbListenerRuleActionRedirectOutputReference = exports.DataAwsLbListenerRuleActionJwtValidationList = exports.DataAwsLbListenerRuleActionJwtValidationOutputReference = exports.DataAwsLbListenerRuleActionJwtValidationAdditionalClaimList = exports.DataAwsLbListenerRuleActionJwtValidationAdditionalClaimOutputReference = exports.DataAwsLbListenerRuleActionForwardList = exports.DataAwsLbListenerRuleActionForwardOutputReference = exports.DataAwsLbListenerRuleActionForwardTargetGroupList = exports.DataAwsLbListenerRuleActionForwardTargetGroupOutputReference = exports.DataAwsLbListenerRuleActionForwardStickinessList = exports.DataAwsLbListenerRuleActionForwardStickinessOutputReference = exports.DataAwsLbListenerRuleActionFixedResponseList = exports.DataAwsLbListenerRuleActionFixedResponseOutputReference = exports.DataAwsLbListenerRuleActionAuthenticateOidcList = exports.DataAwsLbListenerRuleActionAuthenticateOidcOutputReference = exports.DataAwsLbListenerRuleActionAuthenticateCognitoList = exports.DataAwsLbListenerRuleActionAuthenticateCognitoOutputReference = void 0; exports.dataAwsLbListenerRuleActionAuthenticateCognitoToTerraform = dataAwsLbListenerRuleActionAuthenticateCognitoToTerraform; exports.dataAwsLbListenerRuleActionAuthenticateCognitoToHclTerraform = dataAwsLbListenerRuleActionAuthenticateCognitoToHclTerraform; exports.dataAwsLbListenerRuleActionAuthenticateOidcToTerraform = dataAwsLbListenerRuleActionAuthenticateOidcToTerraform; exports.dataAwsLbListenerRuleActionAuthenticateOidcToHclTerraform = dataAwsLbListenerRuleActionAuthenticateOidcToHclTerraform; exports.dataAwsLbListenerRuleActionFixedResponseToTerraform = dataAwsLbListenerRuleActionFixedResponseToTerraform; exports.dataAwsLbListenerRuleActionFixedResponseToHclTerraform = dataAwsLbListenerRuleActionFixedResponseToHclTerraform; exports.dataAwsLbListenerRuleActionForwardStickinessToTerraform = dataAwsLbListenerRuleActionForwardStickinessToTerraform; exports.dataAwsLbListenerRuleActionForwardStickinessToHclTerraform = dataAwsLbListenerRuleActionForwardStickinessToHclTerraform; exports.dataAwsLbListenerRuleActionForwardTargetGroupToTerraform = dataAwsLbListenerRuleActionForwardTargetGroupToTerraform; exports.dataAwsLbListenerRuleActionForwardTargetGroupToHclTerraform = dataAwsLbListenerRuleActionForwardTargetGroupToHclTerraform; exports.dataAwsLbListenerRuleActionForwardToTerraform = dataAwsLbListenerRuleActionForwardToTerraform; exports.dataAwsLbListenerRuleActionForwardToHclTerraform = dataAwsLbListenerRuleActionForwardToHclTerraform; exports.dataAwsLbListenerRuleActionJwtValidationAdditionalClaimToTerraform = dataAwsLbListenerRuleActionJwtValidationAdditionalClaimToTerraform; exports.dataAwsLbListenerRuleActionJwtValidationAdditionalClaimToHclTerraform = dataAwsLbListenerRuleActionJwtValidationAdditionalClaimToHclTerraform; exports.dataAwsLbListenerRuleActionJwtValidationToTerraform = dataAwsLbListenerRuleActionJwtValidationToTerraform; exports.dataAwsLbListenerRuleActionJwtValidationToHclTerraform = dataAwsLbListenerRuleActionJwtValidationToHclTerraform; exports.dataAwsLbListenerRuleActionRedirectToTerraform = dataAwsLbListenerRuleActionRedirectToTerraform; exports.dataAwsLbListenerRuleActionRedirectToHclTerraform = dataAwsLbListenerRuleActionRedirectToHclTerraform; exports.dataAwsLbListenerRuleActionToTerraform = dataAwsLbListenerRuleActionToTerraform; exports.dataAwsLbListenerRuleActionToHclTerraform = dataAwsLbListenerRuleActionToHclTerraform; exports.dataAwsLbListenerRuleConditionHostHeaderToTerraform = dataAwsLbListenerRuleConditionHostHeaderToTerraform; exports.dataAwsLbListenerRuleConditionHostHeaderToHclTerraform = dataAwsLbListenerRuleConditionHostHeaderToHclTerraform; exports.dataAwsLbListenerRuleConditionHttpHeaderToTerraform = dataAwsLbListenerRuleConditionHttpHeaderToTerraform; exports.dataAwsLbListenerRuleConditionHttpHeaderToHclTerraform = dataAwsLbListenerRuleConditionHttpHeaderToHclTerraform; exports.dataAwsLbListenerRuleConditionHttpRequestMethodToTerraform = dataAwsLbListenerRuleConditionHttpRequestMethodToTerraform; exports.dataAwsLbListenerRuleConditionHttpRequestMethodToHclTerraform = dataAwsLbListenerRuleConditionHttpRequestMethodToHclTerraform; exports.dataAwsLbListenerRuleConditionPathPatternToTerraform = dataAwsLbListenerRuleConditionPathPatternToTerraform; exports.dataAwsLbListenerRuleConditionPathPatternToHclTerraform = dataAwsLbListenerRuleConditionPathPatternToHclTerraform; exports.dataAwsLbListenerRuleConditionQueryStringValuesToTerraform = dataAwsLbListenerRuleConditionQueryStringValuesToTerraform; exports.dataAwsLbListenerRuleConditionQueryStringValuesToHclTerraform = dataAwsLbListenerRuleConditionQueryStringValuesToHclTerraform; exports.dataAwsLbListenerRuleConditionQueryStringToTerraform = dataAwsLbListenerRuleConditionQueryStringToTerraform; exports.dataAwsLbListenerRuleConditionQueryStringToHclTerraform = dataAwsLbListenerRuleConditionQueryStringToHclTerraform; exports.dataAwsLbListenerRuleConditionSourceIpToTerraform = dataAwsLbListenerRuleConditionSourceIpToTerraform; exports.dataAwsLbListenerRuleConditionSourceIpToHclTerraform = dataAwsLbListenerRuleConditionSourceIpToHclTerraform; exports.dataAwsLbListenerRuleConditionToTerraform = dataAwsLbListenerRuleConditionToTerraform; exports.dataAwsLbListenerRuleConditionToHclTerraform = dataAwsLbListenerRuleConditionToHclTerraform; exports.dataAwsLbListenerRuleTransformHostHeaderRewriteConfigRewriteToTerraform = dataAwsLbListenerRuleTransformHostHeaderRewriteConfigRewriteToTerraform; exports.dataAwsLbListenerRuleTransformHostHeaderRewriteConfigRewriteToHclTerraform = dataAwsLbListenerRuleTransformHostHeaderRewriteConfigRewriteToHclTerraform; exports.dataAwsLbListenerRuleTransformHostHeaderRewriteConfigToTerraform = dataAwsLbListenerRuleTransformHostHeaderRewriteConfigToTerraform; exports.dataAwsLbListenerRuleTransformHostHeaderRewriteConfigToHclTerraform = dataAwsLbListenerRuleTransformHostHeaderRewriteConfigToHclTerraform; exports.dataAwsLbListenerRuleTransformUrlRewriteConfigRewriteToTerraform = dataAwsLbListenerRuleTransformUrlRewriteConfigRewriteToTerraform; exports.dataAwsLbListenerRuleTransformUrlRewriteConfigRewriteToHclTerraform = dataAwsLbListenerRuleTransformUrlRewriteConfigRewriteToHclTerraform; exports.dataAwsLbListenerRuleTransformUrlRewriteConfigToTerraform = dataAwsLbListenerRuleTransformUrlRewriteConfigToTerraform; exports.dataAwsLbListenerRuleTransformUrlRewriteConfigToHclTerraform = dataAwsLbListenerRuleTransformUrlRewriteConfigToHclTerraform; exports.dataAwsLbListenerRuleTransformToTerraform = dataAwsLbListenerRuleTransformToTerraform; exports.dataAwsLbListenerRuleTransformToHclTerraform = dataAwsLbListenerRuleTransformToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataAwsLbListenerRuleActionAuthenticateCognitoToTerraform(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 {}; } function dataAwsLbListenerRuleActionAuthenticateCognitoToHclTerraform(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; } class DataAwsLbListenerRuleActionAuthenticateCognitoOutputReference 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; // authentication_request_extra_params - computed: true, optional: false, required: false this._authenticationRequestExtraParams = new cdktf.StringMap(this, "authentication_request_extra_params"); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; } } get authenticationRequestExtraParams() { return this._authenticationRequestExtraParams; } // on_unauthenticated_request - computed: true, optional: false, required: false get onUnauthenticatedRequest() { return this.getStringAttribute('on_unauthenticated_request'); } // scope - computed: true, optional: false, required: false get scope() { return this.getStringAttribute('scope'); } // session_cookie_name - computed: true, optional: false, required: false get sessionCookieName() { return this.getStringAttribute('session_cookie_name'); } // session_timeout - computed: true, optional: false, required: false get sessionTimeout() { return this.getNumberAttribute('session_timeout'); } // user_pool_arn - computed: true, optional: false, required: false get userPoolArn() { return this.getStringAttribute('user_pool_arn'); } // user_pool_client_id - computed: true, optional: false, required: false get userPoolClientId() { return this.getStringAttribute('user_pool_client_id'); } // user_pool_domain - computed: true, optional: false, required: false get userPoolDomain() { return this.getStringAttribute('user_pool_domain'); } } exports.DataAwsLbListenerRuleActionAuthenticateCognitoOutputReference = DataAwsLbListenerRuleActionAuthenticateCognitoOutputReference; _a = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionAuthenticateCognitoOutputReference[_a] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionAuthenticateCognitoOutputReference", version: "21.22.1" }; class DataAwsLbListenerRuleActionAuthenticateCognitoList 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 DataAwsLbListenerRuleActionAuthenticateCognitoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsLbListenerRuleActionAuthenticateCognitoList = DataAwsLbListenerRuleActionAuthenticateCognitoList; _b = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionAuthenticateCognitoList[_b] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionAuthenticateCognitoList", version: "21.22.1" }; function dataAwsLbListenerRuleActionAuthenticateOidcToTerraform(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 {}; } function dataAwsLbListenerRuleActionAuthenticateOidcToHclTerraform(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; } class DataAwsLbListenerRuleActionAuthenticateOidcOutputReference 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; // authentication_request_extra_params - computed: true, optional: false, required: false this._authenticationRequestExtraParams = new cdktf.StringMap(this, "authentication_request_extra_params"); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; } } get authenticationRequestExtraParams() { return this._authenticationRequestExtraParams; } // authorization_endpoint - computed: true, optional: false, required: false get authorizationEndpoint() { return this.getStringAttribute('authorization_endpoint'); } // client_id - computed: true, optional: false, required: false get clientId() { return this.getStringAttribute('client_id'); } // issuer - computed: true, optional: false, required: false get issuer() { return this.getStringAttribute('issuer'); } // on_unauthenticated_request - computed: true, optional: false, required: false get onUnauthenticatedRequest() { return this.getStringAttribute('on_unauthenticated_request'); } // scope - computed: true, optional: false, required: false get scope() { return this.getStringAttribute('scope'); } // session_cookie_name - computed: true, optional: false, required: false get sessionCookieName() { return this.getStringAttribute('session_cookie_name'); } // session_timeout - computed: true, optional: false, required: false get sessionTimeout() { return this.getNumberAttribute('session_timeout'); } // token_endpoint - computed: true, optional: false, required: false get tokenEndpoint() { return this.getStringAttribute('token_endpoint'); } // user_info_endpoint - computed: true, optional: false, required: false get userInfoEndpoint() { return this.getStringAttribute('user_info_endpoint'); } } exports.DataAwsLbListenerRuleActionAuthenticateOidcOutputReference = DataAwsLbListenerRuleActionAuthenticateOidcOutputReference; _c = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionAuthenticateOidcOutputReference[_c] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionAuthenticateOidcOutputReference", version: "21.22.1" }; class DataAwsLbListenerRuleActionAuthenticateOidcList 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 DataAwsLbListenerRuleActionAuthenticateOidcOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsLbListenerRuleActionAuthenticateOidcList = DataAwsLbListenerRuleActionAuthenticateOidcList; _d = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionAuthenticateOidcList[_d] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionAuthenticateOidcList", version: "21.22.1" }; function dataAwsLbListenerRuleActionFixedResponseToTerraform(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 {}; } function dataAwsLbListenerRuleActionFixedResponseToHclTerraform(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; } class DataAwsLbListenerRuleActionFixedResponseOutputReference 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 = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; } } // content_type - computed: true, optional: false, required: false get contentType() { return this.getStringAttribute('content_type'); } // message_body - computed: true, optional: false, required: false get messageBody() { return this.getStringAttribute('message_body'); } // status_code - computed: true, optional: false, required: false get statusCode() { return this.getStringAttribute('status_code'); } } exports.DataAwsLbListenerRuleActionFixedResponseOutputReference = DataAwsLbListenerRuleActionFixedResponseOutputReference; _e = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionFixedResponseOutputReference[_e] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionFixedResponseOutputReference", version: "21.22.1" }; class DataAwsLbListenerRuleActionFixedResponseList 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 DataAwsLbListenerRuleActionFixedResponseOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsLbListenerRuleActionFixedResponseList = DataAwsLbListenerRuleActionFixedResponseList; _f = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionFixedResponseList[_f] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionFixedResponseList", version: "21.22.1" }; function dataAwsLbListenerRuleActionForwardStickinessToTerraform(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 {}; } function dataAwsLbListenerRuleActionForwardStickinessToHclTerraform(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; } class DataAwsLbListenerRuleActionForwardStickinessOutputReference 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 = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; } } // duration - computed: true, optional: false, required: false get duration() { return this.getNumberAttribute('duration'); } // enabled - computed: true, optional: false, required: false get enabled() { return this.getBooleanAttribute('enabled'); } } exports.DataAwsLbListenerRuleActionForwardStickinessOutputReference = DataAwsLbListenerRuleActionForwardStickinessOutputReference; _g = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionForwardStickinessOutputReference[_g] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionForwardStickinessOutputReference", version: "21.22.1" }; class DataAwsLbListenerRuleActionForwardStickinessList 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 DataAwsLbListenerRuleActionForwardStickinessOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsLbListenerRuleActionForwardStickinessList = DataAwsLbListenerRuleActionForwardStickinessList; _h = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionForwardStickinessList[_h] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionForwardStickinessList", version: "21.22.1" }; function dataAwsLbListenerRuleActionForwardTargetGroupToTerraform(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 {}; } function dataAwsLbListenerRuleActionForwardTargetGroupToHclTerraform(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; } class DataAwsLbListenerRuleActionForwardTargetGroupOutputReference 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 = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; } } // arn - computed: true, optional: false, required: false get arn() { return this.getStringAttribute('arn'); } // weight - computed: true, optional: false, required: false get weight() { return this.getNumberAttribute('weight'); } } exports.DataAwsLbListenerRuleActionForwardTargetGroupOutputReference = DataAwsLbListenerRuleActionForwardTargetGroupOutputReference; _j = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionForwardTargetGroupOutputReference[_j] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionForwardTargetGroupOutputReference", version: "21.22.1" }; class DataAwsLbListenerRuleActionForwardTargetGroupList 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 DataAwsLbListenerRuleActionForwardTargetGroupOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsLbListenerRuleActionForwardTargetGroupList = DataAwsLbListenerRuleActionForwardTargetGroupList; _k = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionForwardTargetGroupList[_k] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionForwardTargetGroupList", version: "21.22.1" }; function dataAwsLbListenerRuleActionForwardToTerraform(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 { stickiness: cdktf.listMapper(dataAwsLbListenerRuleActionForwardStickinessToTerraform, true)(struct.stickiness), target_group: cdktf.listMapper(dataAwsLbListenerRuleActionForwardTargetGroupToTerraform, true)(struct.targetGroup), }; } function dataAwsLbListenerRuleActionForwardToHclTerraform(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 = { stickiness: { value: cdktf.listMapperHcl(dataAwsLbListenerRuleActionForwardStickinessToHclTerraform, true)(struct.stickiness), isBlock: true, type: "list", storageClassType: "DataAwsLbListenerRuleActionForwardStickinessList", }, target_group: { value: cdktf.listMapperHcl(dataAwsLbListenerRuleActionForwardTargetGroupToHclTerraform, true)(struct.targetGroup), isBlock: true, type: "set", storageClassType: "DataAwsLbListenerRuleActionForwardTargetGroupList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class DataAwsLbListenerRuleActionForwardOutputReference 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; // stickiness - computed: false, optional: true, required: false this._stickiness = new DataAwsLbListenerRuleActionForwardStickinessList(this, "stickiness", false); // target_group - computed: false, optional: true, required: false this._targetGroup = new DataAwsLbListenerRuleActionForwardTargetGroupList(this, "target_group", true); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._stickiness?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.stickiness = this._stickiness?.internalValue; } if (this._targetGroup?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.targetGroup = this._targetGroup?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._stickiness.internalValue = undefined; this._targetGroup.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._stickiness.internalValue = value.stickiness; this._targetGroup.internalValue = value.targetGroup; } } get stickiness() { return this._stickiness; } putStickiness(value) { this._stickiness.internalValue = value; } resetStickiness() { this._stickiness.internalValue = undefined; } // Temporarily expose input value. Use with caution. get stickinessInput() { return this._stickiness.internalValue; } get targetGroup() { return this._targetGroup; } putTargetGroup(value) { this._targetGroup.internalValue = value; } resetTargetGroup() { this._targetGroup.internalValue = undefined; } // Temporarily expose input value. Use with caution. get targetGroupInput() { return this._targetGroup.internalValue; } } exports.DataAwsLbListenerRuleActionForwardOutputReference = DataAwsLbListenerRuleActionForwardOutputReference; _l = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionForwardOutputReference[_l] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionForwardOutputReference", version: "21.22.1" }; class DataAwsLbListenerRuleActionForwardList 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 DataAwsLbListenerRuleActionForwardOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsLbListenerRuleActionForwardList = DataAwsLbListenerRuleActionForwardList; _m = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionForwardList[_m] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionForwardList", version: "21.22.1" }; function dataAwsLbListenerRuleActionJwtValidationAdditionalClaimToTerraform(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 {}; } function dataAwsLbListenerRuleActionJwtValidationAdditionalClaimToHclTerraform(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; } class DataAwsLbListenerRuleActionJwtValidationAdditionalClaimOutputReference 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 = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; } } // format - computed: true, optional: false, required: false get format() { return this.getStringAttribute('format'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } // values - computed: true, optional: false, required: false get values() { return cdktf.Fn.tolist(this.getListAttribute('values')); } } exports.DataAwsLbListenerRuleActionJwtValidationAdditionalClaimOutputReference = DataAwsLbListenerRuleActionJwtValidationAdditionalClaimOutputReference; _o = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionJwtValidationAdditionalClaimOutputReference[_o] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionJwtValidationAdditionalClaimOutputReference", version: "21.22.1" }; class DataAwsLbListenerRuleActionJwtValidationAdditionalClaimList 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 DataAwsLbListenerRuleActionJwtValidationAdditionalClaimOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsLbListenerRuleActionJwtValidationAdditionalClaimList = DataAwsLbListenerRuleActionJwtValidationAdditionalClaimList; _p = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionJwtValidationAdditionalClaimList[_p] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionJwtValidationAdditionalClaimList", version: "21.22.1" }; function dataAwsLbListenerRuleActionJwtValidationToTerraform(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 { additional_claim: cdktf.listMapper(dataAwsLbListenerRuleActionJwtValidationAdditionalClaimToTerraform, true)(struct.additionalClaim), }; } function dataAwsLbListenerRuleActionJwtValidationToHclTerraform(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 = { additional_claim: { value: cdktf.listMapperHcl(dataAwsLbListenerRuleActionJwtValidationAdditionalClaimToHclTerraform, true)(struct.additionalClaim), isBlock: true, type: "set", storageClassType: "DataAwsLbListenerRuleActionJwtValidationAdditionalClaimList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class DataAwsLbListenerRuleActionJwtValidationOutputReference 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; // additional_claim - computed: false, optional: true, required: false this._additionalClaim = new DataAwsLbListenerRuleActionJwtValidationAdditionalClaimList(this, "additional_claim", true); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._additionalClaim?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.additionalClaim = this._additionalClaim?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._additionalClaim.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._additionalClaim.internalValue = value.additionalClaim; } } // issuer - computed: true, optional: false, required: false get issuer() { return this.getStringAttribute('issuer'); } // jwks_endpoint - computed: true, optional: false, required: false get jwksEndpoint() { return this.getStringAttribute('jwks_endpoint'); } get additionalClaim() { return this._additionalClaim; } putAdditionalClaim(value) { this._additionalClaim.internalValue = value; } resetAdditionalClaim() { this._additionalClaim.internalValue = undefined; } // Temporarily expose input value. Use with caution. get additionalClaimInput() { return this._additionalClaim.internalValue; } } exports.DataAwsLbListenerRuleActionJwtValidationOutputReference = DataAwsLbListenerRuleActionJwtValidationOutputReference; _q = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionJwtValidationOutputReference[_q] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionJwtValidationOutputReference", version: "21.22.1" }; class DataAwsLbListenerRuleActionJwtValidationList 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 DataAwsLbListenerRuleActionJwtValidationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsLbListenerRuleActionJwtValidationList = DataAwsLbListenerRuleActionJwtValidationList; _r = JSII_RTTI_SYMBOL_1; DataAwsLbListenerRuleActionJwtValidationList[_r] = { fqn: "@cdktf/provider-aws.dataAwsLbListenerRule.DataAwsLbListenerRuleActionJwtValidationList", version: "21.22.1" }; function dataAwsLbListenerRuleActionRedirectToTerraform(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 {}; } function dataAwsLbListenerRuleActionRedirectToHclTerraform(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; } class DataAwsLbListenerRuleActionRedirectOutputReference 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 inte