iam_acquire_role: Creates an IAM role from the specified role template

View source: R/iam_operations.R

iam_acquire_roleR Documentation

Creates an IAM role from the specified role template

Description

Creates an IAM role from the specified role template. The new role takes its configuration—including its name, path, trust policy, inline and managed policies, permissions boundary, tags, and maximum session duration—from the role template version that you specify. For more information about roles, see IAM roles in the IAM User Guide.

See https://www.paws-r-sdk.com/docs/iam_acquire_role/ for full documentation.

Usage

iam_acquire_role(
  TemplateArn,
  TemplateMinorVersion = NULL,
  ReplacementValues = NULL
)

Arguments

TemplateArn

[required] The Amazon Resource Name (ARN) of the role template to create the role from.

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

TemplateMinorVersion

The minor version of the role template to use. If you do not specify a minor version, the service uses the template's default minor version.

ReplacementValues

A map of values to substitute for the parameters that are defined in the role template version. Each key is a parameter name from the template, and each value is a structure that contains the replacement values for that parameter.


paws.security.identity documentation built on Oct. 8, 2026, 9:12 a.m.