Deletes the specified role. The role must not have any policies attached. For more information about roles, go to Working with Roles.
[required] The name of the role to delete.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: \_+=,[email protected]
Make sure that you do not have any Amazon EC2 instances running with the role you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance.
1 2 3
svc$delete_role( RoleName = "string" )
1 2 3 4
# The following command removes the role named Test-Role. svc$delete_role( RoleName = "Test-Role" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.