class Amazonite::Iam::InlinePolicyIdentifierType

Overview

Identifies one or more inline policies that are embedded in IAM users, groups, or roles, by the name of the policy together with the type and name of the entity that it is attached to. Wildcard characters in the entity name can match multiple entities, so a single identifier can select more than one attached inline policy.

Defined in:

iam/inline_policy_identifier_type.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(policy_name : String, attachment_type : AttachmentType, attachment_name : String) #

[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 attachment_name : String #

The name of the IAM user, group, or role that the inline policy is attached to. Wildcard characters are supported to match multiple entities: use at most one * (matches any sequence of characters, including none), and any number of ? (each matches exactly one character).


[View source]
def attachment_name=(attachment_name : String) #

The name of the IAM user, group, or role that the inline policy is attached to. Wildcard characters are supported to match multiple entities: use at most one * (matches any sequence of characters, including none), and any number of ? (each matches exactly one character).


[View source]
def attachment_type : AttachmentType #

The type of IAM entity that the inline policy is attached to.


[View source]
def attachment_type=(attachment_type : AttachmentType) #

The type of IAM entity that the inline policy is attached to.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def policy_name : String #

The name of the inline policy.


[View source]
def policy_name=(policy_name : String) #

The name of the inline policy.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]