class
Amazonite::Kinesis::PutResourcePolicyInput
- Amazonite::Kinesis::PutResourcePolicyInput
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
kinesis/put_resource_policy_input.crConstructors
- .new(resource_arn : String, policy : String, stream_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#policy : String
Details of the resource policy.
-
#policy=(policy : String)
Details of the resource policy.
-
#resource_arn : String
The Amazon Resource Name (ARN) of the data stream or consumer.
-
#resource_arn=(resource_arn : String)
The Amazon Resource Name (ARN) of the data stream or consumer.
-
#stream_id : String | Nil
Not Implemented.
-
#stream_id=(stream_id : String | Nil)
Not Implemented.
- #validate! : Nil
Constructor Detail
def self.new(resource_arn : String, policy : String, stream_id : String | Nil = nil)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def policy : String
#
Details of the resource policy. It must include the identity of the principal and the actions allowed on this resource. This is formatted as a JSON string.
def policy=(policy : String)
#
Details of the resource policy. It must include the identity of the principal and the actions allowed on this resource. This is formatted as a JSON string.
def resource_arn=(resource_arn : String)
#
The Amazon Resource Name (ARN) of the data stream or consumer.