Skip to content

IAM  >  Structures  >  RoleTemplateVersion

RoleTemplateVersion

Structure Class

RoleTemplateVersion dataclass

Bases: _SerdeShape

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.

Attributes

assume_role_policy_document_template class-attribute instance-attribute
assume_role_policy_document_template: str | None = ...

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

create_timestamp class-attribute instance-attribute
create_timestamp: datetime | None = ...

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

default_minor_version class-attribute instance-attribute
default_minor_version: int | None = ...

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

description class-attribute instance-attribute
description: str | None = ...

The description of the role template.

enabled class-attribute instance-attribute
enabled: bool = ...

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

inline_policy_templates class-attribute instance-attribute
inline_policy_templates: list[InlinePolicy] | None = ...

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

major_version class-attribute instance-attribute
major_version: int | None = ...

The major version number of the role template.

managed_by_type class-attribute instance-attribute
managed_by_type: str | None = ...

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

managed_by_value class-attribute instance-attribute
managed_by_value: str | None = ...

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

managed_policy_arns class-attribute instance-attribute
managed_policy_arns: list[str] | None = ...

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

max_session_duration class-attribute instance-attribute
max_session_duration: int | None = ...

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

minor_version class-attribute instance-attribute
minor_version: int | None = ...

The minor version number of this role template version.

parameters_definition class-attribute instance-attribute
parameters_definition: list[ParameterDefinition] | None = ...

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.

permission_boundary_arn class-attribute instance-attribute
permission_boundary_arn: str | None = ...

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.

role_description_pattern class-attribute instance-attribute
role_description_pattern: str | None = ...

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

role_name_pattern class-attribute instance-attribute
role_name_pattern: str | None = ...

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.

role_path_pattern class-attribute instance-attribute
role_path_pattern: str | None = ...

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

role_tags_template class-attribute instance-attribute
role_tags_template: list[TagTemplate] | None = ...

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

template_arn class-attribute instance-attribute
template_arn: str | None = ...

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.

template_name class-attribute instance-attribute
template_name: str | None = ...

The friendly name that identifies the role template.

template_version_id class-attribute instance-attribute
template_version_id: str | None = ...

The identifier of the role template version.

update_timestamp class-attribute instance-attribute
update_timestamp: datetime | None = ...

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

version_enabled class-attribute instance-attribute
version_enabled: bool = ...

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