class
Amazonite::SecretsManager::GetResourcePolicyResponse
- Amazonite::SecretsManager::GetResourcePolicyResponse
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
secrets_manager/get_resource_policy_response.crConstructors
- .new(pull : JSON::PullParser)
- .new(arn : String | Nil = nil, name : String | Nil = nil, resource_policy : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#arn : String | Nil
The ARN of the secret that the resource-based policy was retrieved for.
-
#arn=(arn : String | Nil)
The ARN of the secret that the resource-based policy was retrieved for.
-
#hash(hasher)
See
Object#hash(hasher) -
#name : String | Nil
The name of the secret that the resource-based policy was retrieved for.
-
#name=(name : String | Nil)
The name of the secret that the resource-based policy was retrieved for.
-
#resource_policy : String | Nil
A JSON-formatted string that contains the permissions policy attached to the secret.
-
#resource_policy=(resource_policy : String | Nil)
A JSON-formatted string that contains the permissions policy attached to the secret.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The ARN of the secret that the resource-based policy was retrieved for.
The name of the secret that the resource-based policy was retrieved for.
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.
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.