shield_create_protection: Enables Shield Advanced for a specific Amazon Web Services...

View source: R/shield_operations.R

shield_create_protectionR Documentation

Enables Shield Advanced for a specific Amazon Web Services resource

Description

Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution, Amazon RouteĀ 53 hosted zone, Global Accelerator standard accelerator, Elastic IP Address, Application Load Balancer, or a Classic Load Balancer. You can protect Amazon EC2 instances and Network Load Balancers by association with protected Amazon EC2 Elastic IP addresses.

See https://www.paws-r-sdk.com/docs/shield_create_protection/ for full documentation.

Usage

shield_create_protection(Name, ResourceArn, Tags = NULL)

Arguments

Name

[required] Friendly name for the Protection you are creating.

ResourceArn

[required] 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 standard 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

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


paws.security.identity documentation built on Sept. 12, 2024, 6:30 a.m.