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.
Idawscc.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.
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.

For more information, see AWS::CodePipeline::CustomActionType.

Methods

NameResourceAccessible byRequired Params
create_resourcecustom_action_typesINSERTCategory, InputArtifactDetails, OutputArtifactDetails, Provider, Version, region
delete_resourcecustom_action_typesDELETEIdentifier, region
update_resourcecustom_action_typesUPDATEIdentifier, PatchDocument, region
list_resourcescustom_action_types_list_onlySELECTregion
get_resourcecustom_action_typesSELECTIdentifier, region

SELECT examples

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 awscc.codepipeline.custom_action_types
WHERE
region = 'us-east-1' AND
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 awscc.codepipeline.custom_action_types (
Category,
InputArtifactDetails,
OutputArtifactDetails,
Provider,
Version,
region
)
SELECT
'{{ category }}',
'{{ input_artifact_details }}',
'{{ output_artifact_details }}',
'{{ provider }}',
'{{ version }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.codepipeline.custom_action_types
SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ category }}|{{ provider }}|{{ version }}';

DELETE example

/*+ delete */
DELETE FROM awscc.codepipeline.custom_action_types
WHERE
Identifier = '{{ category }}|{{ provider }}|{{ version }}' AND
region = 'us-east-1';

Permissions

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

codepipeline:CreateCustomActionType,
codepipeline:TagResource,
codepipeline:ListActionTypes