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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#secret_idString

The ARN or name of the secret to retrieve the attached resource-based policy for.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See [Finding a secret from a partial ARN].

[1]: docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen

Returns:

  • (String)


826
827
828
829
830
# File 'lib/aws-sdk-secretsmanager/types.rb', line 826

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