Learn R Programming

paws.security.identity (version 0.7.0)

iamrolesanywhere_create_profile: Creates a profile, a list of the roles that Roles Anywhere service is trusted to assume

Description

Creates a profile, a list of the roles that Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies.

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

Usage

iamrolesanywhere_create_profile(
  acceptRoleSessionName = NULL,
  durationSeconds = NULL,
  enabled = NULL,
  managedPolicyArns = NULL,
  name,
  requireInstanceProperties = NULL,
  roleArns,
  sessionPolicy = NULL,
  tags = NULL
)

Arguments

acceptRoleSessionName

Used to determine if a custom role session name will be accepted in a temporary credential request.

durationSeconds

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the CreateSession API documentation page for more details. In requests, if this value is not provided, the default value will be 3600.

enabled

Specifies whether the profile is enabled.

managedPolicyArns

A list of managed policy ARNs that apply to the vended session credentials.

name

[required] The name of the profile.

requireInstanceProperties

Specifies whether instance properties are required in temporary credential requests with this profile.

roleArns

[required] A list of IAM roles that this profile can assume in a temporary credential request.

sessionPolicy

A session policy that applies to the trust boundary of the vended session credentials.

tags

The tags to attach to the profile.