You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Shield::Types::CreateProtectionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateProtectionRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "ProtectionName", # required
  resource_arn: "ResourceArn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Friendly name for the Protection you are creating.

Returns:

  • (String)

    Friendly name for the Protection you are creating.

#resource_arnString

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

Returns:

  • (String)

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