CustomActionProperty

class aws_cdk.aws_codepipeline.CustomActionProperty(*, name, required, description=None, key=None, queryable=None, secret=None, type=None)

Bases: object

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

Parameters:
  • name (str) – The name of the property. You use this name in the configuration attribute when defining your custom Action class.

  • required (bool) – Whether this property is required.

  • description (Optional[str]) – The description of the property. Default: the description will be empty

  • key (Optional[bool]) – Whether this property is a key. Default: false

  • queryable (Optional[bool]) – Whether this property is queryable. Note that only a single property of a custom Action can be queryable. Default: false

  • secret (Optional[bool]) – Whether this property is secret, like a password, or access key. Default: false

  • type (Optional[str]) – The type of the property, like ‘String’, ‘Number’, or ‘Boolean’. Default: ‘String’

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.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"
)

Attributes

description

The description of the property.

Default:

the description will be empty

key

Whether this property is a key.

Default:

false

See:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-key

name

The name of the property.

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

queryable

Whether this property is queryable.

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

Default:

false

See:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-queryable

required

Whether this property is required.

secret

Whether this property is secret, like a password, or access key.

Default:

false

type

The type of the property, like ‘String’, ‘Number’, or ‘Boolean’.

Default:

‘String’