Update Profile
| iamrolesanywhere_update_profile | R Documentation |
Updates a profile, a list of the roles that IAM Roles Anywhere service is trusted to assume¶
Description¶
Updates a profile, a list of the roles that IAM Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies.
Required permissions: rolesanywhere:UpdateProfile.
Usage¶
iamrolesanywhere_update_profile(acceptRoleSessionName, durationSeconds,
managedPolicyArns, name, profileId, roleArns, sessionPolicy)
Arguments¶
acceptRoleSessionNameUsed to determine if a custom role session name will be accepted in a temporary credential request.
durationSecondsUsed to determine how long sessions vended using this profile are valid for. See the
Expirationsection of the CreateSession API documentation page for more details. In requests, if this value is not provided, the default value will be 3600.managedPolicyArnsA list of managed policy ARNs that apply to the vended session credentials.
nameThe name of the profile.
profileId[required] The unique identifier of the profile.
roleArnsA list of IAM roles that this profile can assume in a temporary credential request.
sessionPolicyA session policy that applies to the trust boundary of the vended session credentials.
Value¶
A list with the following syntax:
list(
profile = list(
acceptRoleSessionName = TRUE|FALSE,
attributeMappings = list(
list(
certificateField = "x509Subject"|"x509Issuer"|"x509SAN",
mappingRules = list(
list(
specifier = "string"
)
)
)
),
createdAt = as.POSIXct(
"2015-01-01"
),
createdBy = "string",
durationSeconds = 123,
enabled = TRUE|FALSE,
managedPolicyArns = list(
"string"
),
name = "string",
profileArn = "string",
profileId = "string",
requireInstanceProperties = TRUE|FALSE,
roleArns = list(
"string"
),
sessionPolicy = "string",
updatedAt = as.POSIXct(
"2015-01-01"
)
)
)