Class: Aws::SecretsManager::Types::GetResourcePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecretsManager::Types::GetResourcePolicyRequest
- 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
-
#secret_id ⇒ String
Specifies the secret that you want to retrieve the attached resource-based policy for.
Instance Attribute Details
#secret_id ⇒ String
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.
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 |