class Amazonite::Iam::InstanceProfile

Overview

Contains information about an instance profile.

This data type is used as a response element in the following operations:

CreateInstanceProfile

GetInstanceProfile

ListInstanceProfiles

ListInstanceProfilesForRole

Defined in:

iam/instance_profile.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(path : String, instance_profile_name : String, instance_profile_id : String, arn : String, create_date : Time, roles : Array(Role), tags : Array(Tag) | 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 arn : String #

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.


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

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.


[View source]
def create_date : Time #

The date when the instance profile was created.


[View source]
def create_date=(create_date : Time) #

The date when the instance profile was created.


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

See Object#hash(hasher)


def instance_profile_id : String #

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.


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

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.


[View source]
def instance_profile_name : String #

The name identifying the instance profile.


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

The name identifying the instance profile.


[View source]
def path : String #

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.


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

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.


[View source]
def roles : Array(Role) #

The role associated with the instance profile.


[View source]
def roles=(roles : Array(Role)) #

The role associated with the instance profile.


[View source]
def tags : Array(Tag) | Nil #

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.


[View source]
def tags=(tags : Array(Tag) | Nil) #

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.


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

[View source]
def validate! : Nil #

[View source]