Disables an account setting for a specified IAM user, IAM role, or the root user for an account.
[required] The resource name for which to disable the account setting. If
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it disables the account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
A list with the following syntax:
1 2 3 4 5 6 7
1 2 3 4
svc$delete_account_setting( name = "serviceLongArnFormat"|"taskLongArnFormat"|"containerInstanceLongArnFormat"|"awsvpcTrunking"|"containerInsights", principalArn = "string" )
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
## Not run: # This example deletes the account setting for your user for the specified # resource type. svc$delete_account_setting( name = "serviceLongArnFormat" ) # This example deletes the account setting for a specific IAM user or IAM # role for the specified resource type. Only the root user can view or # modify the account settings for another user. svc$delete_account_setting( name = "containerInstanceLongArnFormat", principalArn = "arn:aws:iam::<aws_account_id>:user/principalName" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.