Class: Aws::SecretsManager::Types::ValidateResourcePolicyRequest

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

#resource_policyString

A JSON-formatted string that contains an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For example policies, see [Permissions policy examples].

[1]: docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_examples.html

Returns:

  • (String)


2447
2448
2449
2450
2451
2452
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2447

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

#secret_idString

The ARN or name of the secret with the resource-based policy you want to validate.

Returns:

  • (String)


2447
2448
2449
2450
2451
2452
# File 'lib/aws-sdk-secretsmanager/types.rb', line 2447

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