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:
- Config
Id int Unique identifier of the security configuration
- Rule
Id int Unique identifier of the rule
- Security
Policy stringId Unique identifier of the security policy
- Condition
Exception string JSON-formatted condition and exception information for the rule
- Rule
Action 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 stringId Unique identifier of the security policy
- Condition
Exception string JSON-formatted condition and exception information for the rule
- Rule
Action string Action to be taken when the rule is triggered
- config
Id Integer Unique identifier of the security configuration
- rule
Id Integer Unique identifier of the rule
- security
Policy StringId Unique identifier of the security policy
- condition
Exception String JSON-formatted condition and exception information for the rule
- rule
Action String Action to be taken when the rule is triggered
- config
Id number Unique identifier of the security configuration
- rule
Id number Unique identifier of the rule
- security
Policy stringId Unique identifier of the security policy
- condition
Exception string JSON-formatted condition and exception information for the rule
- rule
Action 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_ strid 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
- config
Id Number Unique identifier of the security configuration
- rule
Id Number Unique identifier of the rule
- security
Policy StringId Unique identifier of the security policy
- condition
Exception String JSON-formatted condition and exception information for the rule
- rule
Action 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.
- Condition
Exception string JSON-formatted condition and exception information for the rule
- Config
Id int Unique identifier of the security configuration
- Rule
Action string Action to be taken when the rule is triggered
- Rule
Id int Unique identifier of the rule
- Security
Policy stringId Unique identifier of the security policy
- Condition
Exception string JSON-formatted condition and exception information for the rule
- Config
Id int Unique identifier of the security configuration
- Rule
Action string Action to be taken when the rule is triggered
- Rule
Id int Unique identifier of the rule
- Security
Policy stringId Unique identifier of the security policy
- condition
Exception String JSON-formatted condition and exception information for the rule
- config
Id Integer Unique identifier of the security configuration
- rule
Action String Action to be taken when the rule is triggered
- rule
Id Integer Unique identifier of the rule
- security
Policy StringId Unique identifier of the security policy
- condition
Exception string JSON-formatted condition and exception information for the rule
- config
Id number Unique identifier of the security configuration
- rule
Action string Action to be taken when the rule is triggered
- rule
Id number Unique identifier of the rule
- security
Policy stringId 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_ strid Unique identifier of the security policy
- condition
Exception String JSON-formatted condition and exception information for the rule
- config
Id Number Unique identifier of the security configuration
- rule
Action String Action to be taken when the rule is triggered
- rule
Id Number Unique identifier of the rule
- security
Policy StringId 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.