iam_delete_instance_profile: Deletes the specified instance profile

Description Usage Arguments Details Request syntax Examples

View source: R/iam_operations.R

Description

Deletes the specified instance profile. The instance profile must not have an associated role.

Usage

1
iam_delete_instance_profile(InstanceProfileName)

Arguments

InstanceProfileName

[required] The name of the instance profile 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]

Details

Make sure that you do not have any Amazon EC2 instances running with the instance profile 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.

For more information about instance profiles, go to About Instance Profiles.

Request syntax

1
2
3
svc$delete_instance_profile(
  InstanceProfileName = "string"
)

Examples

1
2
3
4
5
# The following command deletes the instance profile named
# ExampleInstanceProfile
svc$delete_instance_profile(
  InstanceProfileName = "ExampleInstanceProfile"
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.