Creates a new instance profile. For information about instance profiles, go to About
Instance Profiles.
For information about the number of instance profiles you can create, see Limitations on IAM Entities in Using AWS Identity and Access Management.
Declaration Syntax
C# |
public CreateInstanceProfileResponse CreateInstanceProfile( CreateInstanceProfileRequest request )
Parameters
- request (CreateInstanceProfileRequest)
- Container for the necessary parameters to execute the CreateInstanceProfile service method.
Return Value
The response from the CreateInstanceProfile service method, as returned by IdentityManagementService.
Exceptions
Exception | Condition |
---|---|
EntityAlreadyExistsException |
The request was rejected because it attempted to create a resource that already exists.
|
LimitExceededException |
The request was rejected because it attempted to create resources beyond the current
AWS account limits. The error message describes the limit exceeded.
|