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(profileId, name, sessionPolicy,
roleArns, managedPolicyArns, durationSeconds, acceptRoleSessionName)
Arguments¶
-
profileId[required] The unique identifier of the profile.
-
nameThe name of the profile.
-
sessionPolicyA session policy that applies to the trust boundary of the vended session credentials.
-
roleArnsA list of IAM roles that this profile can assume in a temporary credential request.
-
managedPolicyArnsA list of managed policy ARNs that apply to the vended session credentials.
-
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. -
acceptRoleSessionNameUsed to determine if a custom role session name will be accepted in a temporary credential request.
Value¶
A list with the following syntax:
list(
profile = list(
profileId = "string",
profileArn = "string",
name = "string",
requireInstanceProperties = TRUE|FALSE,
enabled = TRUE|FALSE,
createdBy = "string",
sessionPolicy = "string",
roleArns = list(
"string"
),
managedPolicyArns = list(
"string"
),
createdAt = as.POSIXct(
"2015-01-01"
),
updatedAt = as.POSIXct(
"2015-01-01"
),
durationSeconds = 123,
acceptRoleSessionName = TRUE|FALSE,
attributeMappings = list(
list(
certificateField = "x509Subject"|"x509Issuer"|"x509SAN",
mappingRules = list(
list(
specifier = "string"
)
)
)
)
)
)