1. Packages
  2. Akamai
  3. API Docs
  4. AppSecEvalRule
Akamai v7.4.1 published on Tuesday, Sep 24, 2024 by Pulumi

akamai.AppSecEvalRule

Explore with Pulumi AI

akamai logo
Akamai v7.4.1 published on Tuesday, Sep 24, 2024 by Pulumi

    Create AppSecEvalRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AppSecEvalRule(name: string, args: AppSecEvalRuleArgs, opts?: CustomResourceOptions);
    @overload
    def AppSecEvalRule(resource_name: str,
                       args: AppSecEvalRuleArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppSecEvalRule(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       config_id: Optional[int] = None,
                       rule_action: Optional[str] = None,
                       rule_id: Optional[int] = None,
                       security_policy_id: Optional[str] = None,
                       condition_exception: Optional[str] = None)
    func NewAppSecEvalRule(ctx *Context, name string, args AppSecEvalRuleArgs, opts ...ResourceOption) (*AppSecEvalRule, error)
    public AppSecEvalRule(string name, AppSecEvalRuleArgs args, CustomResourceOptions? opts = null)
    public AppSecEvalRule(String name, AppSecEvalRuleArgs args)
    public AppSecEvalRule(String name, AppSecEvalRuleArgs args, CustomResourceOptions options)
    
    type: akamai:AppSecEvalRule
    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 AppSecEvalRuleArgs
    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 AppSecEvalRuleArgs
    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 AppSecEvalRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppSecEvalRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppSecEvalRuleArgs
    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 appSecEvalRuleResource = new Akamai.AppSecEvalRule("appSecEvalRuleResource", new()
    {
        ConfigId = 0,
        RuleAction = "string",
        RuleId = 0,
        SecurityPolicyId = "string",
        ConditionException = "string",
    });
    
    example, err := akamai.NewAppSecEvalRule(ctx, "appSecEvalRuleResource", &akamai.AppSecEvalRuleArgs{
    	ConfigId:           pulumi.Int(0),
    	RuleAction:         pulumi.String("string"),
    	RuleId:             pulumi.Int(0),
    	SecurityPolicyId:   pulumi.String("string"),
    	ConditionException: pulumi.String("string"),
    })
    
    var appSecEvalRuleResource = new AppSecEvalRule("appSecEvalRuleResource", AppSecEvalRuleArgs.builder()
        .configId(0)
        .ruleAction("string")
        .ruleId(0)
        .securityPolicyId("string")
        .conditionException("string")
        .build());
    
    app_sec_eval_rule_resource = akamai.AppSecEvalRule("appSecEvalRuleResource",
        config_id=0,
        rule_action="string",
        rule_id=0,
        security_policy_id="string",
        condition_exception="string")
    
    const appSecEvalRuleResource = new akamai.AppSecEvalRule("appSecEvalRuleResource", {
        configId: 0,
        ruleAction: "string",
        ruleId: 0,
        securityPolicyId: "string",
        conditionException: "string",
    });
    
    type: akamai:AppSecEvalRule
    properties:
        conditionException: string
        configId: 0
        ruleAction: string
        ruleId: 0
        securityPolicyId: string
    

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

    ConfigId int
    Unique identifier of the security configuration
    RuleAction string
    Action to be taken when the evaluation rule is triggered
    RuleId int
    Unique identifier of the evaluation rule being modified
    SecurityPolicyId string
    Unique identifier of the security policy
    ConditionException string
    JSON-formatted condition and exception information for the evaluation rule
    ConfigId int
    Unique identifier of the security configuration
    RuleAction string
    Action to be taken when the evaluation rule is triggered
    RuleId int
    Unique identifier of the evaluation rule being modified
    SecurityPolicyId string
    Unique identifier of the security policy
    ConditionException string
    JSON-formatted condition and exception information for the evaluation rule
    configId Integer
    Unique identifier of the security configuration
    ruleAction String
    Action to be taken when the evaluation rule is triggered
    ruleId Integer
    Unique identifier of the evaluation rule being modified
    securityPolicyId String
    Unique identifier of the security policy
    conditionException String
    JSON-formatted condition and exception information for the evaluation rule
    configId number
    Unique identifier of the security configuration
    ruleAction string
    Action to be taken when the evaluation rule is triggered
    ruleId number
    Unique identifier of the evaluation rule being modified
    securityPolicyId string
    Unique identifier of the security policy
    conditionException string
    JSON-formatted condition and exception information for the evaluation rule
    config_id int
    Unique identifier of the security configuration
    rule_action str
    Action to be taken when the evaluation rule is triggered
    rule_id int
    Unique identifier of the evaluation rule being modified
    security_policy_id str
    Unique identifier of the security policy
    condition_exception str
    JSON-formatted condition and exception information for the evaluation rule
    configId Number
    Unique identifier of the security configuration
    ruleAction String
    Action to be taken when the evaluation rule is triggered
    ruleId Number
    Unique identifier of the evaluation rule being modified
    securityPolicyId String
    Unique identifier of the security policy
    conditionException String
    JSON-formatted condition and exception information for the evaluation rule

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AppSecEvalRule 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 AppSecEvalRule Resource

    Get an existing AppSecEvalRule 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?: AppSecEvalRuleState, opts?: CustomResourceOptions): AppSecEvalRule
    @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) -> AppSecEvalRule
    func GetAppSecEvalRule(ctx *Context, name string, id IDInput, state *AppSecEvalRuleState, opts ...ResourceOption) (*AppSecEvalRule, error)
    public static AppSecEvalRule Get(string name, Input<string> id, AppSecEvalRuleState? state, CustomResourceOptions? opts = null)
    public static AppSecEvalRule get(String name, Output<String> id, AppSecEvalRuleState 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 evaluation rule
    ConfigId int
    Unique identifier of the security configuration
    RuleAction string
    Action to be taken when the evaluation rule is triggered
    RuleId int
    Unique identifier of the evaluation rule being modified
    SecurityPolicyId string
    Unique identifier of the security policy
    ConditionException string
    JSON-formatted condition and exception information for the evaluation rule
    ConfigId int
    Unique identifier of the security configuration
    RuleAction string
    Action to be taken when the evaluation rule is triggered
    RuleId int
    Unique identifier of the evaluation rule being modified
    SecurityPolicyId string
    Unique identifier of the security policy
    conditionException String
    JSON-formatted condition and exception information for the evaluation rule
    configId Integer
    Unique identifier of the security configuration
    ruleAction String
    Action to be taken when the evaluation rule is triggered
    ruleId Integer
    Unique identifier of the evaluation rule being modified
    securityPolicyId String
    Unique identifier of the security policy
    conditionException string
    JSON-formatted condition and exception information for the evaluation rule
    configId number
    Unique identifier of the security configuration
    ruleAction string
    Action to be taken when the evaluation rule is triggered
    ruleId number
    Unique identifier of the evaluation rule being modified
    securityPolicyId string
    Unique identifier of the security policy
    condition_exception str
    JSON-formatted condition and exception information for the evaluation rule
    config_id int
    Unique identifier of the security configuration
    rule_action str
    Action to be taken when the evaluation rule is triggered
    rule_id int
    Unique identifier of the evaluation rule being modified
    security_policy_id str
    Unique identifier of the security policy
    conditionException String
    JSON-formatted condition and exception information for the evaluation rule
    configId Number
    Unique identifier of the security configuration
    ruleAction String
    Action to be taken when the evaluation rule is triggered
    ruleId Number
    Unique identifier of the evaluation rule being modified
    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.
    akamai logo
    Akamai v7.4.1 published on Tuesday, Sep 24, 2024 by Pulumi