@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
967 lines • 183 kB
JavaScript
"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.appfabricIngestionDestinationTimeoutsToHclTerraform = exports.appfabricIngestionDestinationTimeoutsToTerraform = exports.AppfabricIngestionDestinationProcessingConfigurationList = exports.AppfabricIngestionDestinationProcessingConfigurationOutputReference = exports.appfabricIngestionDestinationProcessingConfigurationToHclTerraform = exports.appfabricIngestionDestinationProcessingConfigurationToTerraform = exports.AppfabricIngestionDestinationProcessingConfigurationAuditLogList = exports.AppfabricIngestionDestinationProcessingConfigurationAuditLogOutputReference = exports.appfabricIngestionDestinationProcessingConfigurationAuditLogToHclTerraform = exports.appfabricIngestionDestinationProcessingConfigurationAuditLogToTerraform = exports.AppfabricIngestionDestinationDestinationConfigurationList = exports.AppfabricIngestionDestinationDestinationConfigurationOutputReference = exports.appfabricIngestionDestinationDestinationConfigurationToHclTerraform = exports.appfabricIngestionDestinationDestinationConfigurationToTerraform = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogList = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogOutputReference = exports.appfabricIngestionDestinationDestinationConfigurationAuditLogToHclTerraform = exports.appfabricIngestionDestinationDestinationConfigurationAuditLogToTerraform = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationList = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationOutputReference = exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToHclTerraform = exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToTerraform = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketList = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketOutputReference = exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToHclTerraform = exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToTerraform = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamList = exports.AppfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamOutputReference = exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToHclTerraform = exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToTerraform = void 0;
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),
};
}
exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToTerraform;
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));
}
exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToHclTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationFirehoseStreamToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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),
};
}
exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToTerraform;
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));
}
exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToHclTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationS3BucketToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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),
};
}
exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToTerraform;
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));
}
exports.appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToHclTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogDestinationToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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),
};
}
exports.appfabricIngestionDestinationDestinationConfigurationAuditLogToTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogToTerraform;
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));
}
exports.appfabricIngestionDestinationDestinationConfigurationAuditLogToHclTerraform = appfabricIngestionDestinationDestinationConfigurationAuditLogToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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),
};
}
exports.appfabricIngestionDestinationDestinationConfigurationToTerraform = appfabricIngestionDestinationDestinationConfigurationToTerraform;
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));
}
exports.appfabricIngestionDestinationDestinationConfigurationToHclTerraform = appfabricIngestionDestinationDestinationConfigurationToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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),
};
}
exports.appfabricIngestionDestinationProcessingConfigurationAuditLogToTerraform = appfabricIngestionDestinationProcessingConfigurationAuditLogToTerraform;
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));
}
exports.appfabricIngestionDestinationProcessingConfigurationAuditLogToHclTerraform = appfabricIngestionDestinationProcessingConfigurationAuditLogToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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),
};
}
exports.appfabricIngestionDestinationProcessingConfigurationToTerraform = appfabricIngestionDestinationProcessingConfigurationToTerraform;
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));
}
exports.appfabricIngestionDestinationProcessingConfigurationToHclTerraform = appfabricIngestionDestinationProcessingConfigurationToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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),
};
}
exports.appfabricIngestionDestinationTimeoutsToTerraform = appfabricIngestionDestinationTimeoutsToTerraform;
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));
}
exports.appfabricIngestionDestinationTimeoutsToHclTerraform = appfabricIngestionDestinationTimeoutsToHclTerraform;
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