Class: Aws::SecretsManager::Types::ValidateResourcePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecretsManager::Types::ValidateResourcePolicyRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-secretsmanager/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_policy ⇒ String
A JSON-formatted string that contains an Amazon Web Services resource-based policy.
-
#secret_id ⇒ String
The ARN or name of the secret with the resource-based policy you want to validate.
Instance Attribute Details
#resource_policy ⇒ String
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
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_id ⇒ String
The ARN or name of the secret with the resource-based policy you want to validate.
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 |