class Amazonite::SecretsManager::ValidateResourcePolicyRequest

Included Modules

Defined in:

secrets_manager/validate_resource_policy_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(resource_policy : String, secret_id : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def 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.


[View source]
def resource_policy=(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.


[View source]
def secret_id : String | Nil #

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


[View source]
def secret_id=(secret_id : String | Nil) #

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


[View source]
def validate! : Nil #

[View source]