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¶
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.managedPolicyArns
A list of managed policy ARNs that apply to the vended session credentials.
name
The name of the profile.
profileId
[required] The unique identifier of the profile.
roleArns
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.
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"
)
)
)