

# CreateProfileEntry

Creates a profile entry that binds an extension to a profile. The extension must exist, and the profile can't already have an entry for that extension.

## Request Syntax
<a name="API_CreateProfileEntry_RequestSyntax"></a>

```
POST /profiles/{{profileIdentifier}}/entries HTTP/1.1
Content-type: application/json

{
   "approve": [ "{{string}}" ],
   "clientToken": "{{string}}",
   "description": "{{string}}",
   "executionRole": "{{string}}",
   "extensionIdentifier": "{{string}}",
   "interfaces": { 
      "{{string}}" : { ... }
   },
   "name": "{{string}}",
   "settings": {{JSON value}},
   "tags": { 
      "{{string}}" : "{{string}}" 
   },
   "versionPolicy": { 
      "updateStrategy": "{{string}}",
      "versionSelector": "{{string}}"
   }
}
```

## URI Request Parameters
<a name="API_CreateProfileEntry_RequestParameters"></a>

The request uses the following URI parameters.

 ** [profileIdentifier](#API_CreateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-request-uri-profileIdentifier"></a>
The ID or name of the profile to bind the extension to.  
Length Constraints: Minimum length of 1. Maximum length of 1011.  
Pattern: `([a-z0-9]{10,63}|[a-z][a-z0-9]+([_-][a-z0-9]+)*)`   
Required: Yes

## Request Body
<a name="API_CreateProfileEntry_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [approve](#API_CreateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-request-approve"></a>
A list of capability paths to approve. Each path must correspond to a capability instance that the extension declares. A capability path is a capability ID, optionally followed by dot-separated child IDs or list indexes. You can specify up to 100 paths.  
Type: Array of strings  
Array Members: Minimum number of 0 items. Maximum number of 100 items.  
Length Constraints: Minimum length of 3. Maximum length of 128.  
Pattern: `[a-z][a-zA-Z0-9]{2,31}(\.([a-z][a-zA-Z0-9]{2,31}|0|[1-9][0-9]?))*`   
Required: No

 ** [clientToken](#API_CreateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-request-clientToken"></a>
A unique, case-sensitive identifier that you provide to ensure that the request is processed at most once.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[!-~]+`   
Required: No

 ** [description](#API_CreateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-request-description"></a>
A description of the purpose of the entry. The description can be up to 256 characters long.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[^ \p{Cc}][^\p{Cc}]*`   
Required: No

 ** [executionRole](#API_CreateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-request-executionRole"></a>
The ARN of the IAM role that the extension assumes when it calls AWS services. The principal of the Cloud Extensions orchestrator must be able to assume the role.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 1011.  
Pattern: `arn:[a-z0-9-]+:iam:[a-z0-9-]*:[0-9]{0,12}:role/[a-zA-Z0-9/_+=,.@-]+`   
Required: No

 ** [extensionIdentifier](#API_CreateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-request-extensionIdentifier"></a>
The ID of the extension to bind, such as `aws:secretsmanager`. The ID is the namespace and name of the extension, joined by a colon.  
Type: String  
Length Constraints: Minimum length of 6. Maximum length of 49.  
Pattern: `[a-z0-9]{3,16}:[a-z][a-z0-9]+([_-][a-z0-9]+)*`   
Required: Yes

 ** [interfaces](#API_CreateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-request-interfaces"></a>
The options for each interface, keyed by the ID of an interface that the extension declares. You can specify options for up to 10 interfaces.  
Type: String to [InterfaceOptions](API_InterfaceOptions.md) object map  
Map Entries: Minimum number of 0 items. Maximum number of 10 items.  
Key Pattern: `[a-z]([a-zA-Z0-9]{2,31})`   
Required: No

 ** [name](#API_CreateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-request-name"></a>
The name of the entry, which must be unique within the profile. If you don't specify a name, the default is the name part of the extension ID.  
Type: String  
Length Constraints: Minimum length of 2. Maximum length of 32.  
Pattern: `[a-z][a-z0-9]+([_-][a-z0-9]+)*`   
Required: No

 ** [settings](#API_CreateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-request-settings"></a>
The setting values to use for this extension, as free-form JSON. The keys are the setting IDs of the extension. The values are validated against the setting definitions of the extension. A setting that you omit or set to null takes its default value, if it has one. A null value inside an array isn't valid.  
Type: JSON value  
Required: No

 ** [tags](#API_CreateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-request-tags"></a>
The tags to assign to the profile entry.  
Type: String to string map  
Map Entries: Minimum number of 0 items. Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Value Length Constraints: Minimum length of 0. Maximum length of 256.  
Required: No

 ** [versionPolicy](#API_CreateProfileEntry_RequestSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-request-versionPolicy"></a>
The policy that controls which extension version this entry tracks, and how the entry adopts new releases.  
Type: [VersionPolicy](API_VersionPolicy.md) object  
Required: No

## Response Syntax
<a name="API_CreateProfileEntry_ResponseSyntax"></a>

```
HTTP/1.1 201
Content-type: application/json

{
   "approvedCapabilities": { 
      "string" : { ... }
   },
   "arn": "string",
   "createdAt": "string",
   "description": "string",
   "effectiveSettings": JSON value,
   "executionRole": "string",
   "extensionDisplayName": "string",
   "extensionId": "string",
   "id": "string",
   "inherited": { 
      "executionRole": "string",
      "interfaceDefaults": { 
         "http": { 
            "authentication": { ... }
         }
      }
   },
   "interfaces": { 
      "string" : { ... }
   },
   "latestVersion": "string",
   "name": "string",
   "profileId": "string",
   "profileName": "string",
   "resolvedVersion": "string",
   "updatedAt": "string",
   "versionPolicy": { 
      "updateStrategy": "string",
      "versionSelector": "string"
   }
}
```

## Response Elements
<a name="API_CreateProfileEntry_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in JSON format by the service.

 ** [approvedCapabilities](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-approvedCapabilities"></a>
A map of capability paths to their approved specifications. You must explicitly approve a capability before the extension can use it.  
Type: String to [CapabilityDefinition](API_CapabilityDefinition.md) object map  
Map Entries: Minimum number of 0 items. Maximum number of 100 items.  
Key Length Constraints: Minimum length of 3. Maximum length of 128.  
Key Pattern: `[a-z][a-zA-Z0-9]{2,31}(\.([a-z][a-zA-Z0-9]{2,31}|0|[1-9][0-9]?))*` 

 ** [arn](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-arn"></a>
The Amazon Resource Name (ARN) of the profile entry.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 1011.  
Pattern: `arn:[a-z0-9-]+:cloudextensions:[a-z0-9-]*:([0-9]{0,12}|aws):[a-z]+/[a-zA-Z0-9/_:-]+` 

 ** [createdAt](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-createdAt"></a>
The date and time when the profile entry was created.  
Type: Timestamp

 ** [description](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-description"></a>
A description of the purpose of the entry.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[^ \p{Cc}][^\p{Cc}]*` 

 ** [effectiveSettings](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-effectiveSettings"></a>
The setting values for this extension, including any default values that apply. The values are validated against the setting definitions of the extension.  
Type: JSON value

 ** [executionRole](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-executionRole"></a>
The ARN of the IAM role that the extension assumes when it calls AWS services. The principal of the Cloud Extensions orchestrator must be able to assume the role.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 1011.  
Pattern: `arn:[a-z0-9-]+:iam:[a-z0-9-]*:[0-9]{0,12}:role/[a-zA-Z0-9/_+=,.@-]+` 

 ** [extensionDisplayName](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-extensionDisplayName"></a>
The display name of the extension that this entry references.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[^\s\p{Cc}]([^\p{Cc}]*[^\s\p{Cc}])?` 

 ** [extensionId](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-extensionId"></a>
The ID of the extension that this entry references, such as `aws:secretsmanager`.  
Type: String  
Length Constraints: Minimum length of 6. Maximum length of 49.  
Pattern: `[a-z0-9]{3,16}:[a-z][a-z0-9]+([_-][a-z0-9]+)*` 

 ** [id](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-id"></a>
The ID of the profile entry, which the service generates.  
Type: String  
Pattern: `[a-z0-9]{10,63}` 

 ** [inherited](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-inherited"></a>
The extension defaults of the profile. An option that is set in the `interfaces` of the entry overrides the same option in the inherited `interfaceDefaults`.  
Type: [ExtensionDefaults](API_ExtensionDefaults.md) object

 ** [interfaces](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-interfaces"></a>
The options for each interface of this entry, keyed by the ID of an interface that the extension declares.  
Type: String to [InterfaceOptions](API_InterfaceOptions.md) object map  
Map Entries: Minimum number of 0 items. Maximum number of 10 items.  
Key Pattern: `[a-z]([a-zA-Z0-9]{2,31})` 

 ** [latestVersion](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-latestVersion"></a>
The latest released version of the extension, whether or not the version policy of the entry selects it.  
Type: String  
Pattern: `(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})` 

 ** [name](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-name"></a>
The name of the profile entry, which is unique within the profile. The default is the name part of the extension ID.  
Type: String  
Length Constraints: Minimum length of 2. Maximum length of 32.  
Pattern: `[a-z][a-z0-9]+([_-][a-z0-9]+)*` 

 ** [profileId](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-profileId"></a>
The ID of the profile that this entry belongs to.  
Type: String  
Pattern: `[a-z0-9]{10,63}` 

 ** [profileName](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-profileName"></a>
The name of the profile that this entry belongs to.  
Type: String  
Length Constraints: Minimum length of 2. Maximum length of 32.  
Pattern: `[a-z][a-z0-9]+([_-][a-z0-9]+)*` 

 ** [resolvedVersion](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-resolvedVersion"></a>
The extension version that the version policy of the entry selects. The Cloud Extensions orchestrator runs this version.  
Type: String  
Pattern: `(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})` 

 ** [updatedAt](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-updatedAt"></a>
The date and time when the profile entry was last updated. This value is the same as `createdAt` until the first update.  
Type: Timestamp

 ** [versionPolicy](#API_CreateProfileEntry_ResponseSyntax) **   <a name="systemsmanagercloudextensions-CreateProfileEntry-response-versionPolicy"></a>
The policy that controls which extension version this entry tracks, and how the entry adopts new releases.  
Type: [VersionPolicy](API_VersionPolicy.md) object

## Errors
<a name="API_CreateProfileEntry_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You don't have permission to perform the operation.    
 ** message **   
A description of why the request was denied.
HTTP Status Code: 403

 ** ConflictException **   
The request conflicts with the current state of the resource.    
 ** conflict **   
The details of the conflict.  
 ** message **   
A short summary that is the same for every `ConflictException`. For the details, see `conflict`.
HTTP Status Code: 409

 ** InternalServerException **   
The service couldn't process the request because of an internal error. Retry the request with capped exponential backoff and jitter.    
 ** message **   
A short summary that is the same for every `InternalServerException`.  
 ** retryAfterSeconds **   
The number of seconds to wait before you retry the request, from the `Retry-After` header. This value is present only when the service sets the header.
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The specified resource doesn't exist, or you don't have permission to access it.    
 ** identifier **   
The identifier that was used to look up the resource.  
 ** message **   
A short summary that is the same for every `ResourceNotFoundException`. For the details, see `resourceType` and `identifier`.  
 ** resourceType **   
The type of the resource that wasn't found.
HTTP Status Code: 404

 ** ServiceQuotaExceededException **   
The request would exceed a service quota for your account.    
 ** message **   
A short summary that is the same for every `ServiceQuotaExceededException`. For the details, see `resourceType` and `resourceId`.  
 ** quotaCode **   
The code of the quota that would be exceeded.  
 ** resourceId **   
The identifier of the resource whose quota would be exceeded.  
 ** resourceType **   
The type of the resource whose quota would be exceeded.  
 ** serviceCode **   
The service code to use to look up the quota.
HTTP Status Code: 402

 ** ThrottlingException **   
The request rate exceeded a limit. Retry the request with capped exponential backoff and jitter.    
 ** message **   
A description of the error.  
 ** retryAfterSeconds **   
The number of seconds to wait before you retry the request, from the `Retry-After` header. This value is present only when the service sets the header.
HTTP Status Code: 429

 ** ValidationException **   
The request is malformed or contains parameter values that aren't valid.    
 ** errors **   
A list of the specific reasons that the request failed validation, when available.  
 ** message **   
A short summary that is the same for every `ValidationException`. For the details, see `reason` and `errors`.  
 ** reason **   
A classification of the validation failure. `FIELD_VALIDATION_FAILED` means that one or more input fields failed validation. `UNKNOWN_OPERATION` means that the requested operation doesn't exist. `CANNOT_PARSE` means that the request body couldn't be parsed, or doesn't have the shape that the operation expects.
HTTP Status Code: 400

## See Also
<a name="API_CreateProfileEntry_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudextensions-2026-11-29/CreateProfileEntry) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudextensions-2026-11-29/CreateProfileEntry) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/cloudextensions-2026-11-29/CreateProfileEntry) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudextensions-2026-11-29/CreateProfileEntry) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudextensions-2026-11-29/CreateProfileEntry) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudextensions-2026-11-29/CreateProfileEntry) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudextensions-2026-11-29/CreateProfileEntry) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudextensions-2026-11-29/CreateProfileEntry) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/cloudextensions-2026-11-29/CreateProfileEntry) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudextensions-2026-11-29/CreateProfileEntry) 