akamai.AppSecEvalRule
Explore with Pulumi AI
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AppSecEvalRule resource accepts the following input properties:
- Config
Id int - Unique identifier of the security configuration
- Rule
Action string - Action to be taken when the evaluation rule is triggered
- Rule
Id int - Unique identifier of the evaluation rule being modified
- Security
Policy stringId - Unique identifier of the security policy
- Condition
Exception string - JSON-formatted condition and exception information for the evaluation rule
- Config
Id int - Unique identifier of the security configuration
- Rule
Action string - Action to be taken when the evaluation rule is triggered
- Rule
Id int - Unique identifier of the evaluation rule being modified
- Security
Policy stringId - Unique identifier of the security policy
- Condition
Exception string - JSON-formatted condition and exception information for the evaluation rule
- config
Id Integer - Unique identifier of the security configuration
- rule
Action String - Action to be taken when the evaluation rule is triggered
- rule
Id Integer - Unique identifier of the evaluation rule being modified
- security
Policy StringId - Unique identifier of the security policy
- condition
Exception String - JSON-formatted condition and exception information for the evaluation rule
- config
Id number - Unique identifier of the security configuration
- rule
Action string - Action to be taken when the evaluation rule is triggered
- rule
Id number - Unique identifier of the evaluation rule being modified
- security
Policy stringId - Unique identifier of the security policy
- condition
Exception 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_ strid - Unique identifier of the security policy
- condition_
exception str - JSON-formatted condition and exception information for the evaluation rule
- config
Id Number - Unique identifier of the security configuration
- rule
Action String - Action to be taken when the evaluation rule is triggered
- rule
Id Number - Unique identifier of the evaluation rule being modified
- security
Policy StringId - Unique identifier of the security policy
- condition
Exception 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.
- Condition
Exception string - JSON-formatted condition and exception information for the evaluation rule
- Config
Id int - Unique identifier of the security configuration
- Rule
Action string - Action to be taken when the evaluation rule is triggered
- Rule
Id int - Unique identifier of the evaluation rule being modified
- Security
Policy stringId - Unique identifier of the security policy
- Condition
Exception string - JSON-formatted condition and exception information for the evaluation rule
- Config
Id int - Unique identifier of the security configuration
- Rule
Action string - Action to be taken when the evaluation rule is triggered
- Rule
Id int - Unique identifier of the evaluation rule being modified
- Security
Policy stringId - Unique identifier of the security policy
- condition
Exception String - JSON-formatted condition and exception information for the evaluation rule
- config
Id Integer - Unique identifier of the security configuration
- rule
Action String - Action to be taken when the evaluation rule is triggered
- rule
Id Integer - Unique identifier of the evaluation rule being modified
- security
Policy StringId - Unique identifier of the security policy
- condition
Exception string - JSON-formatted condition and exception information for the evaluation rule
- config
Id number - Unique identifier of the security configuration
- rule
Action string - Action to be taken when the evaluation rule is triggered
- rule
Id number - Unique identifier of the evaluation rule being modified
- security
Policy stringId - 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_ strid - Unique identifier of the security policy
- condition
Exception String - JSON-formatted condition and exception information for the evaluation rule
- config
Id Number - Unique identifier of the security configuration
- rule
Action String - Action to be taken when the evaluation rule is triggered
- rule
Id Number - Unique identifier of the evaluation rule being modified
- 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.