Class: Aws::SecretsManager::Types::GetResourcePolicyResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecretsManager::Types::GetResourcePolicyResponse
- Defined in:
- gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#arn ⇒ String
The ARN of the secret that the resource-based policy was retrieved for.
-
#name ⇒ String
The name of the secret that the resource-based policy was retrieved for.
-
#policy_name ⇒ String
The name of the resource policy.
-
#resource_policy ⇒ String
A JSON-formatted string that contains the permissions policy attached to the secret.
Instance Attribute Details
#arn ⇒ String
The ARN of the secret that the resource-based policy was retrieved for.
1209 1210 1211 1212 1213 1214 1215 1216 |
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1209 class GetResourcePolicyResponse < Struct.new( :arn, :name, :resource_policy, :policy_name) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the secret that the resource-based policy was retrieved for.
1209 1210 1211 1212 1213 1214 1215 1216 |
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1209 class GetResourcePolicyResponse < Struct.new( :arn, :name, :resource_policy, :policy_name) SENSITIVE = [] include Aws::Structure end |
#policy_name ⇒ String
The name of the resource policy. If you didn't specify PolicyName
in the request, this is default.
1209 1210 1211 1212 1213 1214 1215 1216 |
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1209 class GetResourcePolicyResponse < Struct.new( :arn, :name, :resource_policy, :policy_name) SENSITIVE = [] include Aws::Structure end |
#resource_policy ⇒ String
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.
1209 1210 1211 1212 1213 1214 1215 1216 |
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1209 class GetResourcePolicyResponse < Struct.new( :arn, :name, :resource_policy, :policy_name) SENSITIVE = [] include Aws::Structure end |