Viewing docs for Akamai v11.1.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Viewing docs for Akamai v11.1.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Create AppsecWafRuleset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppsecWafRuleset(name: string, args: AppsecWafRulesetArgs, opts?: CustomResourceOptions);@overload
def AppsecWafRuleset(resource_name: str,
args: AppsecWafRulesetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppsecWafRuleset(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[int] = None,
security_policy_id: Optional[str] = None,
attack_groups: Optional[Sequence[AppsecWafRulesetAttackGroupArgs]] = None,
rules: Optional[Sequence[AppsecWafRulesetRuleArgs]] = None)func NewAppsecWafRuleset(ctx *Context, name string, args AppsecWafRulesetArgs, opts ...ResourceOption) (*AppsecWafRuleset, error)public AppsecWafRuleset(string name, AppsecWafRulesetArgs args, CustomResourceOptions? opts = null)
public AppsecWafRuleset(String name, AppsecWafRulesetArgs args)
public AppsecWafRuleset(String name, AppsecWafRulesetArgs args, CustomResourceOptions options)
type: akamai:AppsecWafRuleset
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 AppsecWafRulesetArgs
- 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 AppsecWafRulesetArgs
- 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 AppsecWafRulesetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppsecWafRulesetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppsecWafRulesetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AppsecWafRuleset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AppsecWafRuleset resource accepts the following input properties:
- Config
Id int - Unique identifier of the security configuration
- Security
Policy stringId - Unique identifier of the security policy
- Attack
Groups List<AppsecWaf Ruleset Attack Group> - List of attack group objects including action and condition exceptions
- Rules
List<Appsec
Waf Ruleset Rule> - List of rule objects including action and condition exceptions
- Config
Id int - Unique identifier of the security configuration
- Security
Policy stringId - Unique identifier of the security policy
- Attack
Groups []AppsecWaf Ruleset Attack Group Args - List of attack group objects including action and condition exceptions
- Rules
[]Appsec
Waf Ruleset Rule Args - List of rule objects including action and condition exceptions
- config
Id Integer - Unique identifier of the security configuration
- security
Policy StringId - Unique identifier of the security policy
- attack
Groups List<AppsecWaf Ruleset Attack Group> - List of attack group objects including action and condition exceptions
- rules
List<Appsec
Waf Ruleset Rule> - List of rule objects including action and condition exceptions
- config
Id number - Unique identifier of the security configuration
- security
Policy stringId - Unique identifier of the security policy
- attack
Groups AppsecWaf Ruleset Attack Group[] - List of attack group objects including action and condition exceptions
- rules
Appsec
Waf Ruleset Rule[] - List of rule objects including action and condition exceptions
- config_
id int - Unique identifier of the security configuration
- security_
policy_ strid - Unique identifier of the security policy
- attack_
groups Sequence[AppsecWaf Ruleset Attack Group Args] - List of attack group objects including action and condition exceptions
- rules
Sequence[Appsec
Waf Ruleset Rule Args] - List of rule objects including action and condition exceptions
- config
Id Number - Unique identifier of the security configuration
- security
Policy StringId - Unique identifier of the security policy
- attack
Groups List<Property Map> - List of attack group objects including action and condition exceptions
- rules List<Property Map>
- List of rule objects including action and condition exceptions
Outputs
All input properties are implicitly available as output properties. Additionally, the AppsecWafRuleset 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 AppsecWafRuleset Resource
Get an existing AppsecWafRuleset 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?: AppsecWafRulesetState, opts?: CustomResourceOptions): AppsecWafRuleset@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attack_groups: Optional[Sequence[AppsecWafRulesetAttackGroupArgs]] = None,
config_id: Optional[int] = None,
rules: Optional[Sequence[AppsecWafRulesetRuleArgs]] = None,
security_policy_id: Optional[str] = None) -> AppsecWafRulesetfunc GetAppsecWafRuleset(ctx *Context, name string, id IDInput, state *AppsecWafRulesetState, opts ...ResourceOption) (*AppsecWafRuleset, error)public static AppsecWafRuleset Get(string name, Input<string> id, AppsecWafRulesetState? state, CustomResourceOptions? opts = null)public static AppsecWafRuleset get(String name, Output<String> id, AppsecWafRulesetState state, CustomResourceOptions options)resources: _: type: akamai:AppsecWafRuleset get: id: ${id}- 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.
- Attack
Groups List<AppsecWaf Ruleset Attack Group> - List of attack group objects including action and condition exceptions
- Config
Id int - Unique identifier of the security configuration
- Rules
List<Appsec
Waf Ruleset Rule> - List of rule objects including action and condition exceptions
- Security
Policy stringId - Unique identifier of the security policy
- Attack
Groups []AppsecWaf Ruleset Attack Group Args - List of attack group objects including action and condition exceptions
- Config
Id int - Unique identifier of the security configuration
- Rules
[]Appsec
Waf Ruleset Rule Args - List of rule objects including action and condition exceptions
- Security
Policy stringId - Unique identifier of the security policy
- attack
Groups List<AppsecWaf Ruleset Attack Group> - List of attack group objects including action and condition exceptions
- config
Id Integer - Unique identifier of the security configuration
- rules
List<Appsec
Waf Ruleset Rule> - List of rule objects including action and condition exceptions
- security
Policy StringId - Unique identifier of the security policy
- attack
Groups AppsecWaf Ruleset Attack Group[] - List of attack group objects including action and condition exceptions
- config
Id number - Unique identifier of the security configuration
- rules
Appsec
Waf Ruleset Rule[] - List of rule objects including action and condition exceptions
- security
Policy stringId - Unique identifier of the security policy
- attack_
groups Sequence[AppsecWaf Ruleset Attack Group Args] - List of attack group objects including action and condition exceptions
- config_
id int - Unique identifier of the security configuration
- rules
Sequence[Appsec
Waf Ruleset Rule Args] - List of rule objects including action and condition exceptions
- security_
policy_ strid - Unique identifier of the security policy
- attack
Groups List<Property Map> - List of attack group objects including action and condition exceptions
- config
Id Number - Unique identifier of the security configuration
- rules List<Property Map>
- List of rule objects including action and condition exceptions
- security
Policy StringId - Unique identifier of the security policy
Supporting Types
AppsecWafRulesetAttackGroup, AppsecWafRulesetAttackGroupArgs
- Attack
Group string - Unique name of the attack group
- Attack
Group stringAction - Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- Condition
Exception string - JSON-formatted conditions and exceptions associated with the attack group
- Attack
Group string - Unique name of the attack group
- Attack
Group stringAction - Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- Condition
Exception string - JSON-formatted conditions and exceptions associated with the attack group
- attack
Group String - Unique name of the attack group
- attack
Group StringAction - Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- condition
Exception String - JSON-formatted conditions and exceptions associated with the attack group
- attack
Group string - Unique name of the attack group
- attack
Group stringAction - Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- condition
Exception string - JSON-formatted conditions and exceptions associated with the attack group
- attack_
group str - Unique name of the attack group
- attack_
group_ straction - Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- condition_
exception str - JSON-formatted conditions and exceptions associated with the attack group
- attack
Group String - Unique name of the attack group
- attack
Group StringAction - Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- condition
Exception String - JSON-formatted conditions and exceptions associated with the attack group
AppsecWafRulesetRule, AppsecWafRulesetRuleArgs
- Rule
Action string - Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- Rule
Id int - Unique identifier for a rule
- Condition
Exception string - Conditions and exceptions associated with the rule
- Rule
Action string - Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- Rule
Id int - Unique identifier for a rule
- Condition
Exception string - Conditions and exceptions associated with the rule
- rule
Action String - Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- rule
Id Integer - Unique identifier for a rule
- condition
Exception String - Conditions and exceptions associated with the rule
- rule
Action string - Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- rule
Id number - Unique identifier for a rule
- condition
Exception string - Conditions and exceptions associated with the rule
- rule_
action str - Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- rule_
id int - Unique identifier for a rule
- condition_
exception str - Conditions and exceptions associated with the rule
- rule
Action String - Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
- rule
Id Number - Unique identifier for a rule
- condition
Exception String - Conditions and exceptions associated with the rule
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamaiTerraform Provider.
Viewing docs for Akamai v11.1.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
