1. Packages
  2. AWS Classic
  3. API Docs
  4. shield
  5. ApplicationLayerAutomaticResponse

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.44.0 published on Monday, Jul 8, 2024 by Pulumi

aws.shield.ApplicationLayerAutomaticResponse

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.44.0 published on Monday, Jul 8, 2024 by Pulumi

    Resource for managing an AWS Shield Application Layer Automatic Response for automatic DDoS mitigation.

    Example Usage

    Create ApplicationLayerAutomaticResponse Resource

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

    Constructor syntax

    new ApplicationLayerAutomaticResponse(name: string, args: ApplicationLayerAutomaticResponseArgs, opts?: CustomResourceOptions);
    @overload
    def ApplicationLayerAutomaticResponse(resource_name: str,
                                          args: ApplicationLayerAutomaticResponseArgs,
                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplicationLayerAutomaticResponse(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          action: Optional[str] = None,
                                          resource_arn: Optional[str] = None,
                                          timeouts: Optional[ApplicationLayerAutomaticResponseTimeoutsArgs] = None)
    func NewApplicationLayerAutomaticResponse(ctx *Context, name string, args ApplicationLayerAutomaticResponseArgs, opts ...ResourceOption) (*ApplicationLayerAutomaticResponse, error)
    public ApplicationLayerAutomaticResponse(string name, ApplicationLayerAutomaticResponseArgs args, CustomResourceOptions? opts = null)
    public ApplicationLayerAutomaticResponse(String name, ApplicationLayerAutomaticResponseArgs args)
    public ApplicationLayerAutomaticResponse(String name, ApplicationLayerAutomaticResponseArgs args, CustomResourceOptions options)
    
    type: aws:shield:ApplicationLayerAutomaticResponse
    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 ApplicationLayerAutomaticResponseArgs
    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 ApplicationLayerAutomaticResponseArgs
    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 ApplicationLayerAutomaticResponseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationLayerAutomaticResponseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationLayerAutomaticResponseArgs
    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 applicationLayerAutomaticResponseResource = new Aws.Shield.ApplicationLayerAutomaticResponse("applicationLayerAutomaticResponseResource", new()
    {
        Action = "string",
        ResourceArn = "string",
        Timeouts = new Aws.Shield.Inputs.ApplicationLayerAutomaticResponseTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := shield.NewApplicationLayerAutomaticResponse(ctx, "applicationLayerAutomaticResponseResource", &shield.ApplicationLayerAutomaticResponseArgs{
    	Action:      pulumi.String("string"),
    	ResourceArn: pulumi.String("string"),
    	Timeouts: &shield.ApplicationLayerAutomaticResponseTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var applicationLayerAutomaticResponseResource = new ApplicationLayerAutomaticResponse("applicationLayerAutomaticResponseResource", ApplicationLayerAutomaticResponseArgs.builder()
        .action("string")
        .resourceArn("string")
        .timeouts(ApplicationLayerAutomaticResponseTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    application_layer_automatic_response_resource = aws.shield.ApplicationLayerAutomaticResponse("applicationLayerAutomaticResponseResource",
        action="string",
        resource_arn="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const applicationLayerAutomaticResponseResource = new aws.shield.ApplicationLayerAutomaticResponse("applicationLayerAutomaticResponseResource", {
        action: "string",
        resourceArn: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: aws:shield:ApplicationLayerAutomaticResponse
    properties:
        action: string
        resourceArn: string
        timeouts:
            create: string
            delete: string
            update: string
    

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

    Action string
    One of COUNT or BLOCK
    ResourceArn string
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    Timeouts ApplicationLayerAutomaticResponseTimeouts
    Action string
    One of COUNT or BLOCK
    ResourceArn string
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    Timeouts ApplicationLayerAutomaticResponseTimeoutsArgs
    action String
    One of COUNT or BLOCK
    resourceArn String
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    timeouts ApplicationLayerAutomaticResponseTimeouts
    action string
    One of COUNT or BLOCK
    resourceArn string
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    timeouts ApplicationLayerAutomaticResponseTimeouts
    action str
    One of COUNT or BLOCK
    resource_arn str
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    timeouts ApplicationLayerAutomaticResponseTimeoutsArgs
    action String
    One of COUNT or BLOCK
    resourceArn String
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    timeouts Property Map

    Outputs

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

    Get an existing ApplicationLayerAutomaticResponse 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?: ApplicationLayerAutomaticResponseState, opts?: CustomResourceOptions): ApplicationLayerAutomaticResponse
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[str] = None,
            resource_arn: Optional[str] = None,
            timeouts: Optional[ApplicationLayerAutomaticResponseTimeoutsArgs] = None) -> ApplicationLayerAutomaticResponse
    func GetApplicationLayerAutomaticResponse(ctx *Context, name string, id IDInput, state *ApplicationLayerAutomaticResponseState, opts ...ResourceOption) (*ApplicationLayerAutomaticResponse, error)
    public static ApplicationLayerAutomaticResponse Get(string name, Input<string> id, ApplicationLayerAutomaticResponseState? state, CustomResourceOptions? opts = null)
    public static ApplicationLayerAutomaticResponse get(String name, Output<String> id, ApplicationLayerAutomaticResponseState 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
    One of COUNT or BLOCK
    ResourceArn string
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    Timeouts ApplicationLayerAutomaticResponseTimeouts
    Action string
    One of COUNT or BLOCK
    ResourceArn string
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    Timeouts ApplicationLayerAutomaticResponseTimeoutsArgs
    action String
    One of COUNT or BLOCK
    resourceArn String
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    timeouts ApplicationLayerAutomaticResponseTimeouts
    action string
    One of COUNT or BLOCK
    resourceArn string
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    timeouts ApplicationLayerAutomaticResponseTimeouts
    action str
    One of COUNT or BLOCK
    resource_arn str
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    timeouts ApplicationLayerAutomaticResponseTimeoutsArgs
    action String
    One of COUNT or BLOCK
    resourceArn String
    ARN of the resource to protect (Cloudfront Distributions and ALBs only at this time).
    timeouts Property Map

    Supporting Types

    ApplicationLayerAutomaticResponseTimeouts, ApplicationLayerAutomaticResponseTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.44.0 published on Monday, Jul 8, 2024 by Pulumi