CreateCustomActionType
Creates a new custom action that can be used in all pipelines associated with the AWS account. Only used for custom actions.
Request Syntax
{
"category": "string",
"configurationProperties": [
{
"description": "string",
"key": boolean,
"name": "string",
"queryable": boolean,
"required": boolean,
"secret": boolean,
"type": "string"
}
],
"inputArtifactDetails": {
"maximumCount": number,
"minimumCount": number
},
"outputArtifactDetails": {
"maximumCount": number,
"minimumCount": number
},
"provider": "string",
"settings": {
"entityUrlTemplate": "string",
"executionUrlTemplate": "string",
"revisionUrlTemplate": "string",
"thirdPartyConfigurationUrl": "string"
},
"tags": [
{
"key": "string",
"value": "string"
}
],
"version": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- category
-
The category of the custom action, such as a build action or a test action.
Type: String
Valid Values:
Source | Build | Deploy | Test | Invoke | Approval | ComputeRequired: Yes
- configurationProperties
-
The configuration properties for the custom action.
Note
You can refer to a name in the configuration properties of the custom action within the URL templates by following the format of {Config:name}, as long as the configuration property is both required and not secret. For more information, see Create a Custom Action for a Pipeline.
Type: Array of ActionConfigurationProperty objects
Array Members: Maximum number of 10 items.
Required: No
- inputArtifactDetails
-
The details of the input artifact for the action, such as its commit ID.
Type: ArtifactDetails object
Required: Yes
- outputArtifactDetails
-
The details of the output artifact of the action, such as its commit ID.
Type: ArtifactDetails object
Required: Yes
- provider
-
The provider of the service used in the custom action, such as CodeDeploy.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 35.
Pattern:
[0-9A-Za-z_-]+Required: Yes
- settings
-
URLs that provide users information about this custom action.
Type: ActionTypeSettings object
Required: No
-
The tags for the custom action.
Type: Array of Tag objects
Required: No
- version
-
The version identifier of the custom action.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 9.
Pattern:
[0-9A-Za-z_-]+Required: Yes
Response Syntax
{
"actionType": {
"actionConfigurationProperties": [
{
"description": "string",
"key": boolean,
"name": "string",
"queryable": boolean,
"required": boolean,
"secret": boolean,
"type": "string"
}
],
"id": {
"category": "string",
"owner": "string",
"provider": "string",
"version": "string"
},
"inputArtifactDetails": {
"maximumCount": number,
"minimumCount": number
},
"outputArtifactDetails": {
"maximumCount": number,
"minimumCount":