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(profileId, name, sessionPolicy,
roleArns, managedPolicyArns, durationSeconds, acceptRoleSessionName)
Arguments¶
profileId |
[required] The unique identifier of the profile. |
name |
The name of the profile. |
sessionPolicy |
A session policy that applies to the trust boundary of the vended session credentials. |
roleArns |
A list of IAM roles that this profile can assume in a temporary credential request. |
managedPolicyArns |
A list of managed policy ARNs that apply to the vended session credentials. |
durationSeconds |
Used to determine how long sessions vended using this profile are
valid for. See the |
acceptRoleSessionName |
Used 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"
)
)
)
)
)
)
Request syntax¶
svc$update_profile(
profileId = "string",
name = "string",
sessionPolicy = "string",
roleArns = list(
"string"
),
managedPolicyArns = list(
"string"
),
durationSeconds = 123,
acceptRoleSessionName = TRUE|FALSE
)