oci.Waf.AppFirewall
Explore with Pulumi AI
This resource provides the Web App Firewall resource in Oracle Cloud Infrastructure Waf service.
Creates a new WebAppFirewall.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testWebAppFirewall = new oci.waf.AppFirewall("test_web_app_firewall", {
backendType: webAppFirewallBackendType,
compartmentId: compartmentId,
loadBalancerId: testLoadBalancer.id,
webAppFirewallPolicyId: testWebAppFirewallPolicy.id,
definedTags: {
"foo-namespace.bar-key": "value",
},
displayName: webAppFirewallDisplayName,
freeformTags: {
"bar-key": "value",
},
systemTags: webAppFirewallSystemTags,
});
import pulumi
import pulumi_oci as oci
test_web_app_firewall = oci.waf.AppFirewall("test_web_app_firewall",
backend_type=web_app_firewall_backend_type,
compartment_id=compartment_id,
load_balancer_id=test_load_balancer["id"],
web_app_firewall_policy_id=test_web_app_firewall_policy["id"],
defined_tags={
"foo-namespace.bar-key": "value",
},
display_name=web_app_firewall_display_name,
freeform_tags={
"bar-key": "value",
},
system_tags=web_app_firewall_system_tags)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Waf"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Waf.NewAppFirewall(ctx, "test_web_app_firewall", &Waf.AppFirewallArgs{
BackendType: pulumi.Any(webAppFirewallBackendType),
CompartmentId: pulumi.Any(compartmentId),
LoadBalancerId: pulumi.Any(testLoadBalancer.Id),
WebAppFirewallPolicyId: pulumi.Any(testWebAppFirewallPolicy.Id),
DefinedTags: pulumi.Map{
"foo-namespace.bar-key": pulumi.Any("value"),
},
DisplayName: pulumi.Any(webAppFirewallDisplayName),
FreeformTags: pulumi.Map{
"bar-key": pulumi.Any("value"),
},
SystemTags: pulumi.Any(webAppFirewallSystemTags),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testWebAppFirewall = new Oci.Waf.AppFirewall("test_web_app_firewall", new()
{
BackendType = webAppFirewallBackendType,
CompartmentId = compartmentId,
LoadBalancerId = testLoadBalancer.Id,
WebAppFirewallPolicyId = testWebAppFirewallPolicy.Id,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
DisplayName = webAppFirewallDisplayName,
FreeformTags =
{
{ "bar-key", "value" },
},
SystemTags = webAppFirewallSystemTags,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Waf.AppFirewall;
import com.pulumi.oci.Waf.AppFirewallArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testWebAppFirewall = new AppFirewall("testWebAppFirewall", AppFirewallArgs.builder()
.backendType(webAppFirewallBackendType)
.compartmentId(compartmentId)
.loadBalancerId(testLoadBalancer.id())
.webAppFirewallPolicyId(testWebAppFirewallPolicy.id())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.displayName(webAppFirewallDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.systemTags(webAppFirewallSystemTags)
.build());
}
}
resources:
testWebAppFirewall:
type: oci:Waf:AppFirewall
name: test_web_app_firewall
properties:
backendType: ${webAppFirewallBackendType}
compartmentId: ${compartmentId}
loadBalancerId: ${testLoadBalancer.id}
webAppFirewallPolicyId: ${testWebAppFirewallPolicy.id}
definedTags:
foo-namespace.bar-key: value
displayName: ${webAppFirewallDisplayName}
freeformTags:
bar-key: value
systemTags: ${webAppFirewallSystemTags}
Create AppFirewall Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppFirewall(name: string, args: AppFirewallArgs, opts?: CustomResourceOptions);
@overload
def AppFirewall(resource_name: str,
args: AppFirewallArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppFirewall(resource_name: str,
opts: Optional[ResourceOptions] = None,
backend_type: Optional[str] = None,
compartment_id: Optional[str] = None,
load_balancer_id: Optional[str] = None,
web_app_firewall_policy_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
system_tags: Optional[Mapping[str, Any]] = None)
func NewAppFirewall(ctx *Context, name string, args AppFirewallArgs, opts ...ResourceOption) (*AppFirewall, error)
public AppFirewall(string name, AppFirewallArgs args, CustomResourceOptions? opts = null)
public AppFirewall(String name, AppFirewallArgs args)
public AppFirewall(String name, AppFirewallArgs args, CustomResourceOptions options)
type: oci:Waf:AppFirewall
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppFirewallArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppFirewallArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppFirewallArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppFirewallArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppFirewallArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var appFirewallResource = new Oci.Waf.AppFirewall("appFirewallResource", new()
{
BackendType = "string",
CompartmentId = "string",
LoadBalancerId = "string",
WebAppFirewallPolicyId = "string",
DefinedTags =
{
{ "string", "any" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
SystemTags =
{
{ "string", "any" },
},
});
example, err := Waf.NewAppFirewall(ctx, "appFirewallResource", &Waf.AppFirewallArgs{
BackendType: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
LoadBalancerId: pulumi.String("string"),
WebAppFirewallPolicyId: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
SystemTags: pulumi.Map{
"string": pulumi.Any("any"),
},
})
var appFirewallResource = new AppFirewall("appFirewallResource", AppFirewallArgs.builder()
.backendType("string")
.compartmentId("string")
.loadBalancerId("string")
.webAppFirewallPolicyId("string")
.definedTags(Map.of("string", "any"))
.displayName("string")
.freeformTags(Map.of("string", "any"))
.systemTags(Map.of("string", "any"))
.build());
app_firewall_resource = oci.waf.AppFirewall("appFirewallResource",
backend_type="string",
compartment_id="string",
load_balancer_id="string",
web_app_firewall_policy_id="string",
defined_tags={
"string": "any",
},
display_name="string",
freeform_tags={
"string": "any",
},
system_tags={
"string": "any",
})
const appFirewallResource = new oci.waf.AppFirewall("appFirewallResource", {
backendType: "string",
compartmentId: "string",
loadBalancerId: "string",
webAppFirewallPolicyId: "string",
definedTags: {
string: "any",
},
displayName: "string",
freeformTags: {
string: "any",
},
systemTags: {
string: "any",
},
});
type: oci:Waf:AppFirewall
properties:
backendType: string
compartmentId: string
definedTags:
string: any
displayName: string
freeformTags:
string: any
loadBalancerId: string
systemTags:
string: any
webAppFirewallPolicyId: string
AppFirewall Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AppFirewall resource accepts the following input properties:
- Backend
Type string - Type of the WebAppFirewall, as example LOAD_BALANCER.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Load
Balancer stringId - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- Web
App stringFirewall Policy Id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) WebAppFirewall display name, can be renamed.
- Dictionary<string, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Dictionary<string, object>
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Backend
Type string - Type of the WebAppFirewall, as example LOAD_BALANCER.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Load
Balancer stringId - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- Web
App stringFirewall Policy Id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) WebAppFirewall display name, can be renamed.
- map[string]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- map[string]interface{}
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- backend
Type String - Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment
Id String - (Updatable) The OCID of the compartment.
- load
Balancer StringId - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- web
App StringFirewall Policy Id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) WebAppFirewall display name, can be renamed.
- Map<String,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Map<String,Object>
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- backend
Type string - Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment
Id string - (Updatable) The OCID of the compartment.
- load
Balancer stringId - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- web
App stringFirewall Policy Id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) WebAppFirewall display name, can be renamed.
- {[key: string]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- {[key: string]: any}
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- backend_
type str - Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment_
id str - (Updatable) The OCID of the compartment.
- load_
balancer_ strid - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- web_
app_ strfirewall_ policy_ id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) WebAppFirewall display name, can be renamed.
- Mapping[str, Any]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Mapping[str, Any]
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- backend
Type String - Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment
Id String - (Updatable) The OCID of the compartment.
- load
Balancer StringId - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- web
App StringFirewall Policy Id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) WebAppFirewall display name, can be renamed.
- Map<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Map<Any>
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
Outputs
All input properties are implicitly available as output properties. Additionally, the AppFirewall resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- State string
- The current state of the WebAppFirewall.
- Time
Created string - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- State string
- The current state of the WebAppFirewall.
- Time
Created string - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- state String
- The current state of the WebAppFirewall.
- time
Created String - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- state string
- The current state of the WebAppFirewall.
- time
Created string - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- time
Updated string - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- state str
- The current state of the WebAppFirewall.
- time_
created str - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- time_
updated str - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- state String
- The current state of the WebAppFirewall.
- time
Created String - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
Look up Existing AppFirewall Resource
Get an existing AppFirewall resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppFirewallState, opts?: CustomResourceOptions): AppFirewall
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backend_type: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
lifecycle_details: Optional[str] = None,
load_balancer_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
web_app_firewall_policy_id: Optional[str] = None) -> AppFirewall
func GetAppFirewall(ctx *Context, name string, id IDInput, state *AppFirewallState, opts ...ResourceOption) (*AppFirewall, error)
public static AppFirewall Get(string name, Input<string> id, AppFirewallState? state, CustomResourceOptions? opts = null)
public static AppFirewall get(String name, Output<String> id, AppFirewallState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Backend
Type string - Type of the WebAppFirewall, as example LOAD_BALANCER.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) WebAppFirewall display name, can be renamed.
- Dictionary<string, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- Load
Balancer stringId - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- State string
- The current state of the WebAppFirewall.
- Dictionary<string, object>
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
- Web
App stringFirewall Policy Id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Backend
Type string - Type of the WebAppFirewall, as example LOAD_BALANCER.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) WebAppFirewall display name, can be renamed.
- map[string]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- Load
Balancer stringId - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- State string
- The current state of the WebAppFirewall.
- map[string]interface{}
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
- Web
App stringFirewall Policy Id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- backend
Type String - Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment
Id String - (Updatable) The OCID of the compartment.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) WebAppFirewall display name, can be renamed.
- Map<String,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- load
Balancer StringId - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- state String
- The current state of the WebAppFirewall.
- Map<String,Object>
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
- web
App StringFirewall Policy Id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- backend
Type string - Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment
Id string - (Updatable) The OCID of the compartment.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) WebAppFirewall display name, can be renamed.
- {[key: string]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- load
Balancer stringId - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- state string
- The current state of the WebAppFirewall.
- {[key: string]: any}
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- time
Updated string - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
- web
App stringFirewall Policy Id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- backend_
type str - Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment_
id str - (Updatable) The OCID of the compartment.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) WebAppFirewall display name, can be renamed.
- Mapping[str, Any]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- load_
balancer_ strid - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- state str
- The current state of the WebAppFirewall.
- Mapping[str, Any]
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- time_
updated str - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
- web_
app_ strfirewall_ policy_ id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- backend
Type String - Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment
Id String - (Updatable) The OCID of the compartment.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) WebAppFirewall display name, can be renamed.
- Map<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- load
Balancer StringId - LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.
- state String
- The current state of the WebAppFirewall.
- Map<Any>
- (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
- web
App StringFirewall Policy Id (Updatable) The OCID of WebAppFirewallPolicy, which is attached to the resource.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Import
WebAppFirewalls can be imported using the id
, e.g.
$ pulumi import oci:Waf/appFirewall:AppFirewall test_web_app_firewall "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.