aws-cdk-lib.aws_codepipeline.CfnCustomActionType.ConfigurationPropertiesProperty

interface ConfigurationPropertiesProperty

LanguageType name
.NETAmazon.CDK.AWS.CodePipeline.CfnCustomActionType.ConfigurationPropertiesProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#CfnCustomActionType_ConfigurationPropertiesProperty
Javasoftware.amazon.awscdk.services.codepipeline.CfnCustomActionType.ConfigurationPropertiesProperty
Pythonaws_cdk.aws_codepipeline.CfnCustomActionType.ConfigurationPropertiesProperty
TypeScript aws-cdk-lib » aws_codepipeline » CfnCustomActionType » 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 .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as codepipeline } from 'aws-cdk-lib';
const configurationPropertiesProperty: codepipeline.CfnCustomActionType.ConfigurationPropertiesProperty = {
  key: false,
  name: 'name',
  required: false,
  secret: false,

  // the properties below are optional
  description: 'description',
  queryable: false,
  type: 'type',
};

Properties

NameTypeDescription
keyboolean | IResolvableWhether the configuration property is a key.
namestringThe name of the action configuration property.
requiredboolean | IResolvableWhether the configuration property is a required value.
secretboolean | IResolvableWhether the configuration property is secret.
description?stringThe description of the action configuration property that is displayed to users.
queryable?boolean | IResolvableIndicates that the property is used with PollForJobs .
type?stringThe type of the configuration property.

key

Type: boolean | IResolvable

Whether the configuration property is a key.


name

Type: string

The name of the action configuration property.


required

Type: boolean | IResolvable

Whether the configuration property is a required value.


secret

Type: boolean | IResolvable

Whether the configuration property is secret.

Secrets are hidden from all calls except for GetJobDetails , GetThirdPartyJobDetails , PollForJobs , and PollForThirdPartyJobs .

When updating a pipeline, passing * * * * * without changing any other values of the action preserves the previous value of the secret.


description?

Type: string (optional)

The description of the action configuration property that is displayed to users.


queryable?

Type: boolean | IResolvable (optional)

Indicates that the property is used with PollForJobs .

When creating a custom action, an action can have up to one queryable property. If it has one, that property must be both required and not secret.

If you create a pipeline with a custom action type, and that custom action contains a queryable property, the value for that configuration property is subject to other restrictions. The value must be less than or equal to twenty (20) characters. The value can contain only alphanumeric characters, underscores, and hyphens.


type?

Type: string (optional)

The type of the configuration property.