rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
808 lines • 222 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataOciCoreSecurityListsSecurityListsToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsToTerraform = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesList = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesOutputReference = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesToTerraform = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsList = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsOutputReference = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsToTerraform = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsSourcePortRangeList = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsSourcePortRangeOutputReference = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsSourcePortRangeToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsSourcePortRangeToTerraform = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsList = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsOutputReference = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsToTerraform = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeList = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeOutputReference = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeToTerraform = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsList = exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsOutputReference = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsToTerraform = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesList = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesOutputReference = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesToTerraform = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsList = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsOutputReference = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsToTerraform = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeList = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeOutputReference = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeToTerraform = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsList = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsOutputReference = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsToTerraform = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeList = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeOutputReference = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeToTerraform = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsList = exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsOutputReference = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsToHclTerraform = exports.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsToTerraform = void 0;
exports.DataOciCoreSecurityLists = exports.DataOciCoreSecurityListsFilterList = exports.DataOciCoreSecurityListsFilterOutputReference = exports.dataOciCoreSecurityListsFilterToHclTerraform = exports.dataOciCoreSecurityListsFilterToTerraform = exports.DataOciCoreSecurityListsSecurityListsList = exports.DataOciCoreSecurityListsSecurityListsOutputReference = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsToTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsToTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsToTerraform;
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsToHclTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsToHclTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsToHclTerraform;
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsOutputReference 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;
}
}
// code - computed: true, optional: false, required: false
get code() {
return this.getNumberAttribute('code');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getNumberAttribute('type');
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsOutputReference = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsOutputReference", version: "1.0.0" };
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsList 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 DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsList = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsList;
_b = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsList[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsList", version: "1.0.0" };
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeToTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeToTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeToTerraform;
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeToHclTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeToHclTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeToHclTerraform;
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeOutputReference 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;
}
}
// max - computed: true, optional: false, required: false
get max() {
return this.getNumberAttribute('max');
}
// min - computed: true, optional: false, required: false
get min() {
return this.getNumberAttribute('min');
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeOutputReference = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeOutputReference", version: "1.0.0" };
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeList 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 DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeList = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeList;
_d = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeList[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeList", version: "1.0.0" };
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsToTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsToTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsToTerraform;
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsToHclTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsToHclTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsToHclTerraform;
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsOutputReference 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;
// source_port_range - computed: true, optional: false, required: false
this._sourcePortRange = new DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsSourcePortRangeList(this, "source_port_range", 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;
}
}
// max - computed: true, optional: false, required: false
get max() {
return this.getNumberAttribute('max');
}
// min - computed: true, optional: false, required: false
get min() {
return this.getNumberAttribute('min');
}
get sourcePortRange() {
return this._sourcePortRange;
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsOutputReference = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsOutputReference", version: "1.0.0" };
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsList 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 DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsList = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsList;
_f = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsList[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsList", version: "1.0.0" };
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeToTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeToTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeToTerraform;
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeToHclTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeToHclTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeToHclTerraform;
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeOutputReference 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;
}
}
// max - computed: true, optional: false, required: false
get max() {
return this.getNumberAttribute('max');
}
// min - computed: true, optional: false, required: false
get min() {
return this.getNumberAttribute('min');
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeOutputReference = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeOutputReference", version: "1.0.0" };
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeList 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 DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeList = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeList;
_h = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeList[_h] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeList", version: "1.0.0" };
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsToTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsToTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsToTerraform;
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsToHclTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsToHclTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsToHclTerraform;
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsOutputReference 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;
// source_port_range - computed: true, optional: false, required: false
this._sourcePortRange = new DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsSourcePortRangeList(this, "source_port_range", 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;
}
}
// max - computed: true, optional: false, required: false
get max() {
return this.getNumberAttribute('max');
}
// min - computed: true, optional: false, required: false
get min() {
return this.getNumberAttribute('min');
}
get sourcePortRange() {
return this._sourcePortRange;
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsOutputReference = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsOutputReference", version: "1.0.0" };
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsList 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 DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsList = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsList;
_k = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsList[_k] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsList", version: "1.0.0" };
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesToTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesToTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesToTerraform;
function dataOciCoreSecurityListsSecurityListsEgressSecurityRulesToHclTerraform(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.dataOciCoreSecurityListsSecurityListsEgressSecurityRulesToHclTerraform = dataOciCoreSecurityListsSecurityListsEgressSecurityRulesToHclTerraform;
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesOutputReference 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;
// icmp_options - computed: true, optional: false, required: false
this._icmpOptions = new DataOciCoreSecurityListsSecurityListsEgressSecurityRulesIcmpOptionsList(this, "icmp_options", false);
// tcp_options - computed: true, optional: false, required: false
this._tcpOptions = new DataOciCoreSecurityListsSecurityListsEgressSecurityRulesTcpOptionsList(this, "tcp_options", false);
// udp_options - computed: true, optional: false, required: false
this._udpOptions = new DataOciCoreSecurityListsSecurityListsEgressSecurityRulesUdpOptionsList(this, "udp_options", 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;
}
}
// description - computed: true, optional: false, required: false
get description() {
return this.getStringAttribute('description');
}
// destination - computed: true, optional: false, required: false
get destination() {
return this.getStringAttribute('destination');
}
// destination_type - computed: true, optional: false, required: false
get destinationType() {
return this.getStringAttribute('destination_type');
}
get icmpOptions() {
return this._icmpOptions;
}
// protocol - computed: true, optional: false, required: false
get protocol() {
return this.getStringAttribute('protocol');
}
// stateless - computed: true, optional: false, required: false
get stateless() {
return this.getBooleanAttribute('stateless');
}
get tcpOptions() {
return this._tcpOptions;
}
get udpOptions() {
return this._udpOptions;
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesOutputReference = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesOutputReference", version: "1.0.0" };
class DataOciCoreSecurityListsSecurityListsEgressSecurityRulesList 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 DataOciCoreSecurityListsSecurityListsEgressSecurityRulesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesList = DataOciCoreSecurityListsSecurityListsEgressSecurityRulesList;
_m = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsEgressSecurityRulesList[_m] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsEgressSecurityRulesList", version: "1.0.0" };
function dataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsToTerraform(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.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsToTerraform = dataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsToTerraform;
function dataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsToHclTerraform(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.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsToHclTerraform = dataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsToHclTerraform;
class DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsOutputReference 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;
}
}
// code - computed: true, optional: false, required: false
get code() {
return this.getNumberAttribute('code');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getNumberAttribute('type');
}
}
exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsOutputReference = DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsOutputReference", version: "1.0.0" };
class DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsList 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 DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsList = DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsList;
_p = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsList[_p] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesIcmpOptionsList", version: "1.0.0" };
function dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeToTerraform(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.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeToTerraform = dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeToTerraform;
function dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeToHclTerraform(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.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeToHclTerraform = dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeToHclTerraform;
class DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeOutputReference 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;
}
}
// max - computed: true, optional: false, required: false
get max() {
return this.getNumberAttribute('max');
}
// min - computed: true, optional: false, required: false
get min() {
return this.getNumberAttribute('min');
}
}
exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeOutputReference = DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeOutputReference[_q] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeOutputReference", version: "1.0.0" };
class DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeList 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 DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeList = DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeList;
_r = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeList[_r] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeList", version: "1.0.0" };
function dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsToTerraform(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.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsToTerraform = dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsToTerraform;
function dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsToHclTerraform(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.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsToHclTerraform = dataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsToHclTerraform;
class DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsOutputReference 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;
// source_port_range - computed: true, optional: false, required: false
this._sourcePortRange = new DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsSourcePortRangeList(this, "source_port_range", 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;
}
}
// max - computed: true, optional: false, required: false
get max() {
return this.getNumberAttribute('max');
}
// min - computed: true, optional: false, required: false
get min() {
return this.getNumberAttribute('min');
}
get sourcePortRange() {
return this._sourcePortRange;
}
}
exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsOutputReference = DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsOutputReference[_s] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsOutputReference", version: "1.0.0" };
class DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsList 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 DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsList = DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsList;
_t = JSII_RTTI_SYMBOL_1;
DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsList[_t] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCoreSecurityLists.DataOciCoreSecurityListsSecurityListsIngressSecurityRulesTcpOptionsList", version: "1.0.0" };
function dataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsSourcePortRangeToTerraform(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.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsSourcePortRangeToTerraform = dataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsSourcePortRangeToTerraform;
function dataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsSourcePortRangeToHclTerraform(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.dataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsSourcePortRangeToHclTerraform = dataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsSourcePortRangeToHclTerraform;
class DataOciCoreSecurityListsSecurityListsIngressSecurityRulesUdpOptionsSourcePortRangeOutputReference 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;
}
}
// max - computed: true, optional: false, required: false
get max() {
return this.getNumbe