UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

794 lines 446 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19; Object.defineProperty(exports, "__esModule", { value: true }); exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsToTerraform = exports.CloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConditionGroupsList = exports.CloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConditionGroupsOutputReference = exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConditionGroupsToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConditionGroupsToTerraform = exports.CloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConfigurationsList = exports.CloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConfigurationsOutputReference = exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConfigurationsToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConfigurationsToTerraform = exports.CloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConfigurationsValuesList = exports.CloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConfigurationsValuesOutputReference = exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConfigurationsValuesToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsConfigurationsValuesToTerraform = exports.CloudGuardTargetTargetDetectorRecipesDetectorRulesEntitiesMappingsList = exports.CloudGuardTargetTargetDetectorRecipesDetectorRulesEntitiesMappingsOutputReference = exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesEntitiesMappingsToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesEntitiesMappingsToTerraform = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesList = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesOutputReference = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesToTerraform = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsList = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsOutputReference = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsToTerraform = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsList = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsOutputReference = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsToTerraform = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsList = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsOutputReference = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsToTerraform = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesList = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesOutputReference = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesToTerraform = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsList = exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsOutputReference = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsToTerraform = exports.CloudGuardTargetTargetDetailsList = exports.CloudGuardTargetTargetDetailsOutputReference = exports.cloudGuardTargetTargetDetailsToHclTerraform = exports.cloudGuardTargetTargetDetailsToTerraform = exports.CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesList = exports.CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesOutputReference = exports.cloudGuardTargetTargetDetailsTargetSecurityZoneRecipesToHclTerraform = exports.cloudGuardTargetTargetDetailsTargetSecurityZoneRecipesToTerraform = void 0; exports.CloudGuardTarget = exports.CloudGuardTargetTimeoutsOutputReference = exports.cloudGuardTargetTimeoutsToHclTerraform = exports.cloudGuardTargetTimeoutsToTerraform = exports.CloudGuardTargetTargetResponderRecipesList = exports.CloudGuardTargetTargetResponderRecipesOutputReference = exports.cloudGuardTargetTargetResponderRecipesToHclTerraform = exports.cloudGuardTargetTargetResponderRecipesToTerraform = exports.CloudGuardTargetTargetResponderRecipesResponderRulesList = exports.CloudGuardTargetTargetResponderRecipesResponderRulesOutputReference = exports.cloudGuardTargetTargetResponderRecipesResponderRulesToHclTerraform = exports.cloudGuardTargetTargetResponderRecipesResponderRulesToTerraform = exports.CloudGuardTargetTargetResponderRecipesResponderRulesDetailsOutputReference = exports.cloudGuardTargetTargetResponderRecipesResponderRulesDetailsToHclTerraform = exports.cloudGuardTargetTargetResponderRecipesResponderRulesDetailsToTerraform = exports.CloudGuardTargetTargetResponderRecipesResponderRulesDetailsConfigurationsList = exports.CloudGuardTargetTargetResponderRecipesResponderRulesDetailsConfigurationsOutputReference = exports.cloudGuardTargetTargetResponderRecipesResponderRulesDetailsConfigurationsToHclTerraform = exports.cloudGuardTargetTargetResponderRecipesResponderRulesDetailsConfigurationsToTerraform = exports.CloudGuardTargetTargetResponderRecipesEffectiveResponderRulesList = exports.CloudGuardTargetTargetResponderRecipesEffectiveResponderRulesOutputReference = exports.cloudGuardTargetTargetResponderRecipesEffectiveResponderRulesToHclTerraform = exports.cloudGuardTargetTargetResponderRecipesEffectiveResponderRulesToTerraform = exports.CloudGuardTargetTargetResponderRecipesEffectiveResponderRulesDetailsList = exports.CloudGuardTargetTargetResponderRecipesEffectiveResponderRulesDetailsOutputReference = exports.cloudGuardTargetTargetResponderRecipesEffectiveResponderRulesDetailsToHclTerraform = exports.cloudGuardTargetTargetResponderRecipesEffectiveResponderRulesDetailsToTerraform = exports.CloudGuardTargetTargetResponderRecipesEffectiveResponderRulesDetailsConfigurationsList = exports.CloudGuardTargetTargetResponderRecipesEffectiveResponderRulesDetailsConfigurationsOutputReference = exports.cloudGuardTargetTargetResponderRecipesEffectiveResponderRulesDetailsConfigurationsToHclTerraform = exports.cloudGuardTargetTargetResponderRecipesEffectiveResponderRulesDetailsConfigurationsToTerraform = exports.CloudGuardTargetTargetDetectorRecipesList = exports.CloudGuardTargetTargetDetectorRecipesOutputReference = exports.cloudGuardTargetTargetDetectorRecipesToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesToTerraform = exports.CloudGuardTargetTargetDetectorRecipesDetectorRulesList = exports.CloudGuardTargetTargetDetectorRecipesDetectorRulesOutputReference = exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesToHclTerraform = exports.cloudGuardTargetTargetDetectorRecipesDetectorRulesToTerraform = exports.CloudGuardTargetTargetDetectorRecipesDetectorRulesDetailsOutputReference = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function cloudGuardTargetTargetDetailsTargetSecurityZoneRecipesToTerraform(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.cloudGuardTargetTargetDetailsTargetSecurityZoneRecipesToTerraform = cloudGuardTargetTargetDetailsTargetSecurityZoneRecipesToTerraform; function cloudGuardTargetTargetDetailsTargetSecurityZoneRecipesToHclTerraform(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.cloudGuardTargetTargetDetailsTargetSecurityZoneRecipesToHclTerraform = cloudGuardTargetTargetDetailsTargetSecurityZoneRecipesToHclTerraform; class CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesOutputReference 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; // defined_tags - computed: true, optional: false, required: false this._definedTags = new cdktf.StringMap(this, "defined_tags"); // freeform_tags - computed: true, optional: false, required: false this._freeformTags = new cdktf.StringMap(this, "freeform_tags"); // system_tags - computed: true, optional: false, required: false this._systemTags = new cdktf.StringMap(this, "system_tags"); } 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; } } // compartment_id - computed: true, optional: false, required: false get compartmentId() { return this.getStringAttribute('compartment_id'); } get definedTags() { return this._definedTags; } // description - computed: true, optional: false, required: false get description() { return this.getStringAttribute('description'); } // display_name - computed: true, optional: false, required: false get displayName() { return this.getStringAttribute('display_name'); } get freeformTags() { return this._freeformTags; } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // lifecycle_details - computed: true, optional: false, required: false get lifecycleDetails() { return this.getStringAttribute('lifecycle_details'); } // owner - computed: true, optional: false, required: false get owner() { return this.getStringAttribute('owner'); } // security_policies - computed: true, optional: false, required: false get securityPolicies() { return this.getListAttribute('security_policies'); } // state - computed: true, optional: false, required: false get state() { return this.getStringAttribute('state'); } get systemTags() { return this._systemTags; } // time_created - computed: true, optional: false, required: false get timeCreated() { return this.getStringAttribute('time_created'); } // time_updated - computed: true, optional: false, required: false get timeUpdated() { return this.getStringAttribute('time_updated'); } } exports.CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesOutputReference = CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesOutputReference; _a = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesOutputReference", version: "1.0.0" }; class CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesList 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 CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesList = CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesList; _b = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesList[_b] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesList", version: "1.0.0" }; function cloudGuardTargetTargetDetailsToTerraform(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.cloudGuardTargetTargetDetailsToTerraform = cloudGuardTargetTargetDetailsToTerraform; function cloudGuardTargetTargetDetailsToHclTerraform(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.cloudGuardTargetTargetDetailsToHclTerraform = cloudGuardTargetTargetDetailsToHclTerraform; class CloudGuardTargetTargetDetailsOutputReference 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; // target_security_zone_recipes - computed: true, optional: false, required: false this._targetSecurityZoneRecipes = new CloudGuardTargetTargetDetailsTargetSecurityZoneRecipesList(this, "target_security_zone_recipes", 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; } } // security_zone_display_name - computed: true, optional: false, required: false get securityZoneDisplayName() { return this.getStringAttribute('security_zone_display_name'); } // security_zone_id - computed: true, optional: false, required: false get securityZoneId() { return this.getStringAttribute('security_zone_id'); } // target_resource_type - computed: true, optional: false, required: false get targetResourceType() { return this.getStringAttribute('target_resource_type'); } get targetSecurityZoneRecipes() { return this._targetSecurityZoneRecipes; } } exports.CloudGuardTargetTargetDetailsOutputReference = CloudGuardTargetTargetDetailsOutputReference; _c = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetailsOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetailsOutputReference", version: "1.0.0" }; class CloudGuardTargetTargetDetailsList 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 CloudGuardTargetTargetDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CloudGuardTargetTargetDetailsList = CloudGuardTargetTargetDetailsList; _d = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetailsList[_d] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetailsList", version: "1.0.0" }; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsToTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsToTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsToTerraform; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsToHclTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsToHclTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsToHclTerraform; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsOutputReference 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; } } // compartment_id - computed: true, optional: false, required: false get compartmentId() { return this.getStringAttribute('compartment_id'); } // condition - computed: true, optional: false, required: false get condition() { return this.getStringAttribute('condition'); } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsOutputReference = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsOutputReference; _e = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsOutputReference", version: "1.0.0" }; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsList 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 CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsList = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsList; _f = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsList[_f] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsList", version: "1.0.0" }; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesToTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesToTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesToTerraform; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesToHclTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesToHclTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesToHclTerraform; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesOutputReference 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; } } // list_type - computed: true, optional: false, required: false get listType() { return this.getStringAttribute('list_type'); } // managed_list_type - computed: true, optional: false, required: false get managedListType() { return this.getStringAttribute('managed_list_type'); } // value - computed: true, optional: false, required: false get value() { return this.getStringAttribute('value'); } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesOutputReference = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesOutputReference; _g = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesOutputReference", version: "1.0.0" }; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesList 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 CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesList = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesList; _h = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesList[_h] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesList", version: "1.0.0" }; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsToTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsToTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsToTerraform; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsToHclTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsToHclTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsToHclTerraform; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsOutputReference 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; // values - computed: true, optional: false, required: false this._values = new CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsValuesList(this, "values", 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; } } // config_key - computed: true, optional: false, required: false get configKey() { return this.getStringAttribute('config_key'); } // data_type - computed: true, optional: false, required: false get dataType() { return this.getStringAttribute('data_type'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } // value - computed: true, optional: false, required: false get value() { return this.getStringAttribute('value'); } get values() { return this._values; } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsOutputReference = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsOutputReference; _j = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsOutputReference", version: "1.0.0" }; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsList 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 CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsList = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsList; _k = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsList[_k] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsList", version: "1.0.0" }; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsToTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsToTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsToTerraform; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsToHclTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsToHclTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsToHclTerraform; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsOutputReference 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; // condition_groups - computed: true, optional: false, required: false this._conditionGroups = new CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConditionGroupsList(this, "condition_groups", false); // configurations - computed: true, optional: false, required: false this._configurations = new CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsConfigurationsList(this, "configurations", 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 conditionGroups() { return this._conditionGroups; } get configurations() { return this._configurations; } // is_configuration_allowed - computed: true, optional: false, required: false get isConfigurationAllowed() { return this.getBooleanAttribute('is_configuration_allowed'); } // is_enabled - computed: true, optional: false, required: false get isEnabled() { return this.getBooleanAttribute('is_enabled'); } // labels - computed: true, optional: false, required: false get labels() { return this.getListAttribute('labels'); } // risk_level - computed: true, optional: false, required: false get riskLevel() { return this.getStringAttribute('risk_level'); } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsOutputReference = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsOutputReference; _l = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsOutputReference", version: "1.0.0" }; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsList 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 CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsList = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsList; _m = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsList[_m] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsList", version: "1.0.0" }; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsToTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsToTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsToTerraform; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsToHclTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsToHclTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsToHclTerraform; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsOutputReference 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; } } // display_name - computed: true, optional: false, required: false get displayName() { return this.getStringAttribute('display_name'); } // entity_type - computed: true, optional: false, required: false get entityType() { return this.getStringAttribute('entity_type'); } // query_field - computed: true, optional: false, required: false get queryField() { return this.getStringAttribute('query_field'); } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsOutputReference = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsOutputReference; _o = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsOutputReference", version: "1.0.0" }; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsList 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 CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsList = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsList; _p = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsList[_p] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsList", version: "1.0.0" }; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesToTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesToTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesToTerraform; function cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesToHclTerraform(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.cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesToHclTerraform = cloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesToHclTerraform; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesOutputReference 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; // details - computed: true, optional: false, required: false this._details = new CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesDetailsList(this, "details", false); // entities_mappings - computed: true, optional: false, required: false this._entitiesMappings = new CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesEntitiesMappingsList(this, "entities_mappings", 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; } } // data_source_id - computed: true, optional: false, required: false get dataSourceId() { return this.getStringAttribute('data_source_id'); } // description - computed: true, optional: false, required: false get description() { return this.getStringAttribute('description'); } get details() { return this._details; } // detector - computed: true, optional: false, required: false get detector() { return this.getStringAttribute('detector'); } // detector_rule_id - computed: true, optional: false, required: false get detectorRuleId() { return this.getStringAttribute('detector_rule_id'); } // display_name - computed: true, optional: false, required: false get displayName() { return this.getStringAttribute('display_name'); } get entitiesMappings() { return this._entitiesMappings; } // lifecycle_details - computed: true, optional: false, required: false get lifecycleDetails() { return this.getStringAttribute('lifecycle_details'); } // managed_list_types - computed: true, optional: false, required: false get managedListTypes() { return this.getListAttribute('managed_list_types'); } // recommendation - computed: true, optional: false, required: false get recommendation() { return this.getStringAttribute('recommendation'); } // resource_type - computed: true, optional: false, required: false get resourceType() { return this.getStringAttribute('resource_type'); } // service_type - computed: true, optional: false, required: false get serviceType() { return this.getStringAttribute('service_type'); } // state - computed: true, optional: false, required: false get state() { return this.getStringAttribute('state'); } // time_created - computed: true, optional: false, required: false get timeCreated() { return this.getStringAttribute('time_created'); } // time_updated - computed: true, optional: false, required: false get timeUpdated() { return this.getStringAttribute('time_updated'); } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesOutputReference = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesOutputReference; _q = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesOutputReference[_q] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesOutputReference", version: "1.0.0" }; class CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesList 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 CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesList = CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesList; _r = JSII_RTTI_SYMBOL_1; CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesList[_r] = { fqn: "rhizo-co-terraform-provider-oci.cloudGuardTarget.CloudGuardTargetTargetDetectorRecipesEffectiveDetectorRulesList", version: "1.0.0" }; function cloudGuardTargetTargetDetectorRecipesDetectorRulesEntitiesMappingsToTerraform(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://cd