Class: Aws::Shield::Types::CreateProtectionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Shield::Types::CreateProtectionRequest
- Defined in:
- gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
Friendly name for the
Protection
you are creating. -
#resource_arn ⇒ String
The ARN (Amazon Resource Name) of the resource to be protected.
-
#tags ⇒ Array<Types::Tag>
One or more tag key-value pairs for the Protection object that is created.
Instance Attribute Details
#name ⇒ String
Friendly name for the Protection
you are creating.
591 592 593 594 595 596 597 |
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 591 class CreateProtectionRequest < Struct.new( :name, :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
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
591 592 593 594 595 596 597 |
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 591 class CreateProtectionRequest < Struct.new( :name, :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
One or more tag key-value pairs for the Protection object that is created.
591 592 593 594 595 596 597 |
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 591 class CreateProtectionRequest < Struct.new( :name, :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |