rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
753 lines (752 loc) • 40.7 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface CoreSecurityListConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#compartment_id CoreSecurityList#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#defined_tags CoreSecurityList#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#display_name CoreSecurityList#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#freeform_tags CoreSecurityList#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#id CoreSecurityList#id}
*
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
*/
readonly id?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#vcn_id CoreSecurityList#vcn_id}
*/
readonly vcnId: string;
/**
* egress_security_rules block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#egress_security_rules CoreSecurityList#egress_security_rules}
*/
readonly egressSecurityRules?: CoreSecurityListEgressSecurityRules[] | cdktf.IResolvable;
/**
* ingress_security_rules block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#ingress_security_rules CoreSecurityList#ingress_security_rules}
*/
readonly ingressSecurityRules?: CoreSecurityListIngressSecurityRules[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#timeouts CoreSecurityList#timeouts}
*/
readonly timeouts?: CoreSecurityListTimeouts;
}
export interface CoreSecurityListEgressSecurityRulesIcmpOptions {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#code CoreSecurityList#code}
*/
readonly code?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#type CoreSecurityList#type}
*/
readonly type: number;
}
export declare function coreSecurityListEgressSecurityRulesIcmpOptionsToTerraform(struct?: CoreSecurityListEgressSecurityRulesIcmpOptionsOutputReference | CoreSecurityListEgressSecurityRulesIcmpOptions): any;
export declare function coreSecurityListEgressSecurityRulesIcmpOptionsToHclTerraform(struct?: CoreSecurityListEgressSecurityRulesIcmpOptionsOutputReference | CoreSecurityListEgressSecurityRulesIcmpOptions): any;
export declare class CoreSecurityListEgressSecurityRulesIcmpOptionsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreSecurityListEgressSecurityRulesIcmpOptions | undefined;
set internalValue(value: CoreSecurityListEgressSecurityRulesIcmpOptions | undefined);
private _code?;
get code(): number;
set code(value: number);
resetCode(): void;
get codeInput(): number | undefined;
private _type?;
get type(): number;
set type(value: number);
get typeInput(): number | undefined;
}
export interface CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRange {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#max CoreSecurityList#max}
*/
readonly max: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#min CoreSecurityList#min}
*/
readonly min: number;
}
export declare function coreSecurityListEgressSecurityRulesTcpOptionsSourcePortRangeToTerraform(struct?: CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRangeOutputReference | CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRange): any;
export declare function coreSecurityListEgressSecurityRulesTcpOptionsSourcePortRangeToHclTerraform(struct?: CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRangeOutputReference | CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRange): any;
export declare class CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRangeOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRange | undefined;
set internalValue(value: CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRange | undefined);
private _max?;
get max(): number;
set max(value: number);
get maxInput(): number | undefined;
private _min?;
get min(): number;
set min(value: number);
get minInput(): number | undefined;
}
export interface CoreSecurityListEgressSecurityRulesTcpOptions {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#max CoreSecurityList#max}
*/
readonly max?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#min CoreSecurityList#min}
*/
readonly min?: number;
/**
* source_port_range block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#source_port_range CoreSecurityList#source_port_range}
*/
readonly sourcePortRange?: CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRange;
}
export declare function coreSecurityListEgressSecurityRulesTcpOptionsToTerraform(struct?: CoreSecurityListEgressSecurityRulesTcpOptionsOutputReference | CoreSecurityListEgressSecurityRulesTcpOptions): any;
export declare function coreSecurityListEgressSecurityRulesTcpOptionsToHclTerraform(struct?: CoreSecurityListEgressSecurityRulesTcpOptionsOutputReference | CoreSecurityListEgressSecurityRulesTcpOptions): any;
export declare class CoreSecurityListEgressSecurityRulesTcpOptionsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreSecurityListEgressSecurityRulesTcpOptions | undefined;
set internalValue(value: CoreSecurityListEgressSecurityRulesTcpOptions | undefined);
private _max?;
get max(): number;
set max(value: number);
resetMax(): void;
get maxInput(): number | undefined;
private _min?;
get min(): number;
set min(value: number);
resetMin(): void;
get minInput(): number | undefined;
private _sourcePortRange;
get sourcePortRange(): CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRangeOutputReference;
putSourcePortRange(value: CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRange): void;
resetSourcePortRange(): void;
get sourcePortRangeInput(): CoreSecurityListEgressSecurityRulesTcpOptionsSourcePortRange | undefined;
}
export interface CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRange {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#max CoreSecurityList#max}
*/
readonly max: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#min CoreSecurityList#min}
*/
readonly min: number;
}
export declare function coreSecurityListEgressSecurityRulesUdpOptionsSourcePortRangeToTerraform(struct?: CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRangeOutputReference | CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRange): any;
export declare function coreSecurityListEgressSecurityRulesUdpOptionsSourcePortRangeToHclTerraform(struct?: CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRangeOutputReference | CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRange): any;
export declare class CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRangeOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRange | undefined;
set internalValue(value: CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRange | undefined);
private _max?;
get max(): number;
set max(value: number);
get maxInput(): number | undefined;
private _min?;
get min(): number;
set min(value: number);
get minInput(): number | undefined;
}
export interface CoreSecurityListEgressSecurityRulesUdpOptions {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#max CoreSecurityList#max}
*/
readonly max?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#min CoreSecurityList#min}
*/
readonly min?: number;
/**
* source_port_range block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#source_port_range CoreSecurityList#source_port_range}
*/
readonly sourcePortRange?: CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRange;
}
export declare function coreSecurityListEgressSecurityRulesUdpOptionsToTerraform(struct?: CoreSecurityListEgressSecurityRulesUdpOptionsOutputReference | CoreSecurityListEgressSecurityRulesUdpOptions): any;
export declare function coreSecurityListEgressSecurityRulesUdpOptionsToHclTerraform(struct?: CoreSecurityListEgressSecurityRulesUdpOptionsOutputReference | CoreSecurityListEgressSecurityRulesUdpOptions): any;
export declare class CoreSecurityListEgressSecurityRulesUdpOptionsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreSecurityListEgressSecurityRulesUdpOptions | undefined;
set internalValue(value: CoreSecurityListEgressSecurityRulesUdpOptions | undefined);
private _max?;
get max(): number;
set max(value: number);
resetMax(): void;
get maxInput(): number | undefined;
private _min?;
get min(): number;
set min(value: number);
resetMin(): void;
get minInput(): number | undefined;
private _sourcePortRange;
get sourcePortRange(): CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRangeOutputReference;
putSourcePortRange(value: CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRange): void;
resetSourcePortRange(): void;
get sourcePortRangeInput(): CoreSecurityListEgressSecurityRulesUdpOptionsSourcePortRange | undefined;
}
export interface CoreSecurityListEgressSecurityRules {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#description CoreSecurityList#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#destination CoreSecurityList#destination}
*/
readonly destination: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#destination_type CoreSecurityList#destination_type}
*/
readonly destinationType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#protocol CoreSecurityList#protocol}
*/
readonly protocol: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#stateless CoreSecurityList#stateless}
*/
readonly stateless?: boolean | cdktf.IResolvable;
/**
* icmp_options block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#icmp_options CoreSecurityList#icmp_options}
*/
readonly icmpOptions?: CoreSecurityListEgressSecurityRulesIcmpOptions;
/**
* tcp_options block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#tcp_options CoreSecurityList#tcp_options}
*/
readonly tcpOptions?: CoreSecurityListEgressSecurityRulesTcpOptions;
/**
* udp_options block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#udp_options CoreSecurityList#udp_options}
*/
readonly udpOptions?: CoreSecurityListEgressSecurityRulesUdpOptions;
}
export declare function coreSecurityListEgressSecurityRulesToTerraform(struct?: CoreSecurityListEgressSecurityRules | cdktf.IResolvable): any;
export declare function coreSecurityListEgressSecurityRulesToHclTerraform(struct?: CoreSecurityListEgressSecurityRules | cdktf.IResolvable): any;
export declare class CoreSecurityListEgressSecurityRulesOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): CoreSecurityListEgressSecurityRules | cdktf.IResolvable | undefined;
set internalValue(value: CoreSecurityListEgressSecurityRules | cdktf.IResolvable | undefined);
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _destination?;
get destination(): string;
set destination(value: string);
get destinationInput(): string | undefined;
private _destinationType?;
get destinationType(): string;
set destinationType(value: string);
resetDestinationType(): void;
get destinationTypeInput(): string | undefined;
private _protocol?;
get protocol(): string;
set protocol(value: string);
get protocolInput(): string | undefined;
private _stateless?;
get stateless(): boolean | cdktf.IResolvable;
set stateless(value: boolean | cdktf.IResolvable);
resetStateless(): void;
get statelessInput(): boolean | cdktf.IResolvable | undefined;
private _icmpOptions;
get icmpOptions(): CoreSecurityListEgressSecurityRulesIcmpOptionsOutputReference;
putIcmpOptions(value: CoreSecurityListEgressSecurityRulesIcmpOptions): void;
resetIcmpOptions(): void;
get icmpOptionsInput(): CoreSecurityListEgressSecurityRulesIcmpOptions | undefined;
private _tcpOptions;
get tcpOptions(): CoreSecurityListEgressSecurityRulesTcpOptionsOutputReference;
putTcpOptions(value: CoreSecurityListEgressSecurityRulesTcpOptions): void;
resetTcpOptions(): void;
get tcpOptionsInput(): CoreSecurityListEgressSecurityRulesTcpOptions | undefined;
private _udpOptions;
get udpOptions(): CoreSecurityListEgressSecurityRulesUdpOptionsOutputReference;
putUdpOptions(value: CoreSecurityListEgressSecurityRulesUdpOptions): void;
resetUdpOptions(): void;
get udpOptionsInput(): CoreSecurityListEgressSecurityRulesUdpOptions | undefined;
}
export declare class CoreSecurityListEgressSecurityRulesList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: CoreSecurityListEgressSecurityRules[] | cdktf.IResolvable;
/**
* @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): CoreSecurityListEgressSecurityRulesOutputReference;
}
export interface CoreSecurityListIngressSecurityRulesIcmpOptions {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#code CoreSecurityList#code}
*/
readonly code?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#type CoreSecurityList#type}
*/
readonly type: number;
}
export declare function coreSecurityListIngressSecurityRulesIcmpOptionsToTerraform(struct?: CoreSecurityListIngressSecurityRulesIcmpOptionsOutputReference | CoreSecurityListIngressSecurityRulesIcmpOptions): any;
export declare function coreSecurityListIngressSecurityRulesIcmpOptionsToHclTerraform(struct?: CoreSecurityListIngressSecurityRulesIcmpOptionsOutputReference | CoreSecurityListIngressSecurityRulesIcmpOptions): any;
export declare class CoreSecurityListIngressSecurityRulesIcmpOptionsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreSecurityListIngressSecurityRulesIcmpOptions | undefined;
set internalValue(value: CoreSecurityListIngressSecurityRulesIcmpOptions | undefined);
private _code?;
get code(): number;
set code(value: number);
resetCode(): void;
get codeInput(): number | undefined;
private _type?;
get type(): number;
set type(value: number);
get typeInput(): number | undefined;
}
export interface CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRange {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#max CoreSecurityList#max}
*/
readonly max: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#min CoreSecurityList#min}
*/
readonly min: number;
}
export declare function coreSecurityListIngressSecurityRulesTcpOptionsSourcePortRangeToTerraform(struct?: CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRangeOutputReference | CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRange): any;
export declare function coreSecurityListIngressSecurityRulesTcpOptionsSourcePortRangeToHclTerraform(struct?: CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRangeOutputReference | CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRange): any;
export declare class CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRangeOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRange | undefined;
set internalValue(value: CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRange | undefined);
private _max?;
get max(): number;
set max(value: number);
get maxInput(): number | undefined;
private _min?;
get min(): number;
set min(value: number);
get minInput(): number | undefined;
}
export interface CoreSecurityListIngressSecurityRulesTcpOptions {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#max CoreSecurityList#max}
*/
readonly max?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#min CoreSecurityList#min}
*/
readonly min?: number;
/**
* source_port_range block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#source_port_range CoreSecurityList#source_port_range}
*/
readonly sourcePortRange?: CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRange;
}
export declare function coreSecurityListIngressSecurityRulesTcpOptionsToTerraform(struct?: CoreSecurityListIngressSecurityRulesTcpOptionsOutputReference | CoreSecurityListIngressSecurityRulesTcpOptions): any;
export declare function coreSecurityListIngressSecurityRulesTcpOptionsToHclTerraform(struct?: CoreSecurityListIngressSecurityRulesTcpOptionsOutputReference | CoreSecurityListIngressSecurityRulesTcpOptions): any;
export declare class CoreSecurityListIngressSecurityRulesTcpOptionsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreSecurityListIngressSecurityRulesTcpOptions | undefined;
set internalValue(value: CoreSecurityListIngressSecurityRulesTcpOptions | undefined);
private _max?;
get max(): number;
set max(value: number);
resetMax(): void;
get maxInput(): number | undefined;
private _min?;
get min(): number;
set min(value: number);
resetMin(): void;
get minInput(): number | undefined;
private _sourcePortRange;
get sourcePortRange(): CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRangeOutputReference;
putSourcePortRange(value: CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRange): void;
resetSourcePortRange(): void;
get sourcePortRangeInput(): CoreSecurityListIngressSecurityRulesTcpOptionsSourcePortRange | undefined;
}
export interface CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRange {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#max CoreSecurityList#max}
*/
readonly max: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#min CoreSecurityList#min}
*/
readonly min: number;
}
export declare function coreSecurityListIngressSecurityRulesUdpOptionsSourcePortRangeToTerraform(struct?: CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRangeOutputReference | CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRange): any;
export declare function coreSecurityListIngressSecurityRulesUdpOptionsSourcePortRangeToHclTerraform(struct?: CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRangeOutputReference | CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRange): any;
export declare class CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRangeOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRange | undefined;
set internalValue(value: CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRange | undefined);
private _max?;
get max(): number;
set max(value: number);
get maxInput(): number | undefined;
private _min?;
get min(): number;
set min(value: number);
get minInput(): number | undefined;
}
export interface CoreSecurityListIngressSecurityRulesUdpOptions {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#max CoreSecurityList#max}
*/
readonly max?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#min CoreSecurityList#min}
*/
readonly min?: number;
/**
* source_port_range block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#source_port_range CoreSecurityList#source_port_range}
*/
readonly sourcePortRange?: CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRange;
}
export declare function coreSecurityListIngressSecurityRulesUdpOptionsToTerraform(struct?: CoreSecurityListIngressSecurityRulesUdpOptionsOutputReference | CoreSecurityListIngressSecurityRulesUdpOptions): any;
export declare function coreSecurityListIngressSecurityRulesUdpOptionsToHclTerraform(struct?: CoreSecurityListIngressSecurityRulesUdpOptionsOutputReference | CoreSecurityListIngressSecurityRulesUdpOptions): any;
export declare class CoreSecurityListIngressSecurityRulesUdpOptionsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreSecurityListIngressSecurityRulesUdpOptions | undefined;
set internalValue(value: CoreSecurityListIngressSecurityRulesUdpOptions | undefined);
private _max?;
get max(): number;
set max(value: number);
resetMax(): void;
get maxInput(): number | undefined;
private _min?;
get min(): number;
set min(value: number);
resetMin(): void;
get minInput(): number | undefined;
private _sourcePortRange;
get sourcePortRange(): CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRangeOutputReference;
putSourcePortRange(value: CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRange): void;
resetSourcePortRange(): void;
get sourcePortRangeInput(): CoreSecurityListIngressSecurityRulesUdpOptionsSourcePortRange | undefined;
}
export interface CoreSecurityListIngressSecurityRules {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#description CoreSecurityList#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#protocol CoreSecurityList#protocol}
*/
readonly protocol: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#source CoreSecurityList#source}
*/
readonly source: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#source_type CoreSecurityList#source_type}
*/
readonly sourceType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#stateless CoreSecurityList#stateless}
*/
readonly stateless?: boolean | cdktf.IResolvable;
/**
* icmp_options block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#icmp_options CoreSecurityList#icmp_options}
*/
readonly icmpOptions?: CoreSecurityListIngressSecurityRulesIcmpOptions;
/**
* tcp_options block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#tcp_options CoreSecurityList#tcp_options}
*/
readonly tcpOptions?: CoreSecurityListIngressSecurityRulesTcpOptions;
/**
* udp_options block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#udp_options CoreSecurityList#udp_options}
*/
readonly udpOptions?: CoreSecurityListIngressSecurityRulesUdpOptions;
}
export declare function coreSecurityListIngressSecurityRulesToTerraform(struct?: CoreSecurityListIngressSecurityRules | cdktf.IResolvable): any;
export declare function coreSecurityListIngressSecurityRulesToHclTerraform(struct?: CoreSecurityListIngressSecurityRules | cdktf.IResolvable): any;
export declare class CoreSecurityListIngressSecurityRulesOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): CoreSecurityListIngressSecurityRules | cdktf.IResolvable | undefined;
set internalValue(value: CoreSecurityListIngressSecurityRules | cdktf.IResolvable | undefined);
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _protocol?;
get protocol(): string;
set protocol(value: string);
get protocolInput(): string | undefined;
private _source?;
get source(): string;
set source(value: string);
get sourceInput(): string | undefined;
private _sourceType?;
get sourceType(): string;
set sourceType(value: string);
resetSourceType(): void;
get sourceTypeInput(): string | undefined;
private _stateless?;
get stateless(): boolean | cdktf.IResolvable;
set stateless(value: boolean | cdktf.IResolvable);
resetStateless(): void;
get statelessInput(): boolean | cdktf.IResolvable | undefined;
private _icmpOptions;
get icmpOptions(): CoreSecurityListIngressSecurityRulesIcmpOptionsOutputReference;
putIcmpOptions(value: CoreSecurityListIngressSecurityRulesIcmpOptions): void;
resetIcmpOptions(): void;
get icmpOptionsInput(): CoreSecurityListIngressSecurityRulesIcmpOptions | undefined;
private _tcpOptions;
get tcpOptions(): CoreSecurityListIngressSecurityRulesTcpOptionsOutputReference;
putTcpOptions(value: CoreSecurityListIngressSecurityRulesTcpOptions): void;
resetTcpOptions(): void;
get tcpOptionsInput(): CoreSecurityListIngressSecurityRulesTcpOptions | undefined;
private _udpOptions;
get udpOptions(): CoreSecurityListIngressSecurityRulesUdpOptionsOutputReference;
putUdpOptions(value: CoreSecurityListIngressSecurityRulesUdpOptions): void;
resetUdpOptions(): void;
get udpOptionsInput(): CoreSecurityListIngressSecurityRulesUdpOptions | undefined;
}
export declare class CoreSecurityListIngressSecurityRulesList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: CoreSecurityListIngressSecurityRules[] | cdktf.IResolvable;
/**
* @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): CoreSecurityListIngressSecurityRulesOutputReference;
}
export interface CoreSecurityListTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#create CoreSecurityList#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#delete CoreSecurityList#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#update CoreSecurityList#update}
*/
readonly update?: string;
}
export declare function coreSecurityListTimeoutsToTerraform(struct?: CoreSecurityListTimeouts | cdktf.IResolvable): any;
export declare function coreSecurityListTimeoutsToHclTerraform(struct?: CoreSecurityListTimeouts | cdktf.IResolvable): any;
export declare class CoreSecurityListTimeoutsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreSecurityListTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: CoreSecurityListTimeouts | cdktf.IResolvable | undefined);
private _create?;
get create(): string;
set create(value: string);
resetCreate(): void;
get createInput(): string | undefined;
private _delete?;
get delete(): string;
set delete(value: string);
resetDelete(): void;
get deleteInput(): string | undefined;
private _update?;
get update(): string;
set update(value: string);
resetUpdate(): void;
get updateInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list oci_core_security_list}
*/
export declare class CoreSecurityList extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_core_security_list";
/**
* Generates CDKTF code for importing a CoreSecurityList resource upon running "cdktf plan <stack-name>"
* @param scope The scope in which to define this construct
* @param importToId The construct id used in the generated config for the CoreSecurityList to import
* @param importFromId The id of the existing CoreSecurityList that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CoreSecurityList to import is found
*/
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
/**
* Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_security_list oci_core_security_list} Resource
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options CoreSecurityListConfig
*/
constructor(scope: Construct, id: string, config: CoreSecurityListConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _definedTags?;
get definedTags(): {
[key: string]: string;
};
set definedTags(value: {
[key: string]: string;
});
resetDefinedTags(): void;
get definedTagsInput(): {
[key: string]: string;
} | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _freeformTags?;
get freeformTags(): {
[key: string]: string;
};
set freeformTags(value: {
[key: string]: string;
});
resetFreeformTags(): void;
get freeformTagsInput(): {
[key: string]: string;
} | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
get state(): string;
get timeCreated(): string;
private _vcnId?;
get vcnId(): string;
set vcnId(value: string);
get vcnIdInput(): string | undefined;
private _egressSecurityRules;
get egressSecurityRules(): CoreSecurityListEgressSecurityRulesList;
putEgressSecurityRules(value: CoreSecurityListEgressSecurityRules[] | cdktf.IResolvable): void;
resetEgressSecurityRules(): void;
get egressSecurityRulesInput(): cdktf.IResolvable | CoreSecurityListEgressSecurityRules[] | undefined;
private _ingressSecurityRules;
get ingressSecurityRules(): CoreSecurityListIngressSecurityRulesList;
putIngressSecurityRules(value: CoreSecurityListIngressSecurityRules[] | cdktf.IResolvable): void;
resetIngressSecurityRules(): void;
get ingressSecurityRulesInput(): cdktf.IResolvable | CoreSecurityListIngressSecurityRules[] | undefined;
private _timeouts;
get timeouts(): CoreSecurityListTimeoutsOutputReference;
putTimeouts(value: CoreSecurityListTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | CoreSecurityListTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}