# CustomActionProperty

The creation attributes used for defining a configuration property of a custom Action.

- Source: [`aws-codepipeline/lib/custom-action-registration.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-codepipeline/lib/custom-action-registration.ts#L9)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `description`: string — The description of the property.

  **Default:** the description will be empty

- `key`: boolean = false — Whether this property is a key.

- `name`: string (required) — The name of the property.

  You use this name in the `configuration` attribute when defining your custom Action class.

- `queryable`: boolean = false — Whether this property is queryable.

  Note that only a single property of a custom Action can be queryable.

- `required`: boolean (required) — Whether this property is required.

- `secret`: boolean = false — Whether this property is secret, like a password, or access key.

- `type`: string = 'String' — The type of the property, like 'String', 'Number', or 'Boolean'.
