@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
973 lines • 185 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;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataAwsLbListener = exports.DataAwsLbListenerTimeoutsOutputReference = exports.DataAwsLbListenerMutualAuthenticationList = exports.DataAwsLbListenerMutualAuthenticationOutputReference = exports.DataAwsLbListenerDefaultActionList = exports.DataAwsLbListenerDefaultActionOutputReference = exports.DataAwsLbListenerDefaultActionRedirectList = exports.DataAwsLbListenerDefaultActionRedirectOutputReference = exports.DataAwsLbListenerDefaultActionJwtValidationList = exports.DataAwsLbListenerDefaultActionJwtValidationOutputReference = exports.DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimList = exports.DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimOutputReference = exports.DataAwsLbListenerDefaultActionForwardList = exports.DataAwsLbListenerDefaultActionForwardOutputReference = exports.DataAwsLbListenerDefaultActionForwardTargetGroupList = exports.DataAwsLbListenerDefaultActionForwardTargetGroupOutputReference = exports.DataAwsLbListenerDefaultActionForwardStickinessList = exports.DataAwsLbListenerDefaultActionForwardStickinessOutputReference = exports.DataAwsLbListenerDefaultActionFixedResponseList = exports.DataAwsLbListenerDefaultActionFixedResponseOutputReference = exports.DataAwsLbListenerDefaultActionAuthenticateOidcList = exports.DataAwsLbListenerDefaultActionAuthenticateOidcOutputReference = exports.DataAwsLbListenerDefaultActionAuthenticateCognitoList = exports.DataAwsLbListenerDefaultActionAuthenticateCognitoOutputReference = void 0;
exports.dataAwsLbListenerDefaultActionAuthenticateCognitoToTerraform = dataAwsLbListenerDefaultActionAuthenticateCognitoToTerraform;
exports.dataAwsLbListenerDefaultActionAuthenticateCognitoToHclTerraform = dataAwsLbListenerDefaultActionAuthenticateCognitoToHclTerraform;
exports.dataAwsLbListenerDefaultActionAuthenticateOidcToTerraform = dataAwsLbListenerDefaultActionAuthenticateOidcToTerraform;
exports.dataAwsLbListenerDefaultActionAuthenticateOidcToHclTerraform = dataAwsLbListenerDefaultActionAuthenticateOidcToHclTerraform;
exports.dataAwsLbListenerDefaultActionFixedResponseToTerraform = dataAwsLbListenerDefaultActionFixedResponseToTerraform;
exports.dataAwsLbListenerDefaultActionFixedResponseToHclTerraform = dataAwsLbListenerDefaultActionFixedResponseToHclTerraform;
exports.dataAwsLbListenerDefaultActionForwardStickinessToTerraform = dataAwsLbListenerDefaultActionForwardStickinessToTerraform;
exports.dataAwsLbListenerDefaultActionForwardStickinessToHclTerraform = dataAwsLbListenerDefaultActionForwardStickinessToHclTerraform;
exports.dataAwsLbListenerDefaultActionForwardTargetGroupToTerraform = dataAwsLbListenerDefaultActionForwardTargetGroupToTerraform;
exports.dataAwsLbListenerDefaultActionForwardTargetGroupToHclTerraform = dataAwsLbListenerDefaultActionForwardTargetGroupToHclTerraform;
exports.dataAwsLbListenerDefaultActionForwardToTerraform = dataAwsLbListenerDefaultActionForwardToTerraform;
exports.dataAwsLbListenerDefaultActionForwardToHclTerraform = dataAwsLbListenerDefaultActionForwardToHclTerraform;
exports.dataAwsLbListenerDefaultActionJwtValidationAdditionalClaimToTerraform = dataAwsLbListenerDefaultActionJwtValidationAdditionalClaimToTerraform;
exports.dataAwsLbListenerDefaultActionJwtValidationAdditionalClaimToHclTerraform = dataAwsLbListenerDefaultActionJwtValidationAdditionalClaimToHclTerraform;
exports.dataAwsLbListenerDefaultActionJwtValidationToTerraform = dataAwsLbListenerDefaultActionJwtValidationToTerraform;
exports.dataAwsLbListenerDefaultActionJwtValidationToHclTerraform = dataAwsLbListenerDefaultActionJwtValidationToHclTerraform;
exports.dataAwsLbListenerDefaultActionRedirectToTerraform = dataAwsLbListenerDefaultActionRedirectToTerraform;
exports.dataAwsLbListenerDefaultActionRedirectToHclTerraform = dataAwsLbListenerDefaultActionRedirectToHclTerraform;
exports.dataAwsLbListenerDefaultActionToTerraform = dataAwsLbListenerDefaultActionToTerraform;
exports.dataAwsLbListenerDefaultActionToHclTerraform = dataAwsLbListenerDefaultActionToHclTerraform;
exports.dataAwsLbListenerMutualAuthenticationToTerraform = dataAwsLbListenerMutualAuthenticationToTerraform;
exports.dataAwsLbListenerMutualAuthenticationToHclTerraform = dataAwsLbListenerMutualAuthenticationToHclTerraform;
exports.dataAwsLbListenerTimeoutsToTerraform = dataAwsLbListenerTimeoutsToTerraform;
exports.dataAwsLbListenerTimeoutsToHclTerraform = dataAwsLbListenerTimeoutsToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataAwsLbListenerDefaultActionAuthenticateCognitoToTerraform(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 dataAwsLbListenerDefaultActionAuthenticateCognitoToHclTerraform(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 DataAwsLbListenerDefaultActionAuthenticateCognitoOutputReference 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() {
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 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.DataAwsLbListenerDefaultActionAuthenticateCognitoOutputReference = DataAwsLbListenerDefaultActionAuthenticateCognitoOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionAuthenticateCognitoOutputReference[_a] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionAuthenticateCognitoOutputReference", version: "21.22.1" };
class DataAwsLbListenerDefaultActionAuthenticateCognitoList 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 DataAwsLbListenerDefaultActionAuthenticateCognitoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsLbListenerDefaultActionAuthenticateCognitoList = DataAwsLbListenerDefaultActionAuthenticateCognitoList;
_b = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionAuthenticateCognitoList[_b] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionAuthenticateCognitoList", version: "21.22.1" };
function dataAwsLbListenerDefaultActionAuthenticateOidcToTerraform(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 dataAwsLbListenerDefaultActionAuthenticateOidcToHclTerraform(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 DataAwsLbListenerDefaultActionAuthenticateOidcOutputReference 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() {
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 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');
}
// client_secret - computed: true, optional: false, required: false
get clientSecret() {
return this.getStringAttribute('client_secret');
}
// 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.DataAwsLbListenerDefaultActionAuthenticateOidcOutputReference = DataAwsLbListenerDefaultActionAuthenticateOidcOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionAuthenticateOidcOutputReference[_c] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionAuthenticateOidcOutputReference", version: "21.22.1" };
class DataAwsLbListenerDefaultActionAuthenticateOidcList 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 DataAwsLbListenerDefaultActionAuthenticateOidcOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsLbListenerDefaultActionAuthenticateOidcList = DataAwsLbListenerDefaultActionAuthenticateOidcList;
_d = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionAuthenticateOidcList[_d] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionAuthenticateOidcList", version: "21.22.1" };
function dataAwsLbListenerDefaultActionFixedResponseToTerraform(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 dataAwsLbListenerDefaultActionFixedResponseToHclTerraform(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 DataAwsLbListenerDefaultActionFixedResponseOutputReference 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;
}
}
// 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.DataAwsLbListenerDefaultActionFixedResponseOutputReference = DataAwsLbListenerDefaultActionFixedResponseOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionFixedResponseOutputReference[_e] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionFixedResponseOutputReference", version: "21.22.1" };
class DataAwsLbListenerDefaultActionFixedResponseList 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 DataAwsLbListenerDefaultActionFixedResponseOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsLbListenerDefaultActionFixedResponseList = DataAwsLbListenerDefaultActionFixedResponseList;
_f = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionFixedResponseList[_f] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionFixedResponseList", version: "21.22.1" };
function dataAwsLbListenerDefaultActionForwardStickinessToTerraform(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 dataAwsLbListenerDefaultActionForwardStickinessToHclTerraform(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 DataAwsLbListenerDefaultActionForwardStickinessOutputReference 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;
}
}
// 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.DataAwsLbListenerDefaultActionForwardStickinessOutputReference = DataAwsLbListenerDefaultActionForwardStickinessOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionForwardStickinessOutputReference[_g] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionForwardStickinessOutputReference", version: "21.22.1" };
class DataAwsLbListenerDefaultActionForwardStickinessList 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 DataAwsLbListenerDefaultActionForwardStickinessOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsLbListenerDefaultActionForwardStickinessList = DataAwsLbListenerDefaultActionForwardStickinessList;
_h = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionForwardStickinessList[_h] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionForwardStickinessList", version: "21.22.1" };
function dataAwsLbListenerDefaultActionForwardTargetGroupToTerraform(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 dataAwsLbListenerDefaultActionForwardTargetGroupToHclTerraform(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 DataAwsLbListenerDefaultActionForwardTargetGroupOutputReference 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;
}
}
// 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.DataAwsLbListenerDefaultActionForwardTargetGroupOutputReference = DataAwsLbListenerDefaultActionForwardTargetGroupOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionForwardTargetGroupOutputReference[_j] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionForwardTargetGroupOutputReference", version: "21.22.1" };
class DataAwsLbListenerDefaultActionForwardTargetGroupList 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 DataAwsLbListenerDefaultActionForwardTargetGroupOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsLbListenerDefaultActionForwardTargetGroupList = DataAwsLbListenerDefaultActionForwardTargetGroupList;
_k = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionForwardTargetGroupList[_k] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionForwardTargetGroupList", version: "21.22.1" };
function dataAwsLbListenerDefaultActionForwardToTerraform(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 dataAwsLbListenerDefaultActionForwardToHclTerraform(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 DataAwsLbListenerDefaultActionForwardOutputReference 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: true, optional: false, required: false
this._stickiness = new DataAwsLbListenerDefaultActionForwardStickinessList(this, "stickiness", false);
// target_group - computed: true, optional: false, required: false
this._targetGroup = new DataAwsLbListenerDefaultActionForwardTargetGroupList(this, "target_group", true);
}
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 stickiness() {
return this._stickiness;
}
get targetGroup() {
return this._targetGroup;
}
}
exports.DataAwsLbListenerDefaultActionForwardOutputReference = DataAwsLbListenerDefaultActionForwardOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionForwardOutputReference[_l] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionForwardOutputReference", version: "21.22.1" };
class DataAwsLbListenerDefaultActionForwardList 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 DataAwsLbListenerDefaultActionForwardOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsLbListenerDefaultActionForwardList = DataAwsLbListenerDefaultActionForwardList;
_m = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionForwardList[_m] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionForwardList", version: "21.22.1" };
function dataAwsLbListenerDefaultActionJwtValidationAdditionalClaimToTerraform(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 dataAwsLbListenerDefaultActionJwtValidationAdditionalClaimToHclTerraform(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 DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimOutputReference 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;
}
}
// 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.DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimOutputReference = DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimOutputReference[_o] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimOutputReference", version: "21.22.1" };
class DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimList 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 DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimList = DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimList;
_p = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimList[_p] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimList", version: "21.22.1" };
function dataAwsLbListenerDefaultActionJwtValidationToTerraform(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 dataAwsLbListenerDefaultActionJwtValidationToHclTerraform(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 DataAwsLbListenerDefaultActionJwtValidationOutputReference 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: true, optional: false, required: false
this._additionalClaim = new DataAwsLbListenerDefaultActionJwtValidationAdditionalClaimList(this, "additional_claim", true);
}
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 additionalClaim() {
return this._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');
}
}
exports.DataAwsLbListenerDefaultActionJwtValidationOutputReference = DataAwsLbListenerDefaultActionJwtValidationOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionJwtValidationOutputReference[_q] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionJwtValidationOutputReference", version: "21.22.1" };
class DataAwsLbListenerDefaultActionJwtValidationList 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 DataAwsLbListenerDefaultActionJwtValidationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsLbListenerDefaultActionJwtValidationList = DataAwsLbListenerDefaultActionJwtValidationList;
_r = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionJwtValidationList[_r] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionJwtValidationList", version: "21.22.1" };
function dataAwsLbListenerDefaultActionRedirectToTerraform(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 dataAwsLbListenerDefaultActionRedirectToHclTerraform(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 DataAwsLbListenerDefaultActionRedirectOutputReference 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;
}
}
// host - computed: true, optional: false, required: false
get host() {
return this.getStringAttribute('host');
}
// path - computed: true, optional: false, required: false
get path() {
return this.getStringAttribute('path');
}
// port - computed: true, optional: false, required: false
get port() {
return this.getStringAttribute('port');
}
// protocol - computed: true, optional: false, required: false
get protocol() {
return this.getStringAttribute('protocol');
}
// query - computed: true, optional: false, required: false
get query() {
return this.getStringAttribute('query');
}
// status_code - computed: true, optional: false, required: false
get statusCode() {
return this.getStringAttribute('status_code');
}
}
exports.DataAwsLbListenerDefaultActionRedirectOutputReference = DataAwsLbListenerDefaultActionRedirectOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionRedirectOutputReference[_s] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionRedirectOutputReference", version: "21.22.1" };
class DataAwsLbListenerDefaultActionRedirectList 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 DataAwsLbListenerDefaultActionRedirectOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsLbListenerDefaultActionRedirectList = DataAwsLbListenerDefaultActionRedirectList;
_t = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionRedirectList[_t] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionRedirectList", version: "21.22.1" };
function dataAwsLbListenerDefaultActionToTerraform(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 dataAwsLbListenerDefaultActionToHclTerraform(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 DataAwsLbListenerDefaultActionOutputReference 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;
// authenticate_cognito - computed: true, optional: false, required: false
this._authenticateCognito = new DataAwsLbListenerDefaultActionAuthenticateCognitoList(this, "authenticate_cognito", false);
// authenticate_oidc - computed: true, optional: false, required: false
this._authenticateOidc = new DataAwsLbListenerDefaultActionAuthenticateOidcList(this, "authenticate_oidc", false);
// fixed_response - computed: true, optional: false, required: false
this._fixedResponse = new DataAwsLbListenerDefaultActionFixedResponseList(this, "fixed_response", false);
// forward - computed: true, optional: false, required: false
this._forward = new DataAwsLbListenerDefaultActionForwardList(this, "forward", false);
// jwt_validation - computed: true, optional: false, required: false
this._jwtValidation = new DataAwsLbListenerDefaultActionJwtValidationList(this, "jwt_validation", false);
// redirect - computed: true, optional: false, required: false
this._redirect = new DataAwsLbListenerDefaultActionRedirectList(this, "redirect", 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;
}
}
get authenticateCognito() {
return this._authenticateCognito;
}
get authenticateOidc() {
return this._authenticateOidc;
}
get fixedResponse() {
return this._fixedResponse;
}
get forward() {
return this._forward;
}
get jwtValidation() {
return this._jwtValidation;
}
// order - computed: true, optional: false, required: false
get order() {
return this.getNumberAttribute('order');
}
get redirect() {
return this._redirect;
}
// target_group_arn - computed: true, optional: false, required: false
get targetGroupArn() {
return this.getStringAttribute('target_group_arn');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DataAwsLbListenerDefaultActionOutputReference = DataAwsLbListenerDefaultActionOutputReference;
_u = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionOutputReference[_u] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionOutputReference", version: "21.22.1" };
class DataAwsLbListenerDefaultActionList 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 DataAwsLbListenerDefaultActionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsLbListenerDefaultActionList = DataAwsLbListenerDefaultActionList;
_v = JSII_RTTI_SYMBOL_1;
DataAwsLbListenerDefaultActionList[_v] = { fqn: "@cdktf/provider-aws.dataAwsLbListener.DataAwsLbListenerDefaultActionList", version: "21.22.1" };
function dataAwsLbListenerMutualAuthenticationToTerraform(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 dataAwsLbListenerMutualAuthenticationToHclTerraform(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 DataAwsLbListenerMutualAuthenticationOutputReference 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;
}
}
// advertise_trust_store_ca_names - computed: true, optional: false, required: false
get advertiseTrustStoreCaNames() {
return this