AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.IdentityManagement.Model.RoleTemplateVersion

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.IdentityManagement.dll
Version: 3.x.y.z

Syntax

C#
public class RoleTemplateVersion

The RoleTemplateVersion type exposes the following members

Constructors

NameDescription
Public Method RoleTemplateVersion()

Properties

NameTypeDescription
Public Property AssumeRolePolicyDocumentTemplate System.String

Gets and sets the property AssumeRolePolicyDocumentTemplate.

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

Public Property CreateTimestamp System.Nullable<System.DateTime>

Gets and sets the property CreateTimestamp.

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

Public Property DefaultMinorVersion System.Nullable<System.Int32>

Gets and sets the property DefaultMinorVersion.

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

Public Property Description System.String

Gets and sets the property Description.

The description of the role template.

Public Property Enabled System.Nullable<System.Boolean>

Gets and sets the property Enabled.

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

Public Property InlinePolicyTemplates System.Collections.Generic.List<Amazon.IdentityManagement.Model.InlinePolicy>

Gets and sets the property InlinePolicyTemplates.

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

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property MajorVersion System.Nullable<System.Int32>

Gets and sets the property MajorVersion.

The major version number of the role template.

Public Property ManagedByType Amazon.IdentityManagement.ManagedByTypeType

Gets and sets the property ManagedByType.

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

Public Property ManagedByValue System.String

Gets and sets the property ManagedByValue.

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

Public Property ManagedPolicyArns System.Collections.Generic.List<System.String>

Gets and sets the property ManagedPolicyArns.

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

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property MaxSessionDuration System.Nullable<System.Int32>

Gets and sets the property MaxSessionDuration.

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

Public Property MinorVersion System.Nullable<System.Int32>

Gets and sets the property MinorVersion.

The minor version number of this role template version.

Public Property ParametersDefinition System.Collections.Generic.List<Amazon.IdentityManagement.Model.ParameterDefinition>

Gets and sets the property ParametersDefinition.

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.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property PermissionBoundaryArn System.String

Gets and sets the property PermissionBoundaryArn.

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.

Public Property RoleDescriptionPattern System.String

Gets and sets the property RoleDescriptionPattern.

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

Public Property RoleNamePattern System.String

Gets and sets the property RoleNamePattern.

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.

Public Property RolePathPattern System.String

Gets and sets the property RolePathPattern.

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

Public Property RoleTagsTemplate System.Collections.Generic.List<Amazon.IdentityManagement.Model.TagTemplate>

Gets and sets the property RoleTagsTemplate.

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

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property TemplateArn System.String

Gets and sets the property TemplateArn.

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.

Public Property TemplateName System.String

Gets and sets the property TemplateName.

The friendly name that identifies the role template.

Public Property TemplateVersionId System.String

Gets and sets the property TemplateVersionId.

The identifier of the role template version.

Public Property UpdateTimestamp System.Nullable<System.DateTime>

Gets and sets the property UpdateTimestamp.

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

Public Property VersionEnabled System.Nullable<System.Boolean>

Gets and sets the property VersionEnabled.

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer