UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

876 lines 138 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataAwsMskCluster = exports.DataAwsMskClusterBrokerNodeGroupInfoList = exports.DataAwsMskClusterBrokerNodeGroupInfoOutputReference = exports.dataAwsMskClusterBrokerNodeGroupInfoToHclTerraform = exports.dataAwsMskClusterBrokerNodeGroupInfoToTerraform = exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoList = exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoOutputReference = exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoToHclTerraform = exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoToTerraform = exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoList = exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoOutputReference = exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoToHclTerraform = exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoToTerraform = exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputList = exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputOutputReference = exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputToHclTerraform = exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputToTerraform = exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoList = exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoOutputReference = exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoToHclTerraform = exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoToTerraform = exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityList = exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityOutputReference = exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityToHclTerraform = exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityToTerraform = exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationList = exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationOutputReference = exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationToHclTerraform = exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationToTerraform = exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslList = exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslOutputReference = exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslToHclTerraform = exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslToTerraform = exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessList = exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessOutputReference = exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessToHclTerraform = exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessToTerraform(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 {}; } exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessToTerraform = dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessToTerraform; function dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessToHclTerraform(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; } exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessToHclTerraform = dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessToHclTerraform; class DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessOutputReference 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; } } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessOutputReference = DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessOutputReference; _a = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessOutputReference[_a] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessOutputReference", version: "19.50.0" }; class DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessList 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 DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessList = DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessList; _b = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessList[_b] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessList", version: "19.50.0" }; function dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslToTerraform(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 {}; } exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslToTerraform = dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslToTerraform; function dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslToHclTerraform(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; } exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslToHclTerraform = dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslToHclTerraform; class DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslOutputReference 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; } } // iam - computed: true, optional: false, required: false get iam() { return this.getBooleanAttribute('iam'); } // scram - computed: true, optional: false, required: false get scram() { return this.getBooleanAttribute('scram'); } } exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslOutputReference = DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslOutputReference; _c = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslOutputReference[_c] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslOutputReference", version: "19.50.0" }; class DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslList 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 DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslList = DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslList; _d = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslList[_d] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslList", version: "19.50.0" }; function dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationToTerraform(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 {}; } exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationToTerraform = dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationToTerraform; function dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationToHclTerraform(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; } exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationToHclTerraform = dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationToHclTerraform; class DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationOutputReference 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; // sasl - computed: true, optional: false, required: false this._sasl = new DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationSaslList(this, "sasl", 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 sasl() { return this._sasl; } // tls - computed: true, optional: false, required: false get tls() { return this.getBooleanAttribute('tls'); } } exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationOutputReference = DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationOutputReference; _e = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationOutputReference[_e] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationOutputReference", version: "19.50.0" }; class DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationList 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 DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationList = DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationList; _f = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationList[_f] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationList", version: "19.50.0" }; function dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityToTerraform(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 {}; } exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityToTerraform = dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityToTerraform; function dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityToHclTerraform(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; } exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityToHclTerraform = dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityToHclTerraform; class DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityOutputReference 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; // client_authentication - computed: true, optional: false, required: false this._clientAuthentication = new DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityClientAuthenticationList(this, "client_authentication", 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 clientAuthentication() { return this._clientAuthentication; } } exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityOutputReference = DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityOutputReference; _g = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityOutputReference[_g] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityOutputReference", version: "19.50.0" }; class DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityList 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 DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityList = DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityList; _h = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityList[_h] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityList", version: "19.50.0" }; function dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoToTerraform(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 {}; } exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoToTerraform = dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoToTerraform; function dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoToHclTerraform(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; } exports.dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoToHclTerraform = dataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoToHclTerraform; class DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoOutputReference 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; // public_access - computed: true, optional: false, required: false this._publicAccess = new DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoPublicAccessList(this, "public_access", false); // vpc_connectivity - computed: true, optional: false, required: false this._vpcConnectivity = new DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoVpcConnectivityList(this, "vpc_connectivity", 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 publicAccess() { return this._publicAccess; } get vpcConnectivity() { return this._vpcConnectivity; } } exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoOutputReference = DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoOutputReference; _j = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoOutputReference[_j] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoOutputReference", version: "19.50.0" }; class DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoList 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 DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoList = DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoList; _k = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoList[_k] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoList", version: "19.50.0" }; function dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputToTerraform(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 {}; } exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputToTerraform = dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputToTerraform; function dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputToHclTerraform(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; } exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputToHclTerraform = dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputToHclTerraform; class DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputOutputReference 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; } } // enabled - computed: true, optional: false, required: false get enabled() { return this.getBooleanAttribute('enabled'); } // volume_throughput - computed: true, optional: false, required: false get volumeThroughput() { return this.getNumberAttribute('volume_throughput'); } } exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputOutputReference = DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputOutputReference; _l = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputOutputReference[_l] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputOutputReference", version: "19.50.0" }; class DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputList 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 DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputList = DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputList; _m = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputList[_m] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputList", version: "19.50.0" }; function dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoToTerraform(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 {}; } exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoToTerraform = dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoToTerraform; function dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoToHclTerraform(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; } exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoToHclTerraform = dataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoToHclTerraform; class DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoOutputReference 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; // provisioned_throughput - computed: true, optional: false, required: false this._provisionedThroughput = new DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoProvisionedThroughputList(this, "provisioned_throughput", 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 provisionedThroughput() { return this._provisionedThroughput; } // volume_size - computed: true, optional: false, required: false get volumeSize() { return this.getNumberAttribute('volume_size'); } } exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoOutputReference = DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoOutputReference; _o = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoOutputReference[_o] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoOutputReference", version: "19.50.0" }; class DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoList 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 DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoList = DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoList; _p = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoList[_p] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoList", version: "19.50.0" }; function dataAwsMskClusterBrokerNodeGroupInfoStorageInfoToTerraform(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 {}; } exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoToTerraform = dataAwsMskClusterBrokerNodeGroupInfoStorageInfoToTerraform; function dataAwsMskClusterBrokerNodeGroupInfoStorageInfoToHclTerraform(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; } exports.dataAwsMskClusterBrokerNodeGroupInfoStorageInfoToHclTerraform = dataAwsMskClusterBrokerNodeGroupInfoStorageInfoToHclTerraform; class DataAwsMskClusterBrokerNodeGroupInfoStorageInfoOutputReference 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; // ebs_storage_info - computed: true, optional: false, required: false this._ebsStorageInfo = new DataAwsMskClusterBrokerNodeGroupInfoStorageInfoEbsStorageInfoList(this, "ebs_storage_info", 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 ebsStorageInfo() { return this._ebsStorageInfo; } } exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoOutputReference = DataAwsMskClusterBrokerNodeGroupInfoStorageInfoOutputReference; _q = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoStorageInfoOutputReference[_q] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoOutputReference", version: "19.50.0" }; class DataAwsMskClusterBrokerNodeGroupInfoStorageInfoList 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 DataAwsMskClusterBrokerNodeGroupInfoStorageInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoList = DataAwsMskClusterBrokerNodeGroupInfoStorageInfoList; _r = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoStorageInfoList[_r] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoStorageInfoList", version: "19.50.0" }; function dataAwsMskClusterBrokerNodeGroupInfoToTerraform(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 {}; } exports.dataAwsMskClusterBrokerNodeGroupInfoToTerraform = dataAwsMskClusterBrokerNodeGroupInfoToTerraform; function dataAwsMskClusterBrokerNodeGroupInfoToHclTerraform(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; } exports.dataAwsMskClusterBrokerNodeGroupInfoToHclTerraform = dataAwsMskClusterBrokerNodeGroupInfoToHclTerraform; class DataAwsMskClusterBrokerNodeGroupInfoOutputReference 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; // connectivity_info - computed: true, optional: false, required: false this._connectivityInfo = new DataAwsMskClusterBrokerNodeGroupInfoConnectivityInfoList(this, "connectivity_info", false); // storage_info - computed: true, optional: false, required: false this._storageInfo = new DataAwsMskClusterBrokerNodeGroupInfoStorageInfoList(this, "storage_info", 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; } } // az_distribution - computed: true, optional: false, required: false get azDistribution() { return this.getStringAttribute('az_distribution'); } // client_subnets - computed: true, optional: false, required: false get clientSubnets() { return cdktf.Fn.tolist(this.getListAttribute('client_subnets')); } get connectivityInfo() { return this._connectivityInfo; } // instance_type - computed: true, optional: false, required: false get instanceType() { return this.getStringAttribute('instance_type'); } // security_groups - computed: true, optional: false, required: false get securityGroups() { return cdktf.Fn.tolist(this.getListAttribute('security_groups')); } get storageInfo() { return this._storageInfo; } } exports.DataAwsMskClusterBrokerNodeGroupInfoOutputReference = DataAwsMskClusterBrokerNodeGroupInfoOutputReference; _s = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoOutputReference[_s] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoOutputReference", version: "19.50.0" }; class DataAwsMskClusterBrokerNodeGroupInfoList 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 DataAwsMskClusterBrokerNodeGroupInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsMskClusterBrokerNodeGroupInfoList = DataAwsMskClusterBrokerNodeGroupInfoList; _t = JSII_RTTI_SYMBOL_1; DataAwsMskClusterBrokerNodeGroupInfoList[_t] = { fqn: "@cdktf/provider-aws.dataAwsMskCluster.DataAwsMskClusterBrokerNodeGroupInfoList", version: "19.50.0" }; /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/data-sources/msk_cluster aws_msk_cluster} */ class DataAwsMskCluster extends cdktf.TerraformDataSource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataAwsMskCluster 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 DataAwsMskCluster to import * @param importFromId The id of the existing DataAwsMskCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/data-sources/msk_cluster#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataAwsMskCluster to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aws_msk_cluster", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/data-sources/msk_cluster aws_msk_cluster} Data Source * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DataAwsMskClusterConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'aws_msk_cluster', terraformGeneratorMetadata: { providerName: 'aws', providerVersion: '5.84.0', providerVersionConstraint: '~> 5.0' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle, provisioners: config.provisioners, connection: config.connection, forEach: config.forEach }); // broker_node_group_info - computed: true, optional: false, required: false this._brokerNodeGroupInfo = new DataAwsMskClusterBrokerNodeGroupInfoList(this, "broker_node_group_info", false); this._clusterName = config.clusterName; this._id = config.id; this._tags = config.tags; } // ========== // ATTRIBUTES // ========== // arn - computed: true, optional: false, required: false get arn() { return this.getStringAttribute('arn'); } // bootstrap_brokers - computed: true, optional: false, required: false get bootstrapBrokers() { return this.getStringAttribute('bootstrap_brokers'); } // bootstrap_brokers_public_sasl_iam - computed: true, optional: false, required: false get bootstrapBrokersPublicSaslIam() { return this.getStringAttribute('bootstrap_brokers_public_sasl_iam'); } // bootstrap_brokers_public_sasl_scram - computed: true, optional: false, required: false get bootstrapBrokersPublicSaslScram() { return this.getStringAttribute('bootstrap_brokers_public_sasl_scram'); } // bootstrap_brokers_public_tls - computed: true, optional: false, required: false get bootstrapBrokersPublicTls() { return this.getStringAttribute('bootstrap_brokers_public_tls'); } // bootstrap_brokers_sasl_iam - computed: true, optional: false, required: false get bootstrapBrokersSaslIam() { return this.getStringAttribute('bootstrap_brokers_sasl_iam'); } // bootstrap_brokers_sasl_scram - computed: true, optional: false, required: false get bootstrapBrokersSaslScram() { return this.getStringAttribute('bootstrap_brokers_sasl_scram'); } // bootstrap_brokers_tls - computed: true, optional: false, required: false get bootstrapBrokersTls() { return this.getStringAttribute('bootstrap_brokers_tls'); } get brokerNodeGroupInfo() { return this._brokerNodeGroupInfo; } get clusterName() { return this.getStringAttribute('cluster_name'); } set clusterName(value) { this._clusterName = value; } // Temporarily expose input value. Use with caution. get clusterNameInput() { return this._clusterName; } // cluster_uuid - computed: true, optional: false, required: false get clusterUuid() { return this.getStringAttribute('cluster_uuid'); } get id() { return this.getStringAttribute('id'); } set id(value) { this._id = value; } resetId() { this._id = undefined; } // Temporarily expose input value. Use with caution. get idInput() { return this._id; } // kafka_version - computed: true, optional: false, required: false get kafkaVersion() { return this.getStringAttribute('kafka_version'); } // number_of_broker_nodes - computed: true, optional: false, required: false get numberOfBrokerNodes() { return this.getNumberAttribute('number_of_broker_nodes'); } get tags() { return this.getStringMapAttribute('tags'); } set tags(value) { this._tags = value; } resetTags() { this._tags = undefined; } // Temporarily expose input value. Use with caution. get tagsInput() { return this._tags; } // zookeeper_connect_string - computed: true, optional: false, required: false get zookeeperConnectString() { return this.getStringAttribute('zookeeper_connect_string'); } // zookeeper_connect_string_tls - computed: true, optional: false, required: false get zookeeperConnectStringTls() { return this.getStringAttribute('zookeeper_connect_string_tls'); } // ========= // SYNTHESIS // ========= synthesizeAttributes