akamai.AppsecRapidRules
Explore with Pulumi AI
Create AppsecRapidRules Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppsecRapidRules(name: string, args: AppsecRapidRulesArgs, opts?: CustomResourceOptions);@overload
def AppsecRapidRules(resource_name: str,
                     args: AppsecRapidRulesArgs,
                     opts: Optional[ResourceOptions] = None)
@overload
def AppsecRapidRules(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     config_id: Optional[int] = None,
                     security_policy_id: Optional[str] = None,
                     default_action: Optional[str] = None,
                     rule_definitions: Optional[str] = None)func NewAppsecRapidRules(ctx *Context, name string, args AppsecRapidRulesArgs, opts ...ResourceOption) (*AppsecRapidRules, error)public AppsecRapidRules(string name, AppsecRapidRulesArgs args, CustomResourceOptions? opts = null)
public AppsecRapidRules(String name, AppsecRapidRulesArgs args)
public AppsecRapidRules(String name, AppsecRapidRulesArgs args, CustomResourceOptions options)
type: akamai:AppsecRapidRules
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 AppsecRapidRulesArgs
- 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 AppsecRapidRulesArgs
- 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 AppsecRapidRulesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppsecRapidRulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppsecRapidRulesArgs
- 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 appsecRapidRulesResource = new Akamai.AppsecRapidRules("appsecRapidRulesResource", new()
{
    ConfigId = 0,
    SecurityPolicyId = "string",
    DefaultAction = "string",
    RuleDefinitions = "string",
});
example, err := akamai.NewAppsecRapidRules(ctx, "appsecRapidRulesResource", &akamai.AppsecRapidRulesArgs{
	ConfigId:         pulumi.Int(0),
	SecurityPolicyId: pulumi.String("string"),
	DefaultAction:    pulumi.String("string"),
	RuleDefinitions:  pulumi.String("string"),
})
var appsecRapidRulesResource = new AppsecRapidRules("appsecRapidRulesResource", AppsecRapidRulesArgs.builder()
    .configId(0)
    .securityPolicyId("string")
    .defaultAction("string")
    .ruleDefinitions("string")
    .build());
appsec_rapid_rules_resource = akamai.AppsecRapidRules("appsecRapidRulesResource",
    config_id=0,
    security_policy_id="string",
    default_action="string",
    rule_definitions="string")
const appsecRapidRulesResource = new akamai.AppsecRapidRules("appsecRapidRulesResource", {
    configId: 0,
    securityPolicyId: "string",
    defaultAction: "string",
    ruleDefinitions: "string",
});
type: akamai:AppsecRapidRules
properties:
    configId: 0
    defaultAction: string
    ruleDefinitions: string
    securityPolicyId: string
AppsecRapidRules 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 AppsecRapidRules resource accepts the following input properties:
- ConfigId int
- Unique identifier of the security configuration
- SecurityPolicy stringId 
- Unique identifier of the security policy
- DefaultAction string
- Default action that applies to violations of all rapid rules
- RuleDefinitions string
- JSON-formatted list of rule definition (ID, action, action lock and exception)
- ConfigId int
- Unique identifier of the security configuration
- SecurityPolicy stringId 
- Unique identifier of the security policy
- DefaultAction string
- Default action that applies to violations of all rapid rules
- RuleDefinitions string
- JSON-formatted list of rule definition (ID, action, action lock and exception)
- configId Integer
- Unique identifier of the security configuration
- securityPolicy StringId 
- Unique identifier of the security policy
- defaultAction String
- Default action that applies to violations of all rapid rules
- ruleDefinitions String
- JSON-formatted list of rule definition (ID, action, action lock and exception)
- configId number
- Unique identifier of the security configuration
- securityPolicy stringId 
- Unique identifier of the security policy
- defaultAction string
- Default action that applies to violations of all rapid rules
- ruleDefinitions string
- JSON-formatted list of rule definition (ID, action, action lock and exception)
- config_id int
- Unique identifier of the security configuration
- security_policy_ strid 
- Unique identifier of the security policy
- default_action str
- Default action that applies to violations of all rapid rules
- rule_definitions str
- JSON-formatted list of rule definition (ID, action, action lock and exception)
- configId Number
- Unique identifier of the security configuration
- securityPolicy StringId 
- Unique identifier of the security policy
- defaultAction String
- Default action that applies to violations of all rapid rules
- ruleDefinitions String
- JSON-formatted list of rule definition (ID, action, action lock and exception)
Outputs
All input properties are implicitly available as output properties. Additionally, the AppsecRapidRules resource produces the following output properties:
Look up Existing AppsecRapidRules Resource
Get an existing AppsecRapidRules 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?: AppsecRapidRulesState, opts?: CustomResourceOptions): AppsecRapidRules@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config_id: Optional[int] = None,
        default_action: Optional[str] = None,
        enabled: Optional[bool] = None,
        rule_definitions: Optional[str] = None,
        security_policy_id: Optional[str] = None) -> AppsecRapidRulesfunc GetAppsecRapidRules(ctx *Context, name string, id IDInput, state *AppsecRapidRulesState, opts ...ResourceOption) (*AppsecRapidRules, error)public static AppsecRapidRules Get(string name, Input<string> id, AppsecRapidRulesState? state, CustomResourceOptions? opts = null)public static AppsecRapidRules get(String name, Output<String> id, AppsecRapidRulesState state, CustomResourceOptions options)resources:  _:    type: akamai:AppsecRapidRules    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.
- ConfigId int
- Unique identifier of the security configuration
- DefaultAction string
- Default action that applies to violations of all rapid rules
- Enabled bool
- Hidden attribute containing information about rapid rules status enabled/disabled
- RuleDefinitions string
- JSON-formatted list of rule definition (ID, action, action lock and exception)
- SecurityPolicy stringId 
- Unique identifier of the security policy
- ConfigId int
- Unique identifier of the security configuration
- DefaultAction string
- Default action that applies to violations of all rapid rules
- Enabled bool
- Hidden attribute containing information about rapid rules status enabled/disabled
- RuleDefinitions string
- JSON-formatted list of rule definition (ID, action, action lock and exception)
- SecurityPolicy stringId 
- Unique identifier of the security policy
- configId Integer
- Unique identifier of the security configuration
- defaultAction String
- Default action that applies to violations of all rapid rules
- enabled Boolean
- Hidden attribute containing information about rapid rules status enabled/disabled
- ruleDefinitions String
- JSON-formatted list of rule definition (ID, action, action lock and exception)
- securityPolicy StringId 
- Unique identifier of the security policy
- configId number
- Unique identifier of the security configuration
- defaultAction string
- Default action that applies to violations of all rapid rules
- enabled boolean
- Hidden attribute containing information about rapid rules status enabled/disabled
- ruleDefinitions string
- JSON-formatted list of rule definition (ID, action, action lock and exception)
- securityPolicy stringId 
- Unique identifier of the security policy
- config_id int
- Unique identifier of the security configuration
- default_action str
- Default action that applies to violations of all rapid rules
- enabled bool
- Hidden attribute containing information about rapid rules status enabled/disabled
- rule_definitions str
- JSON-formatted list of rule definition (ID, action, action lock and exception)
- security_policy_ strid 
- Unique identifier of the security policy
- configId Number
- Unique identifier of the security configuration
- defaultAction String
- Default action that applies to violations of all rapid rules
- enabled Boolean
- Hidden attribute containing information about rapid rules status enabled/disabled
- ruleDefinitions String
- JSON-formatted list of rule definition (ID, action, action lock and exception)
- securityPolicy 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 akamaiTerraform Provider.