AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CodePipeline::CustomActionType

CfnCustomActionType

The `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. For more information, see [Create and Add a Custom Action in AWS CodePipeline](https://docs.aws.amazon.com/codepipeline/latest/userguide/how-to-create-custom-action.html) in the *AWS CodePipeline User Guide* .

Import

import { CfnCustomActionType } from 'aws-cdk-lib/aws-codepipeline';

Or use the module namespace:

import * as codepipeline from 'aws-cdk-lib/aws-codepipeline';
// codepipeline.CfnCustomActionType

Properties

Configuration passed to the constructor as CfnCustomActionTypeProps.

categoryRequired
string

The category of the custom action, such as a build action or a test action.

inputArtifactDetailsRequired
IResolvable | ArtifactDetailsProperty

The details of the input artifact for the action, such as its commit ID.

outputArtifactDetailsRequired
IResolvable | ArtifactDetailsProperty

The details of the output artifact of the action, such as its commit ID.

providerRequired
string

The provider of the service used in the custom action, such as CodeDeploy.

versionRequired
string

The version identifier of the custom action.

configurationPropertiesOptional
IResolvable | IResolvable | ConfigurationPropertiesProperty[]

The configuration properties for the custom action. > 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](https://docs.aws.amazon.com/codepipeline/latest/userguide/how-to-create-custom-action.html) .

settingsOptional
IResolvable | SettingsProperty

URLs that provide users information about this custom action.

tagsOptional
CfnTag[]

The tags for the custom action.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter