paws.security.identity (version 0.1.0)

iam_get_instance_profile: Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role

Description

Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. For more information about instance profiles, see About Instance Profiles in the IAM User Guide.

Usage

iam_get_instance_profile(InstanceProfileName)

Arguments

InstanceProfileName

[required] The name of the instance profile to get information about.

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: \_+=,.@-

Request syntax

svc$get_instance_profile(
  InstanceProfileName = "string"
)

Examples

Run this code
# NOT RUN {
# The following command gets information about the instance profile named
# ExampleInstanceProfile.
# }
# NOT RUN {
svc$get_instance_profile(
  InstanceProfileName = "ExampleInstanceProfile"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace