Skip to content
v2.278.0

ConfigurationPropertiesProperty Struct ​

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 ​

ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codepipeline as codepipeline

configuration_properties_property = codepipeline.CfnCustomActionType.ConfigurationPropertiesProperty(
    key=False,
    name="name",
    required=False,
    secret=False,

    # the properties below are optional
    description="description",
    queryable=False,
    type="type"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.*;

ConfigurationPropertiesProperty configurationPropertiesProperty = ConfigurationPropertiesProperty.builder()
        .key(false)
        .name("name")
        .required(false)
        .secret(false)

        // the properties below are optional
        .description("description")
        .queryable(false)
        .type("type")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline;

var configurationPropertiesProperty = new ConfigurationPropertiesProperty {
    Key = false,
    Name = "name",
    Required = false,
    Secret = false,

    // the properties below are optional
    Description = "description",
    Queryable = false,
    Type = "type"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

configurationPropertiesProperty := &ConfigurationPropertiesProperty{
	Key: jsii.Boolean(false),
	Name: jsii.String("name"),
	Required: jsii.Boolean(false),
	Secret: jsii.Boolean(false),

	// the properties below are optional
	Description: jsii.String("description"),
	Queryable: jsii.Boolean(false),
	Type: jsii.String("type"),
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the action configuration property that is displayed to users.
keyboolean | IResolvablekeytyping.Union[bool, IResolvable]keyBooleanKeyboolKeyinterface{} required #
Whether the configuration property is a key.
namestringnamestrnameStringNamestringName*string required #
The name of the action configuration property.
queryableoptionalboolean | IResolvablequeryableoptionaltyping.Union[bool, IResolvable]queryableoptionalBooleanQueryableoptionalboolQueryableoptionalinterface{} #
Indicates that the property is used with `PollForJobs` .
notes

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.

requiredboolean | IResolvablerequiredtyping.Union[bool, IResolvable]requiredBooleanRequiredboolRequiredinterface{} required #
Whether the configuration property is a required value.
secretboolean | IResolvablesecrettyping.Union[bool, IResolvable]secretBooleanSecretboolSecretinterface{} required #
Whether the configuration property is secret.
notes

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.

typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string #
The type of the configuration property.