UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

994 lines 184 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.AppfabricIngestionDestination = exports.AppfabricIngestionDestinationTimeoutsOutputReference = exports.AppfabricIngestionDestinationProcessingConfigurationList = exports.AppfabricIngestionDestinationProcessingConfigurationOutputReference = exports.AppfabricIngestionDestinationProcessingConfigurationAuditLogList = exports.AppfabricIngestionDestinationProcessingConfigurationAuditLogOutputReference = exports.AppfabricIngestionDestinationDestinationConfigurationList = exports.AppfabricIngestionDestinationDestinationConfigurationOutputReference = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogList = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogOutputReference = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationList = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationOutputReference = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketList = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketOutputReference = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamList = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamOutputReference = void 0; exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToTerraform; exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToHclTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToHclTerraform; exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToTerraform; exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToHclTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToHclTerraform; exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToTerraform; exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToHclTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToHclTerraform; exports.appfabricIngestionDestinationDestinationConfigurationAuditLogToTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogToTerraform; exports.appfabricIngestionDestinationDestinationConfigurationAuditLogToHclTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogToHclTerraform; exports.appfabricIngestionDestinationDestinationConfigurationToTerraform = appfabricIngestionDestinationDestinationConfigurationToTerraform; exports.appfabricIngestionDestinationDestinationConfigurationToHclTerraform = appfabricIngestionDestinationDestinationConfigurationToHclTerraform; exports.appfabricIngestionDestinationProcessingConfigurationAuditLogToTerraform = appfabricIngestionDestinationProcessingConfigurationAuditLogToTerraform; exports.appfabricIngestionDestinationProcessingConfigurationAuditLogToHclTerraform = appfabricIngestionDestinationProcessingConfigurationAuditLogToHclTerraform; exports.appfabricIngestionDestinationProcessingConfigurationToTerraform = appfabricIngestionDestinationProcessingConfigurationToTerraform; exports.appfabricIngestionDestinationProcessingConfigurationToHclTerraform = appfabricIngestionDestinationProcessingConfigurationToHclTerraform; exports.appfabricIngestionDestinationTimeoutsToTerraform = appfabricIngestionDestinationTimeoutsToTerraform; exports.appfabricIngestionDestinationTimeoutsToHclTerraform = appfabricIngestionDestinationTimeoutsToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToTerraform(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 { stream_name: cdktf.stringToTerraform(struct.streamName), }; } function appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToHclTerraform(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 = { stream_name: { value: cdktf.stringToHclTerraform(struct.streamName), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamOutputReference 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._streamName !== undefined) { hasAnyValues = true; internalValueResult.streamName = this._streamName; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._streamName = 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._streamName = value.streamName; } } get streamName() { return this.getStringAttribute('stream_name'); } set streamName(value) { this._streamName = value; } // Temporarily expose input value. Use with caution. get streamNameInput() { return this._streamName; } } exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamOutputReference = AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamOutputReference; _a = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamOutputReference[_a] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamOutputReference", version: "21.22.1" }; class AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamList 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 AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamList = AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamList; _b = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamList[_b] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamList", version: "21.22.1" }; function appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToTerraform(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 { bucket_name: cdktf.stringToTerraform(struct.bucketName), prefix: cdktf.stringToTerraform(struct.prefix), }; } function appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToHclTerraform(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 = { bucket_name: { value: cdktf.stringToHclTerraform(struct.bucketName), isBlock: false, type: "simple", storageClassType: "string", }, prefix: { value: cdktf.stringToHclTerraform(struct.prefix), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketOutputReference 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._bucketName !== undefined) { hasAnyValues = true; internalValueResult.bucketName = this._bucketName; } if (this._prefix !== undefined) { hasAnyValues = true; internalValueResult.prefix = this._prefix; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._bucketName = undefined; this._prefix = 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._bucketName = value.bucketName; this._prefix = value.prefix; } } get bucketName() { return this.getStringAttribute('bucket_name'); } set bucketName(value) { this._bucketName = value; } // Temporarily expose input value. Use with caution. get bucketNameInput() { return this._bucketName; } get prefix() { return this.getStringAttribute('prefix'); } set prefix(value) { this._prefix = value; } resetPrefix() { this._prefix = undefined; } // Temporarily expose input value. Use with caution. get prefixInput() { return this._prefix; } } exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketOutputReference = AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketOutputReference; _c = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketOutputReference[_c] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketOutputReference", version: "21.22.1" }; class AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketList 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 AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketList = AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketList; _d = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketList[_d] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketList", version: "21.22.1" }; function appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToTerraform(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 { firehose_stream: cdktf.listMapper(appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToTerraform, true)(struct.firehoseStream), s3_bucket: cdktf.listMapper(appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToTerraform, true)(struct.s3Bucket), }; } function appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToHclTerraform(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 = { firehose_stream: { value: cdktf.listMapperHcl(appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToHclTerraform, true)(struct.firehoseStream), isBlock: true, type: "list", storageClassType: "AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamList", }, s3_bucket: { value: cdktf.listMapperHcl(appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToHclTerraform, true)(struct.s3Bucket), isBlock: true, type: "list", storageClassType: "AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationOutputReference 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; // firehose_stream - computed: false, optional: true, required: false this._firehoseStream = new AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamList(this, "firehose_stream", false); // s3_bucket - computed: false, optional: true, required: false this._s3Bucket = new AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketList(this, "s3_bucket", false); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._firehoseStream?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.firehoseStream = this._firehoseStream?.internalValue; } if (this._s3Bucket?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.s3Bucket = this._s3Bucket?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._firehoseStream.internalValue = undefined; this._s3Bucket.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._firehoseStream.internalValue = value.firehoseStream; this._s3Bucket.internalValue = value.s3Bucket; } } get firehoseStream() { return this._firehoseStream; } putFirehoseStream(value) { this._firehoseStream.internalValue = value; } resetFirehoseStream() { this._firehoseStream.internalValue = undefined; } // Temporarily expose input value. Use with caution. get firehoseStreamInput() { return this._firehoseStream.internalValue; } get s3Bucket() { return this._s3Bucket; } putS3Bucket(value) { this._s3Bucket.internalValue = value; } resetS3Bucket() { this._s3Bucket.internalValue = undefined; } // Temporarily expose input value. Use with caution. get s3BucketInput() { return this._s3Bucket.internalValue; } } exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationOutputReference = AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationOutputReference; _e = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationOutputReference[_e] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationOutputReference", version: "21.22.1" }; class AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationList 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 AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationList = AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationList; _f = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationList[_f] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationList", version: "21.22.1" }; function appfabricIngestionDestinationDestinationConfigurationAuditLogToTerraform(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 { destination: cdktf.listMapper(appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToTerraform, true)(struct.destination), }; } function appfabricIngestionDestinationDestinationConfigurationAuditLogToHclTerraform(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 = { destination: { value: cdktf.listMapperHcl(appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToHclTerraform, true)(struct.destination), isBlock: true, type: "list", storageClassType: "AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class AppfabricIngestionDestinationDestinationConfigurationAuditLogOutputReference 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; // destination - computed: false, optional: true, required: false this._destination = new AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationList(this, "destination", false); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._destination?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.destination = this._destination?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._destination.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._destination.internalValue = value.destination; } } get destination() { return this._destination; } putDestination(value) { this._destination.internalValue = value; } resetDestination() { this._destination.internalValue = undefined; } // Temporarily expose input value. Use with caution. get destinationInput() { return this._destination.internalValue; } } exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogOutputReference = AppfabricIngestionDestinationDestinationConfigurationAuditLogOutputReference; _g = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationDestinationConfigurationAuditLogOutputReference[_g] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationDestinationConfigurationAuditLogOutputReference", version: "21.22.1" }; class AppfabricIngestionDestinationDestinationConfigurationAuditLogList 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 AppfabricIngestionDestinationDestinationConfigurationAuditLogOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogList = AppfabricIngestionDestinationDestinationConfigurationAuditLogList; _h = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationDestinationConfigurationAuditLogList[_h] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationDestinationConfigurationAuditLogList", version: "21.22.1" }; function appfabricIngestionDestinationDestinationConfigurationToTerraform(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 { audit_log: cdktf.listMapper(appfabricIngestionDestinationDestinationConfigurationAuditLogToTerraform, true)(struct.auditLog), }; } function appfabricIngestionDestinationDestinationConfigurationToHclTerraform(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 = { audit_log: { value: cdktf.listMapperHcl(appfabricIngestionDestinationDestinationConfigurationAuditLogToHclTerraform, true)(struct.auditLog), isBlock: true, type: "list", storageClassType: "AppfabricIngestionDestinationDestinationConfigurationAuditLogList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class AppfabricIngestionDestinationDestinationConfigurationOutputReference 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; // audit_log - computed: false, optional: true, required: false this._auditLog = new AppfabricIngestionDestinationDestinationConfigurationAuditLogList(this, "audit_log", false); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._auditLog?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.auditLog = this._auditLog?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._auditLog.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._auditLog.internalValue = value.auditLog; } } get auditLog() { return this._auditLog; } putAuditLog(value) { this._auditLog.internalValue = value; } resetAuditLog() { this._auditLog.internalValue = undefined; } // Temporarily expose input value. Use with caution. get auditLogInput() { return this._auditLog.internalValue; } } exports.AppfabricIngestionDestinationDestinationConfigurationOutputReference = AppfabricIngestionDestinationDestinationConfigurationOutputReference; _j = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationDestinationConfigurationOutputReference[_j] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationDestinationConfigurationOutputReference", version: "21.22.1" }; class AppfabricIngestionDestinationDestinationConfigurationList 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 AppfabricIngestionDestinationDestinationConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.AppfabricIngestionDestinationDestinationConfigurationList = AppfabricIngestionDestinationDestinationConfigurationList; _k = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationDestinationConfigurationList[_k] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationDestinationConfigurationList", version: "21.22.1" }; function appfabricIngestionDestinationProcessingConfigurationAuditLogToTerraform(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 { format: cdktf.stringToTerraform(struct.format), schema: cdktf.stringToTerraform(struct.schema), }; } function appfabricIngestionDestinationProcessingConfigurationAuditLogToHclTerraform(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 = { format: { value: cdktf.stringToHclTerraform(struct.format), isBlock: false, type: "simple", storageClassType: "string", }, schema: { value: cdktf.stringToHclTerraform(struct.schema), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class AppfabricIngestionDestinationProcessingConfigurationAuditLogOutputReference 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._format !== undefined) { hasAnyValues = true; internalValueResult.format = this._format; } if (this._schema !== undefined) { hasAnyValues = true; internalValueResult.schema = this._schema; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._format = undefined; this._schema = 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._format = value.format; this._schema = value.schema; } } get format() { return this.getStringAttribute('format'); } set format(value) { this._format = value; } // Temporarily expose input value. Use with caution. get formatInput() { return this._format; } get schema() { return this.getStringAttribute('schema'); } set schema(value) { this._schema = value; } // Temporarily expose input value. Use with caution. get schemaInput() { return this._schema; } } exports.AppfabricIngestionDestinationProcessingConfigurationAuditLogOutputReference = AppfabricIngestionDestinationProcessingConfigurationAuditLogOutputReference; _l = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationProcessingConfigurationAuditLogOutputReference[_l] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationProcessingConfigurationAuditLogOutputReference", version: "21.22.1" }; class AppfabricIngestionDestinationProcessingConfigurationAuditLogList 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 AppfabricIngestionDestinationProcessingConfigurationAuditLogOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.AppfabricIngestionDestinationProcessingConfigurationAuditLogList = AppfabricIngestionDestinationProcessingConfigurationAuditLogList; _m = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationProcessingConfigurationAuditLogList[_m] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationProcessingConfigurationAuditLogList", version: "21.22.1" }; function appfabricIngestionDestinationProcessingConfigurationToTerraform(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 { audit_log: cdktf.listMapper(appfabricIngestionDestinationProcessingConfigurationAuditLogToTerraform, true)(struct.auditLog), }; } function appfabricIngestionDestinationProcessingConfigurationToHclTerraform(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 = { audit_log: { value: cdktf.listMapperHcl(appfabricIngestionDestinationProcessingConfigurationAuditLogToHclTerraform, true)(struct.auditLog), isBlock: true, type: "list", storageClassType: "AppfabricIngestionDestinationProcessingConfigurationAuditLogList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class AppfabricIngestionDestinationProcessingConfigurationOutputReference 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; // audit_log - computed: false, optional: true, required: false this._auditLog = new AppfabricIngestionDestinationProcessingConfigurationAuditLogList(this, "audit_log", false); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._auditLog?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.auditLog = this._auditLog?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._auditLog.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._auditLog.internalValue = value.auditLog; } } get auditLog() { return this._auditLog; } putAuditLog(value) { this._auditLog.internalValue = value; } resetAuditLog() { this._auditLog.internalValue = undefined; } // Temporarily expose input value. Use with caution. get auditLogInput() { return this._auditLog.internalValue; } } exports.AppfabricIngestionDestinationProcessingConfigurationOutputReference = AppfabricIngestionDestinationProcessingConfigurationOutputReference; _o = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationProcessingConfigurationOutputReference[_o] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationProcessingConfigurationOutputReference", version: "21.22.1" }; class AppfabricIngestionDestinationProcessingConfigurationList 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 AppfabricIngestionDestinationProcessingConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.AppfabricIngestionDestinationProcessingConfigurationList = AppfabricIngestionDestinationProcessingConfigurationList; _p = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationProcessingConfigurationList[_p] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationProcessingConfigurationList", version: "21.22.1" }; function appfabricIngestionDestinationTimeoutsToTerraform(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), delete: cdktf.stringToTerraform(struct.delete), update: cdktf.stringToTerraform(struct.update), }; } function appfabricIngestionDestinationTimeoutsToHclTerraform(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", }, delete: { value: cdktf.stringToHclTerraform(struct.delete), 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)); } class AppfabricIngestionDestinationTimeoutsOutputReference 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._delete !== undefined) { hasAnyValues = true; internalValueResult.delete = this._delete; } 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._delete = undefined; this._update = 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._create = value.create; this._delete = value.delete; this._update = value.update; } } get create() { return this.getStringAttribute('create'); } set create(value) { this._create = value; } resetCreate() { this._create = undefined; } // Temporarily expose input value. Use with caution. get createInput() { return this._create; } get delete() { return this.getStringAttribute('delete'); } set delete(value) { this._delete = value; } resetDelete() { this._delete = undefined; } // Temporarily expose input value. Use with caution. get deleteInput() { return this._delete; } get update() { return this.getStringAttribute('update'); } set update(value) { this._update = value; } resetUpdate() { this._update = undefined; } // Temporarily expose input value. Use with caution. get updateInput() { return this._update; } } exports.AppfabricIngestionDestinationTimeoutsOutputReference = AppfabricIngestionDestinationTimeoutsOutputReference; _q = JSII_RTTI_SYMBOL_1; AppfabricIngestionDestinationTimeoutsOutputReference[_q] = { fqn: "@cdktf/provider-aws.appfabricIngestionDestination.AppfabricIngestionDestinationTimeoutsOutputReference", version: "21.22.1" }; /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/appfabric_ingestion_destination aws_appfabric_ingestion_destination} */ class AppfabricIngestionDestination extends cdktf.TerraformResource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a AppfabricIngestionDestination resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the AppfabricIngestionDestination to import * @param importFromId The id of the existing AppfabricIngestionDestination that should be imported. Refer to the {@link https://registry.t