CustomActionProperty Struct
The creation attributes used for defining a configuration property of a custom Action.
| Source | aws-codepipeline/lib/custom-action-registration.ts |
|---|
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 customActionProperty: codepipeline.CustomActionProperty = {
name: 'name',
required: false,
// the properties below are optional
description: 'description',
key: false,
queryable: false,
secret: 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
custom_action_property = codepipeline.CustomActionProperty(
name="name",
required=False,
# the properties below are optional
description="description",
key=False,
queryable=False,
secret=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.*;
CustomActionProperty customActionProperty = CustomActionProperty.builder()
.name("name")
.required(false)
// the properties below are optional
.description("description")
.key(false)
.queryable(false)
.secret(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 customActionProperty = new CustomActionProperty {
Name = "name",
Required = false,
// the properties below are optional
Description = "description",
Key = false,
Queryable = false,
Secret = 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"
customActionProperty := &CustomActionProperty{
Name: jsii.String("name"),
Required: jsii.Boolean(false),
// the properties below are optional
Description: jsii.String("description"),
Key: jsii.Boolean(false),
Queryable: jsii.Boolean(false),
Secret: jsii.Boolean(false),
Type: jsii.String("type"),
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the property.
Default: the description will be empty
Whether this property is a key.
The name of the property.
You use this name in the configuration attribute when defining your custom Action class.
queryableoptionalbooleanqueryableoptionalboolqueryableoptionalBooleanQueryableoptionalboolQueryableoptional*bool = false #Whether this property is queryable.
Note that only a single property of a custom Action can be queryable.
Whether this property is required.
secretoptionalbooleansecretoptionalboolsecretoptionalBooleanSecretoptionalboolSecretoptional*bool = false #Whether this property is secret, like a password, or access key.
typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string = 'String' #The type of the property, like 'String', 'Number', or 'Boolean'.