Class: Aws::SecretsManager::Types::GetResourcePolicyRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-secretsmanager/types.rb

Overview

Note:

When making an API call, you may pass GetResourcePolicyRequest data as a hash:

{
  secret_id: "SecretIdType", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#secret_idString

Specifies the secret that you want to retrieve the attached resource-based policy for. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.

Returns:

  • (String)


791
792
793
794
795
# File 'lib/aws-sdk-secretsmanager/types.rb', line 791

class GetResourcePolicyRequest < Struct.new(
  :secret_id)
  SENSITIVE = []
  include Aws::Structure
end