Documentation
¶
Index ¶
- func NetworkZone_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func NetworkZone_IsConstruct(x interface{}) *bool
- func NetworkZone_IsTerraformElement(x interface{}) *bool
- func NetworkZone_IsTerraformResource(x interface{}) *bool
- func NetworkZone_TfResourceType() *string
- func NewNetworkZone_Override(n NetworkZone, scope constructs.Construct, id *string, ...)
- type NetworkZone
- type NetworkZoneConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NetworkZone_GenerateConfigForImport ¶
func NetworkZone_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a NetworkZone resource upon running "cdktf plan <stack-name>".
func NetworkZone_IsConstruct ¶
func NetworkZone_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func NetworkZone_IsTerraformElement ¶
func NetworkZone_IsTerraformElement(x interface{}) *bool
Experimental.
func NetworkZone_IsTerraformResource ¶
func NetworkZone_IsTerraformResource(x interface{}) *bool
Experimental.
func NetworkZone_TfResourceType ¶
func NetworkZone_TfResourceType() *string
func NewNetworkZone_Override ¶
func NewNetworkZone_Override(n NetworkZone, scope constructs.Construct, id *string, config *NetworkZoneConfig)
Create a new {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone okta_network_zone} Resource.
Types ¶
type NetworkZone ¶
type NetworkZone interface { cdktf.TerraformResource Asns() *[]*string SetAsns(val *[]*string) AsnsInput() *[]*string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DynamicLocations() *[]*string SetDynamicLocations(val *[]*string) DynamicLocationsExclude() *[]*string SetDynamicLocationsExclude(val *[]*string) DynamicLocationsExcludeInput() *[]*string DynamicLocationsInput() *[]*string DynamicProxyType() *string SetDynamicProxyType(val *string) DynamicProxyTypeInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Gateways() *[]*string SetGateways(val *[]*string) GatewaysInput() *[]*string Id() *string SetId(val *string) IdInput() *string IpServiceCategoriesExclude() *[]*string SetIpServiceCategoriesExclude(val *[]*string) IpServiceCategoriesExcludeInput() *[]*string IpServiceCategoriesInclude() *[]*string SetIpServiceCategoriesInclude(val *[]*string) IpServiceCategoriesIncludeInput() *[]*string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) Proxies() *[]*string SetProxies(val *[]*string) ProxiesInput() *[]*string // Experimental. RawOverrides() interface{} Status() *string SetStatus(val *string) StatusInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Type() *string SetType(val *string) TypeInput() *string Usage() *string SetUsage(val *string) UsageInput() *string // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAsns() ResetDynamicLocations() ResetDynamicLocationsExclude() ResetDynamicProxyType() ResetGateways() ResetId() ResetIpServiceCategoriesExclude() ResetIpServiceCategoriesInclude() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProxies() ResetStatus() ResetUsage() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone okta_network_zone}.
func NewNetworkZone ¶
func NewNetworkZone(scope constructs.Construct, id *string, config *NetworkZoneConfig) NetworkZone
Create a new {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone okta_network_zone} Resource.
type NetworkZoneConfig ¶
type NetworkZoneConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Name of the Network Zone Resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#name NetworkZone#name} Name *string `field:"required" json:"name" yaml:"name"` // Type of the Network Zone - can be `IP`, `DYNAMIC` or `DYNAMIC_V2` only. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#type NetworkZone#type} Type *string `field:"required" json:"type" yaml:"type"` // List of asns included. // // Format of each array value: a string representation of an ASN numeric value. Use with type `DYNAMIC` or `DYNAMIC_V2` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#asns NetworkZone#asns} Asns *[]*string `field:"optional" json:"asns" yaml:"asns"` // Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type `DYNAMIC` or `DYNAMIC_V2`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#dynamic_locations NetworkZone#dynamic_locations} DynamicLocations *[]*string `field:"optional" json:"dynamicLocations" yaml:"dynamicLocations"` // Array of locations ISO-3166-1(2) excluded. Format code: countryCode OR countryCode-regionCode. Use with type `DYNAMIC_V2`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#dynamic_locations_exclude NetworkZone#dynamic_locations_exclude} DynamicLocationsExclude *[]*string `field:"optional" json:"dynamicLocationsExclude" yaml:"dynamicLocationsExclude"` // Type of proxy being controlled by this dynamic network zone - can be one of `Any`, `TorAnonymizer` or `NotTorAnonymizer`. // // Use with type `DYNAMIC` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#dynamic_proxy_type NetworkZone#dynamic_proxy_type} DynamicProxyType *string `field:"optional" json:"dynamicProxyType" yaml:"dynamicProxyType"` // Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Use with type `IP`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#gateways NetworkZone#gateways} Gateways *[]*string `field:"optional" json:"gateways" yaml:"gateways"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#id NetworkZone#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. Id *string `field:"optional" json:"id" yaml:"id"` // List of ip service excluded. Use with type `DYNAMIC_V2`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#ip_service_categories_exclude NetworkZone#ip_service_categories_exclude} IpServiceCategoriesExclude *[]*string `field:"optional" json:"ipServiceCategoriesExclude" yaml:"ipServiceCategoriesExclude"` // List of ip service included. Use with type `DYNAMIC_V2`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#ip_service_categories_include NetworkZone#ip_service_categories_include} IpServiceCategoriesInclude *[]*string `field:"optional" json:"ipServiceCategoriesInclude" yaml:"ipServiceCategoriesInclude"` // Array of values in CIDR/range form depending on the way it's been declared (i.e. CIDR will contain /suffix). Please check API docs for examples. Can not be set if `usage` is set to `BLOCKLIST`. Use with type `IP`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#proxies NetworkZone#proxies} Proxies *[]*string `field:"optional" json:"proxies" yaml:"proxies"` // Network Status - can either be `ACTIVE` or `INACTIVE` only. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#status NetworkZone#status} Status *string `field:"optional" json:"status" yaml:"status"` // Usage of the Network Zone - can be either `POLICY` or `BLOCKLIST`. By default, it is `POLICY`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/network_zone#usage NetworkZone#usage} Usage *string `field:"optional" json:"usage" yaml:"usage"` }