Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateProtectionRequest

import type { CreateProtectionRequest } from "https://aws-api.deno.dev/v0.3/services/shield.ts?docs=full";
interface CreateProtectionRequest {
Name: string;
ResourceArn: string;
Tags?: Tag[] | null;
}

§Properties

§
Name: string
[src]

Friendly name for the Protection you are creating.

§
ResourceArn: string
[src]

The ARN (Amazon Resource Name) of the resource to be protected.

The ARN should be in one of the following formats:

  • For an Application Load Balancer: arn:aws:elasticloadbalancing:_region_:_account-id_:loadbalancer/app/_load-balancer-name_/_load-balancer-id_
  • For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:_region_:_account-id_:loadbalancer/_load-balancer-name_
  • For an Amazon CloudFront distribution: arn:aws:cloudfront::_account-id_:distribution/_distribution-id_
  • For an Global Accelerator accelerator: arn:aws:globalaccelerator::_account-id_:accelerator/_accelerator-id_
  • For Amazon Route 53: arn:aws:route53:::hostedzone/_hosted-zone-id_
  • For an Elastic IP address: arn:aws:ec2:_region_:_account-id_:eip-allocation/_allocation-id_
§
Tags?: Tag[] | null
[src]

One or more tag key-value pairs for the "Protection" object that is created.