1. Packages
  2. Akamai
  3. API Docs
  4. AppSecMalwarePolicyAction
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

akamai.AppSecMalwarePolicyAction

Explore with Pulumi AI

akamai logo
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

    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

    The AppSecMalwarePolicyAction resource accepts the following input properties:

    Action string
    Action to be taken for requests scanned according to the malware policy
    ConfigId int
    Unique identifier of the security configuration
    MalwarePolicyId int
    Unique identifier of the malware policy
    SecurityPolicyId string
    Unique identifier of the security policy
    UnscannedAction 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
    ConfigId int
    Unique identifier of the security configuration
    MalwarePolicyId int
    Unique identifier of the malware policy
    SecurityPolicyId string
    Unique identifier of the security policy
    UnscannedAction 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
    configId Integer
    Unique identifier of the security configuration
    malwarePolicyId Integer
    Unique identifier of the malware policy
    securityPolicyId String
    Unique identifier of the security policy
    unscannedAction 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
    configId number
    Unique identifier of the security configuration
    malwarePolicyId number
    Unique identifier of the malware policy
    securityPolicyId string
    Unique identifier of the security policy
    unscannedAction 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_id int
    Unique identifier of the malware policy
    security_policy_id str
    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
    configId Number
    Unique identifier of the security configuration
    malwarePolicyId Number
    Unique identifier of the malware policy
    securityPolicyId String
    Unique identifier of the security policy
    unscannedAction 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.
    The following state arguments are supported:
    Action string
    Action to be taken for requests scanned according to the malware policy
    ConfigId int
    Unique identifier of the security configuration
    MalwarePolicyId int
    Unique identifier of the malware policy
    SecurityPolicyId string
    Unique identifier of the security policy
    UnscannedAction 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
    ConfigId int
    Unique identifier of the security configuration
    MalwarePolicyId int
    Unique identifier of the malware policy
    SecurityPolicyId string
    Unique identifier of the security policy
    UnscannedAction 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
    configId Integer
    Unique identifier of the security configuration
    malwarePolicyId Integer
    Unique identifier of the malware policy
    securityPolicyId String
    Unique identifier of the security policy
    unscannedAction 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
    configId number
    Unique identifier of the security configuration
    malwarePolicyId number
    Unique identifier of the malware policy
    securityPolicyId string
    Unique identifier of the security policy
    unscannedAction 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_id int
    Unique identifier of the malware policy
    security_policy_id str
    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
    configId Number
    Unique identifier of the security configuration
    malwarePolicyId Number
    Unique identifier of the malware policy
    securityPolicyId String
    Unique identifier of the security policy
    unscannedAction 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.
    akamai logo
    Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi