class Amazonite::Iam::PolicyGrantingServiceAccess

Overview

Contains details about the permissions policies that are attached to the specified identity (user, group, or role).

This data type is an element of the ListPoliciesGrantingServiceAccessEntry object.

Defined in:

iam/policy_granting_service_access.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(policy_name : String, policy_type : PolicyType, policy_arn : String | Nil = nil, entity_type : PolicyOwnerEntityType | Nil = nil, entity_name : String | Nil = nil) #

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

The name of the entity (user or role) to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.


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

The name of the entity (user or role) to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.


[View source]
def entity_type : PolicyOwnerEntityType | Nil #

The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.


[View source]
def entity_type=(entity_type : PolicyOwnerEntityType | Nil) #

The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.


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

See Object#hash(hasher)


def policy_arn : String | Nil #

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

[View source]
def policy_name : String #

The policy name.


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

The policy name.


[View source]
def policy_type : PolicyType #

The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.


[View source]
def policy_type=(policy_type : PolicyType) #

The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.


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

[View source]
def validate! : Nil #

[View source]