akamai.AppSecMalwarePolicyAction
Explore with Pulumi AI
Create AppSecMalwarePolicyAction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppSecMalwarePolicyAction(name: string, args: AppSecMalwarePolicyActionArgs, opts?: CustomResourceOptions);
@overload
def AppSecMalwarePolicyAction(resource_name: str,
args: AppSecMalwarePolicyActionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppSecMalwarePolicyAction(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
config_id: Optional[int] = None,
malware_policy_id: Optional[int] = None,
security_policy_id: Optional[str] = None,
unscanned_action: Optional[str] = None)
func NewAppSecMalwarePolicyAction(ctx *Context, name string, args AppSecMalwarePolicyActionArgs, opts ...ResourceOption) (*AppSecMalwarePolicyAction, error)
public AppSecMalwarePolicyAction(string name, AppSecMalwarePolicyActionArgs args, CustomResourceOptions? opts = null)
public AppSecMalwarePolicyAction(String name, AppSecMalwarePolicyActionArgs args)
public AppSecMalwarePolicyAction(String name, AppSecMalwarePolicyActionArgs args, CustomResourceOptions options)
type: akamai:AppSecMalwarePolicyAction
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 AppSecMalwarePolicyActionArgs
- 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 AppSecMalwarePolicyActionArgs
- 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 AppSecMalwarePolicyActionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppSecMalwarePolicyActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppSecMalwarePolicyActionArgs
- 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 appSecMalwarePolicyActionResource = new Akamai.AppSecMalwarePolicyAction("appSecMalwarePolicyActionResource", new()
{
Action = "string",
ConfigId = 0,
MalwarePolicyId = 0,
SecurityPolicyId = "string",
UnscannedAction = "string",
});
example, err := akamai.NewAppSecMalwarePolicyAction(ctx, "appSecMalwarePolicyActionResource", &akamai.AppSecMalwarePolicyActionArgs{
Action: pulumi.String("string"),
ConfigId: pulumi.Int(0),
MalwarePolicyId: pulumi.Int(0),
SecurityPolicyId: pulumi.String("string"),
UnscannedAction: pulumi.String("string"),
})
var appSecMalwarePolicyActionResource = new AppSecMalwarePolicyAction("appSecMalwarePolicyActionResource", AppSecMalwarePolicyActionArgs.builder()
.action("string")
.configId(0)
.malwarePolicyId(0)
.securityPolicyId("string")
.unscannedAction("string")
.build());
app_sec_malware_policy_action_resource = akamai.AppSecMalwarePolicyAction("appSecMalwarePolicyActionResource",
action="string",
config_id=0,
malware_policy_id=0,
security_policy_id="string",
unscanned_action="string")
const appSecMalwarePolicyActionResource = new akamai.AppSecMalwarePolicyAction("appSecMalwarePolicyActionResource", {
action: "string",
configId: 0,
malwarePolicyId: 0,
securityPolicyId: "string",
unscannedAction: "string",
});
type: akamai:AppSecMalwarePolicyAction
properties:
action: string
configId: 0
malwarePolicyId: 0
securityPolicyId: string
unscannedAction: string
AppSecMalwarePolicyAction 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 AppSecMalwarePolicyAction resource accepts the following input properties:
- Action string
- Action to be taken for requests scanned according to the malware policy
- Config
Id int - Unique identifier of the security configuration
- Malware
Policy intId - Unique identifier of the malware policy
- Security
Policy stringId - Unique identifier of the security policy
- Unscanned
Action string - Action to be taken for requests not scanned according to the malware policy
- Action string
- Action to be taken for requests scanned according to the malware policy
- Config
Id int - Unique identifier of the security configuration
- Malware
Policy intId - Unique identifier of the malware policy
- Security
Policy stringId - Unique identifier of the security policy
- Unscanned
Action string - Action to be taken for requests not scanned according to the malware policy
- action String
- Action to be taken for requests scanned according to the malware policy
- config
Id Integer - Unique identifier of the security configuration
- malware
Policy IntegerId - Unique identifier of the malware policy
- security
Policy StringId - Unique identifier of the security policy
- unscanned
Action String - Action to be taken for requests not scanned according to the malware policy
- action string
- Action to be taken for requests scanned according to the malware policy
- config
Id number - Unique identifier of the security configuration
- malware
Policy numberId - Unique identifier of the malware policy
- security
Policy stringId - Unique identifier of the security policy
- unscanned
Action string - Action to be taken for requests not scanned according to the malware policy
- action str
- Action to be taken for requests scanned according to the malware policy
- config_
id int - Unique identifier of the security configuration
- malware_
policy_ intid - Unique identifier of the malware policy
- security_
policy_ strid - Unique identifier of the security policy
- unscanned_
action str - Action to be taken for requests not scanned according to the malware policy
- action String
- Action to be taken for requests scanned according to the malware policy
- config
Id Number - Unique identifier of the security configuration
- malware
Policy NumberId - Unique identifier of the malware policy
- security
Policy StringId - Unique identifier of the security policy
- unscanned
Action String - Action to be taken for requests not scanned according to the malware policy
Outputs
All input properties are implicitly available as output properties. Additionally, the AppSecMalwarePolicyAction 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 AppSecMalwarePolicyAction Resource
Get an existing AppSecMalwarePolicyAction 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?: AppSecMalwarePolicyActionState, opts?: CustomResourceOptions): AppSecMalwarePolicyAction
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
config_id: Optional[int] = None,
malware_policy_id: Optional[int] = None,
security_policy_id: Optional[str] = None,
unscanned_action: Optional[str] = None) -> AppSecMalwarePolicyAction
func GetAppSecMalwarePolicyAction(ctx *Context, name string, id IDInput, state *AppSecMalwarePolicyActionState, opts ...ResourceOption) (*AppSecMalwarePolicyAction, error)
public static AppSecMalwarePolicyAction Get(string name, Input<string> id, AppSecMalwarePolicyActionState? state, CustomResourceOptions? opts = null)
public static AppSecMalwarePolicyAction get(String name, Output<String> id, AppSecMalwarePolicyActionState 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.
- Action string
- Action to be taken for requests scanned according to the malware policy
- Config
Id int - Unique identifier of the security configuration
- Malware
Policy intId - Unique identifier of the malware policy
- Security
Policy stringId - Unique identifier of the security policy
- Unscanned
Action string - Action to be taken for requests not scanned according to the malware policy
- Action string
- Action to be taken for requests scanned according to the malware policy
- Config
Id int - Unique identifier of the security configuration
- Malware
Policy intId - Unique identifier of the malware policy
- Security
Policy stringId - Unique identifier of the security policy
- Unscanned
Action string - Action to be taken for requests not scanned according to the malware policy
- action String
- Action to be taken for requests scanned according to the malware policy
- config
Id Integer - Unique identifier of the security configuration
- malware
Policy IntegerId - Unique identifier of the malware policy
- security
Policy StringId - Unique identifier of the security policy
- unscanned
Action String - Action to be taken for requests not scanned according to the malware policy
- action string
- Action to be taken for requests scanned according to the malware policy
- config
Id number - Unique identifier of the security configuration
- malware
Policy numberId - Unique identifier of the malware policy
- security
Policy stringId - Unique identifier of the security policy
- unscanned
Action string - Action to be taken for requests not scanned according to the malware policy
- action str
- Action to be taken for requests scanned according to the malware policy
- config_
id int - Unique identifier of the security configuration
- malware_
policy_ intid - Unique identifier of the malware policy
- security_
policy_ strid - Unique identifier of the security policy
- unscanned_
action str - Action to be taken for requests not scanned according to the malware policy
- action String
- Action to be taken for requests scanned according to the malware policy
- config
Id Number - Unique identifier of the security configuration
- malware
Policy NumberId - Unique identifier of the malware policy
- security
Policy StringId - Unique identifier of the security policy
- unscanned
Action String - Action to be taken for requests not scanned according to the malware policy
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.