Skip to content

/AWS1/CL_RLA=>CREATEPROFILE()

About CreateProfile

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.

Required permissions: rolesanywhere:CreateProfile.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/RLARESOURCENAME /AWS1/RLARESOURCENAME

The name of the profile.

IT_ROLEARNS TYPE /AWS1/CL_RLAROLEARNLIST_W=>TT_ROLEARNLIST TT_ROLEARNLIST

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

Optional arguments:

IV_REQUIREINSTANCEPROPERTIES TYPE /AWS1/RLABOOLEAN /AWS1/RLABOOLEAN

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

IV_SESSIONPOLICY TYPE /AWS1/RLASTRING /AWS1/RLASTRING

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

IT_MANAGEDPOLICYARNS TYPE /AWS1/CL_RLAMANAGEDPLYLIST_W=>TT_MANAGEDPOLICYLIST TT_MANAGEDPOLICYLIST

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

IV_DURATIONSECONDS TYPE /AWS1/RLAINTEGER /AWS1/RLAINTEGER

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.

IV_ENABLED TYPE /AWS1/RLABOOLEAN /AWS1/RLABOOLEAN

Specifies whether the profile is enabled.

IT_TAGS TYPE /AWS1/CL_RLATAG=>TT_TAGLIST TT_TAGLIST

The tags to attach to the profile.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RLAPROFILEDETAILRSP /AWS1/CL_RLAPROFILEDETAILRSP