Class: Aws::SecretsManager::Types::GetResourcePolicyResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the secret that the resource-based policy was retrieved for.

Returns:

  • (String)


855
856
857
858
859
860
861
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 855

class GetResourcePolicyResponse < Struct.new(
  :arn,
  :name,
  :resource_policy)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the secret that the resource-based policy was retrieved for.

Returns:

  • (String)


855
856
857
858
859
860
861
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 855

class GetResourcePolicyResponse < Struct.new(
  :arn,
  :name,
  :resource_policy)
  SENSITIVE = []
  include Aws::Structure
end

#resource_policyString

A JSON-formatted string that contains the permissions policy attached to the secret. For more information about permissions policies, see Authentication and access control for Secrets Manager.

Returns:

  • (String)


855
856
857
858
859
860
861
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 855

class GetResourcePolicyResponse < Struct.new(
  :arn,
  :name,
  :resource_policy)
  SENSITIVE = []
  include Aws::Structure
end