Skip to main content

custom_action_types

Creates, updates, deletes or gets a custom_action_type resource or lists custom_action_types in a region

Overview

Namecustom_action_types
TypeResource
DescriptionThe AWS::CodePipeline::CustomActionType resource creates a custom action for activities that aren't included in the CodePipeline default actions, such as running an internally developed build process or a test suite. You can use these custom actions in the stage of a pipeline.
Idaws.codepipeline.custom_action_types

Fields

NameDatatypeDescription
categorystringThe category of the custom action, such as a build action or a test action.
configuration_propertiesarrayThe configuration properties for the custom action.
input_artifact_detailsobjectThe details of the input artifact for the action, such as its commit ID.
output_artifact_detailsobjectThe details of the output artifact of the action, such as its commit ID.
providerstringThe provider of the service used in the custom action, such as AWS CodeDeploy.
settingsobjectURLs that provide users information about this custom action.
tagsarrayAny tags assigned to the custom action.
versionstringThe version identifier of the custom action.
idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTCategory, InputArtifactDetails, OutputArtifactDetails, Provider, Version, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all custom_action_types in a region.

SELECT
region,
category,
configuration_properties,
input_artifact_details,
output_artifact_details,
provider,
settings,
tags,
version,
id
FROM aws.codepipeline.custom_action_types
WHERE region = 'us-east-1';

Gets all properties from an individual custom_action_type.

SELECT
region,
category,
configuration_properties,
input_artifact_details,
output_artifact_details,
provider,
settings,
tags,
version,
id
FROM aws.codepipeline.custom_action_types
WHERE region = 'us-east-1' AND data__Identifier = '<Category>|<Provider>|<Version>';

INSERT example

Use the following StackQL query and manifest file to create a new custom_action_type resource, using stack-deploy.

/*+ create */
INSERT INTO aws.codepipeline.custom_action_types (
Category,
InputArtifactDetails,
OutputArtifactDetails,
Provider,
Version,
region
)
SELECT
'{{ Category }}',
'{{ InputArtifactDetails }}',
'{{ OutputArtifactDetails }}',
'{{ Provider }}',
'{{ Version }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.codepipeline.custom_action_types
WHERE data__Identifier = '<Category|Provider|Version>'
AND region = 'us-east-1';

Permissions

To operate on the custom_action_types resource, the following permissions are required:

Create

codepipeline:CreateCustomActionType,
codepipeline:TagResource,
codepipeline:ListActionTypes

Read

codepipeline:ListActionTypes,
codepipeline:ListTagsForResource

Update

codepipeline:ListActionTypes,
codepipeline:TagResource,
codepipeline:UntagResource

Delete

codepipeline:DeleteCustomActionType,
codepipeline:ListActionTypes

List

codepipeline:ListActionTypes