class Amazonite::Iam::RoleTemplateVersion

Overview

Contains information about a version of an IAM role template, including the configuration that is used to create roles with AcquireRole. This structure is returned as a response element by the GetRoleTemplateVersion operation.

Defined in:

iam/role_template_version.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(template_arn : String | Nil = nil, template_name : String | Nil = nil, template_version_id : String | Nil = nil, description : String | Nil = nil, major_version : Int32 | Nil = nil, default_minor_version : Int32 | Nil = nil, managed_by_type : ManagedByTypeType | Nil = nil, managed_by_value : String | Nil = nil, enabled : Bool | Nil = nil, minor_version : Int32 | Nil = nil, role_name_pattern : String | Nil = nil, role_path_pattern : String | Nil = nil, role_description_pattern : String | Nil = nil, assume_role_policy_document_template : String | Nil = nil, inline_policy_templates : Array(InlinePolicy) | Nil = nil, managed_policy_arns : Array(String) | Nil = nil, permission_boundary_arn : String | Nil = nil, parameters_definition : Array(ParameterDefinition) | Nil = nil, role_tags_template : Array(TagTemplate) | Nil = nil, max_session_duration : Int32 | Nil = nil, version_enabled : Bool | Nil = nil, create_timestamp : Time | Nil = nil, update_timestamp : Time | 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 assume_role_policy_document_template : String | Nil #

The trust policy template that grants an entity permission to assume roles that you create from this template.


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

The trust policy template that grants an entity permission to assume roles that you create from this template.


[View source]
def create_timestamp : Time | Nil #

The date and time, in ISO 8601 date-time format, when the role template version was created.


[View source]
def create_timestamp=(create_timestamp : Time | Nil) #

The date and time, in ISO 8601 date-time format, when the role template version was created.


[View source]
def default_minor_version : Int32 | Nil #

The minor version that the service uses by default when you create a role from this template without specifying a minor version.


[View source]
def default_minor_version=(default_minor_version : Int32 | Nil) #

The minor version that the service uses by default when you create a role from this template without specifying a minor version.


[View source]
def description : String | Nil #

The description of the role template.


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

The description of the role template.


[View source]
def enabled : Bool | Nil #

Specifies whether the role template is enabled. When a template is disabled, you cannot create roles from it.


[View source]
def enabled=(enabled : Bool | Nil) #

Specifies whether the role template is enabled. When a template is disabled, you cannot create roles from it.


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

See Object#hash(hasher)


def inline_policy_templates : Array(InlinePolicy) | Nil #

A list of inline policy templates that the service embeds in roles that you create from this template.


[View source]
def inline_policy_templates=(inline_policy_templates : Array(InlinePolicy) | Nil) #

A list of inline policy templates that the service embeds in roles that you create from this template.


[View source]
def major_version : Int32 | Nil #

The major version number of the role template.


[View source]
def major_version=(major_version : Int32 | Nil) #

The major version number of the role template.


[View source]
def managed_by_type : ManagedByTypeType | Nil #

Indicates that the role template is managed by an Amazon Web Services service.


[View source]
def managed_by_type=(managed_by_type : ManagedByTypeType | Nil) #

Indicates that the role template is managed by an Amazon Web Services service.


[View source]
def managed_by_value : String | Nil #

The identifier of the Amazon Web Services service that manages the role template.


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

The identifier of the Amazon Web Services service that manages the role template.


[View source]
def managed_policy_arns : Array(String) | Nil #

A list of the ARNs of the managed policies that the service attaches to roles that you create from this template.


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

A list of the ARNs of the managed policies that the service attaches to roles that you create from this template.


[View source]
def max_session_duration : Int32 | Nil #

The maximum session duration (in seconds) for roles that are created from this template.


[View source]
def max_session_duration=(max_session_duration : Int32 | Nil) #

The maximum session duration (in seconds) for roles that are created from this template.


[View source]
def minor_version : Int32 | Nil #

The minor version number of this role template version.


[View source]
def minor_version=(minor_version : Int32 | Nil) #

The minor version number of this role template version.


[View source]
def parameters_definition : Array(ParameterDefinition) | Nil #

A list of the parameters that are defined for this role template version. You supply values for these parameters when you create a role with AcquireRole.


[View source]
def parameters_definition=(parameters_definition : Array(ParameterDefinition) | Nil) #

A list of the parameters that are defined for this role template version. You supply values for these parameters when you create a role with AcquireRole.


[View source]
def permission_boundary_arn : String | Nil #

The ARN of the policy that sets the permissions boundary for roles that you create from this template.

For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.


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

The ARN of the policy that sets the permissions boundary for roles that you create from this template.

For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.


[View source]
def role_description_pattern : String | Nil #

The pattern that is used to generate the description of a role that is created from this template.


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

The pattern that is used to generate the description of a role that is created from this template.


[View source]
def role_name_pattern : String | Nil #

The pattern that is used to generate the name of a role that is created from this template. The pattern can include @{parameter} placeholders that are replaced with the values you supply in the ReplacementValues parameter of AcquireRole.


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

The pattern that is used to generate the name of a role that is created from this template. The pattern can include @{parameter} placeholders that are replaced with the values you supply in the ReplacementValues parameter of AcquireRole.


[View source]
def role_path_pattern : String | Nil #

The pattern that is used to generate the path of a role that is created from this template.


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

The pattern that is used to generate the path of a role that is created from this template.


[View source]
def role_tags_template : Array(TagTemplate) | Nil #

A list of tag templates that are applied to roles that are created from this template.


[View source]
def role_tags_template=(role_tags_template : Array(TagTemplate) | Nil) #

A list of tag templates that are applied to roles that are created from this template.


[View source]
def template_arn : String | Nil #

The Amazon Resource Name (ARN) that identifies the role template.

For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.


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

The Amazon Resource Name (ARN) that identifies the role template.

For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.


[View source]
def template_name : String | Nil #

The friendly name that identifies the role template.


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

The friendly name that identifies the role template.


[View source]
def template_version_id : String | Nil #

The identifier of the role template version.


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

The identifier of the role template version.


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

[View source]
def update_timestamp : Time | Nil #

The date and time, in ISO 8601 date-time format, when the role template version was last updated.


[View source]
def update_timestamp=(update_timestamp : Time | Nil) #

The date and time, in ISO 8601 date-time format, when the role template version was last updated.


[View source]
def validate! : Nil #

[View source]
def version_enabled : Bool | Nil #

Specifies whether this specific minor version of the role template is enabled.


[View source]
def version_enabled=(version_enabled : Bool | Nil) #

Specifies whether this specific minor version of the role template is enabled.


[View source]