akamai logo
Akamai v4.4.0, Apr 18 23

akamai.AppSecRule

Explore with Pulumi AI

Create AppSecRule Resource

new AppSecRule(name: string, args: AppSecRuleArgs, opts?: CustomResourceOptions);
@overload
def AppSecRule(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               condition_exception: Optional[str] = None,
               config_id: Optional[int] = None,
               rule_action: Optional[str] = None,
               rule_id: Optional[int] = None,
               security_policy_id: Optional[str] = None)
@overload
def AppSecRule(resource_name: str,
               args: AppSecRuleArgs,
               opts: Optional[ResourceOptions] = None)
func NewAppSecRule(ctx *Context, name string, args AppSecRuleArgs, opts ...ResourceOption) (*AppSecRule, error)
public AppSecRule(string name, AppSecRuleArgs args, CustomResourceOptions? opts = null)
public AppSecRule(String name, AppSecRuleArgs args)
public AppSecRule(String name, AppSecRuleArgs args, CustomResourceOptions options)
type: akamai:AppSecRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AppSecRuleArgs
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 AppSecRuleArgs
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 AppSecRuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AppSecRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AppSecRuleArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AppSecRule 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 AppSecRule resource accepts the following input properties:

ConfigId int

Unique identifier of the security configuration

RuleId int

Unique identifier of the rule

SecurityPolicyId string

Unique identifier of the security policy

ConditionException string

JSON-formatted condition and exception information for the rule

RuleAction string

Action to be taken when the rule is triggered

ConfigId int

Unique identifier of the security configuration

RuleId int

Unique identifier of the rule

SecurityPolicyId string

Unique identifier of the security policy

ConditionException string

JSON-formatted condition and exception information for the rule

RuleAction string

Action to be taken when the rule is triggered

configId Integer

Unique identifier of the security configuration

ruleId Integer

Unique identifier of the rule

securityPolicyId String

Unique identifier of the security policy

conditionException String

JSON-formatted condition and exception information for the rule

ruleAction String

Action to be taken when the rule is triggered

configId number

Unique identifier of the security configuration

ruleId number

Unique identifier of the rule

securityPolicyId string

Unique identifier of the security policy

conditionException string

JSON-formatted condition and exception information for the rule

ruleAction string

Action to be taken when the rule is triggered

config_id int

Unique identifier of the security configuration

rule_id int

Unique identifier of the rule

security_policy_id str

Unique identifier of the security policy

condition_exception str

JSON-formatted condition and exception information for the rule

rule_action str

Action to be taken when the rule is triggered

configId Number

Unique identifier of the security configuration

ruleId Number

Unique identifier of the rule

securityPolicyId String

Unique identifier of the security policy

conditionException String

JSON-formatted condition and exception information for the rule

ruleAction String

Action to be taken when the rule is triggered

Outputs

All input properties are implicitly available as output properties. Additionally, the AppSecRule resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing AppSecRule Resource

Get an existing AppSecRule 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?: AppSecRuleState, opts?: CustomResourceOptions): AppSecRule
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        condition_exception: Optional[str] = None,
        config_id: Optional[int] = None,
        rule_action: Optional[str] = None,
        rule_id: Optional[int] = None,
        security_policy_id: Optional[str] = None) -> AppSecRule
func GetAppSecRule(ctx *Context, name string, id IDInput, state *AppSecRuleState, opts ...ResourceOption) (*AppSecRule, error)
public static AppSecRule Get(string name, Input<string> id, AppSecRuleState? state, CustomResourceOptions? opts = null)
public static AppSecRule get(String name, Output<String> id, AppSecRuleState 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.
The following state arguments are supported:
ConditionException string

JSON-formatted condition and exception information for the rule

ConfigId int

Unique identifier of the security configuration

RuleAction string

Action to be taken when the rule is triggered

RuleId int

Unique identifier of the rule

SecurityPolicyId string

Unique identifier of the security policy

ConditionException string

JSON-formatted condition and exception information for the rule

ConfigId int

Unique identifier of the security configuration

RuleAction string

Action to be taken when the rule is triggered

RuleId int

Unique identifier of the rule

SecurityPolicyId string

Unique identifier of the security policy

conditionException String

JSON-formatted condition and exception information for the rule

configId Integer

Unique identifier of the security configuration

ruleAction String

Action to be taken when the rule is triggered

ruleId Integer

Unique identifier of the rule

securityPolicyId String

Unique identifier of the security policy

conditionException string

JSON-formatted condition and exception information for the rule

configId number

Unique identifier of the security configuration

ruleAction string

Action to be taken when the rule is triggered

ruleId number

Unique identifier of the rule

securityPolicyId string

Unique identifier of the security policy

condition_exception str

JSON-formatted condition and exception information for the rule

config_id int

Unique identifier of the security configuration

rule_action str

Action to be taken when the rule is triggered

rule_id int

Unique identifier of the rule

security_policy_id str

Unique identifier of the security policy

conditionException String

JSON-formatted condition and exception information for the rule

configId Number

Unique identifier of the security configuration

ruleAction String

Action to be taken when the rule is triggered

ruleId Number

Unique identifier of the rule

securityPolicyId String

Unique identifier of the security policy

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes

This Pulumi package is based on the akamai Terraform Provider.