CfnPipelinePropsMixin

class aws_cdk.mixins_preview.aws_codepipeline.mixins.CfnPipelinePropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::CodePipeline::Pipeline resource creates a CodePipeline pipeline that describes how software changes go through a release process.

For more information, see What Is CodePipeline? in the CodePipeline User Guide .

For an example in YAML and JSON that contains the parameters in this reference, see Examples .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html

CloudformationResource:

AWS::CodePipeline::Pipeline

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

# configuration: Any

cfn_pipeline_props_mixin = codepipeline_mixins.CfnPipelinePropsMixin(codepipeline_mixins.CfnPipelineMixinProps(
    artifact_store=codepipeline_mixins.CfnPipelinePropsMixin.ArtifactStoreProperty(
        encryption_key=codepipeline_mixins.CfnPipelinePropsMixin.EncryptionKeyProperty(
            id="id",
            type="type"
        ),
        location="location",
        type="type"
    ),
    artifact_stores=[codepipeline_mixins.CfnPipelinePropsMixin.ArtifactStoreMapProperty(
        artifact_store=codepipeline_mixins.CfnPipelinePropsMixin.ArtifactStoreProperty(
            encryption_key=codepipeline_mixins.CfnPipelinePropsMixin.EncryptionKeyProperty(
                id="id",
                type="type"
            ),
            location="location",
            type="type"
        ),
        region="region"
    )],
    disable_inbound_stage_transitions=[codepipeline_mixins.CfnPipelinePropsMixin.StageTransitionProperty(
        reason="reason",
        stage_name="stageName"
    )],
    execution_mode="executionMode",
    name="name",
    pipeline_type="pipelineType",
    restart_execution_on_update=False,
    role_arn="roleArn",
    stages=[codepipeline_mixins.CfnPipelinePropsMixin.StageDeclarationProperty(
        actions=[codepipeline_mixins.CfnPipelinePropsMixin.ActionDeclarationProperty(
            action_type_id=codepipeline_mixins.CfnPipelinePropsMixin.ActionTypeIdProperty(
                category="category",
                owner="owner",
                provider="provider",
                version="version"
            ),
            commands=["commands"],
            configuration=configuration,
            environment_variables=[codepipeline_mixins.CfnPipelinePropsMixin.EnvironmentVariableProperty(
                name="name",
                type="type",
                value="value"
            )],
            input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
                name="name"
            )],
            name="name",
            namespace="namespace",
            output_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.OutputArtifactProperty(
                files=["files"],
                name="name"
            )],
            output_variables=["outputVariables"],
            region="region",
            role_arn="roleArn",
            run_order=123,
            timeout_in_minutes=123
        )],
        before_entry=codepipeline_mixins.CfnPipelinePropsMixin.BeforeEntryConditionsProperty(
            conditions=[codepipeline_mixins.CfnPipelinePropsMixin.ConditionProperty(
                result="result",
                rules=[codepipeline_mixins.CfnPipelinePropsMixin.RuleDeclarationProperty(
                    commands=["commands"],
                    configuration=configuration,
                    input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
                        name="name"
                    )],
                    name="name",
                    region="region",
                    role_arn="roleArn",
                    rule_type_id=codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
                        category="category",
                        owner="owner",
                        provider="provider",
                        version="version"
                    )
                )]
            )]
        ),
        blockers=[codepipeline_mixins.CfnPipelinePropsMixin.BlockerDeclarationProperty(
            name="name",
            type="type"
        )],
        name="name",
        on_failure=codepipeline_mixins.CfnPipelinePropsMixin.FailureConditionsProperty(
            conditions=[codepipeline_mixins.CfnPipelinePropsMixin.ConditionProperty(
                result="result",
                rules=[codepipeline_mixins.CfnPipelinePropsMixin.RuleDeclarationProperty(
                    commands=["commands"],
                    configuration=configuration,
                    input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
                        name="name"
                    )],
                    name="name",
                    region="region",
                    role_arn="roleArn",
                    rule_type_id=codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
                        category="category",
                        owner="owner",
                        provider="provider",
                        version="version"
                    )
                )]
            )],
            result="result",
            retry_configuration=codepipeline_mixins.CfnPipelinePropsMixin.RetryConfigurationProperty(
                retry_mode="retryMode"
            )
        ),
        on_success=codepipeline_mixins.CfnPipelinePropsMixin.SuccessConditionsProperty(
            conditions=[codepipeline_mixins.CfnPipelinePropsMixin.ConditionProperty(
                result="result",
                rules=[codepipeline_mixins.CfnPipelinePropsMixin.RuleDeclarationProperty(
                    commands=["commands"],
                    configuration=configuration,
                    input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
                        name="name"
                    )],
                    name="name",
                    region="region",
                    role_arn="roleArn",
                    rule_type_id=codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
                        category="category",
                        owner="owner",
                        provider="provider",
                        version="version"
                    )
                )]
            )]
        )
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    triggers=[codepipeline_mixins.CfnPipelinePropsMixin.PipelineTriggerDeclarationProperty(
        git_configuration=codepipeline_mixins.CfnPipelinePropsMixin.GitConfigurationProperty(
            pull_request=[codepipeline_mixins.CfnPipelinePropsMixin.GitPullRequestFilterProperty(
                branches=codepipeline_mixins.CfnPipelinePropsMixin.GitBranchFilterCriteriaProperty(
                    excludes=["excludes"],
                    includes=["includes"]
                ),
                events=["events"],
                file_paths=codepipeline_mixins.CfnPipelinePropsMixin.GitFilePathFilterCriteriaProperty(
                    excludes=["excludes"],
                    includes=["includes"]
                )
            )],
            push=[codepipeline_mixins.CfnPipelinePropsMixin.GitPushFilterProperty(
                branches=codepipeline_mixins.CfnPipelinePropsMixin.GitBranchFilterCriteriaProperty(
                    excludes=["excludes"],
                    includes=["includes"]
                ),
                file_paths=codepipeline_mixins.CfnPipelinePropsMixin.GitFilePathFilterCriteriaProperty(
                    excludes=["excludes"],
                    includes=["includes"]
                ),
                tags=codepipeline_mixins.CfnPipelinePropsMixin.GitTagFilterCriteriaProperty(
                    excludes=["excludes"],
                    includes=["includes"]
                )
            )],
            source_action_name="sourceActionName"
        ),
        provider_type="providerType"
    )],
    variables=[codepipeline_mixins.CfnPipelinePropsMixin.VariableDeclarationProperty(
        default_value="defaultValue",
        description="description",
        name="name"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::CodePipeline::Pipeline.

Parameters:
  • props (Union[CfnPipelineMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['artifactStore', 'artifactStores', 'disableInboundStageTransitions', 'executionMode', 'name', 'pipelineType', 'restartExecutionOnUpdate', 'roleArn', 'stages', 'tags', 'triggers', 'variables']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

ActionDeclarationProperty

class CfnPipelinePropsMixin.ActionDeclarationProperty(*, action_type_id=None, commands=None, configuration=None, environment_variables=None, input_artifacts=None, name=None, namespace=None, output_artifacts=None, output_variables=None, region=None, role_arn=None, run_order=None, timeout_in_minutes=None)

Bases: object

Represents information about an action declaration.

Parameters:
  • action_type_id (Union[IResolvable, ActionTypeIdProperty, Dict[str, Any], None]) – Specifies the action type and the provider of the action.

  • commands (Optional[Sequence[str]]) – The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild. .. epigraph:: Using compute time for this action will incur separate charges in AWS CodeBuild .

  • configuration (Any) – The action’s configuration. These are key-value pairs that specify input values for an action. For more information, see Action Structure Requirements in CodePipeline . For the list of configuration properties for the AWS CloudFormation action type in CodePipeline, see Configuration Properties Reference in the AWS CloudFormation User Guide . For template snippets with examples, see Using Parameter Override Functions with CodePipeline Pipelines in the AWS CloudFormation User Guide . The values can be represented in either JSON or YAML format. For example, the JSON configuration item format is as follows: JSON: "Configuration" : { Key : Value },

  • environment_variables (Union[IResolvable, Sequence[Union[IResolvable, EnvironmentVariableProperty, Dict[str, Any]]], None]) – The environment variables for the action.

  • input_artifacts (Union[IResolvable, Sequence[Union[IResolvable, InputArtifactProperty, Dict[str, Any]]], None]) – The name or ID of the artifact consumed by the action, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of input artifacts. To refer to the action configuration specification by action provider, see the Action structure reference in the AWS CodePipeline User Guide . .. epigraph:: For a CodeBuild action with multiple input artifacts, one of your input sources must be designated the PrimarySource. For more information, see the CodeBuild action reference page in the AWS CodePipeline User Guide .

  • name (Optional[str]) – The action declaration’s name.

  • namespace (Optional[str]) – The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.

  • output_artifacts (Union[IResolvable, Sequence[Union[IResolvable, OutputArtifactProperty, Dict[str, Any]]], None]) –

    The name or ID of the result of the action declaration, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of output artifacts. To refer to the action configuration specification by action provider, see the Action structure reference in the AWS CodePipeline User Guide .

  • output_variables (Optional[Sequence[str]]) – The list of variables that are to be exported from the compute action. This is specifically CodeBuild environment variables as used for that action.

  • region (Optional[str]) – The action declaration’s AWS Region, such as us-east-1.

  • role_arn (Optional[str]) – The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.

  • run_order (Union[int, float, None]) – The order in which actions are run.

  • timeout_in_minutes (Union[int, float, None]) – A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for AWS CodePipeline . This attribute is available only to the manual approval ActionType.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

# configuration: Any

action_declaration_property = codepipeline_mixins.CfnPipelinePropsMixin.ActionDeclarationProperty(
    action_type_id=codepipeline_mixins.CfnPipelinePropsMixin.ActionTypeIdProperty(
        category="category",
        owner="owner",
        provider="provider",
        version="version"
    ),
    commands=["commands"],
    configuration=configuration,
    environment_variables=[codepipeline_mixins.CfnPipelinePropsMixin.EnvironmentVariableProperty(
        name="name",
        type="type",
        value="value"
    )],
    input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
        name="name"
    )],
    name="name",
    namespace="namespace",
    output_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.OutputArtifactProperty(
        files=["files"],
        name="name"
    )],
    output_variables=["outputVariables"],
    region="region",
    role_arn="roleArn",
    run_order=123,
    timeout_in_minutes=123
)

Attributes

action_type_id

Specifies the action type and the provider of the action.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-actiontypeid

commands

The shell commands to run with your compute action in CodePipeline.

All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild. .. epigraph:

Using compute time for this action will incur separate charges in AWS CodeBuild .
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-commands

configuration

The action’s configuration.

These are key-value pairs that specify input values for an action. For more information, see Action Structure Requirements in CodePipeline . For the list of configuration properties for the AWS CloudFormation action type in CodePipeline, see Configuration Properties Reference in the AWS CloudFormation User Guide . For template snippets with examples, see Using Parameter Override Functions with CodePipeline Pipelines in the AWS CloudFormation User Guide .

The values can be represented in either JSON or YAML format. For example, the JSON configuration item format is as follows:

JSON:

"Configuration" : { Key : Value },

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-configuration

environment_variables

The environment variables for the action.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-environmentvariables

input_artifacts

The name or ID of the artifact consumed by the action, such as a test or build artifact.

While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of input artifacts. To refer to the action configuration specification by action provider, see the Action structure reference in the AWS CodePipeline User Guide . .. epigraph:

For a CodeBuild action with multiple input artifacts, one of your input sources must be designated the PrimarySource. For more information, see the `CodeBuild action reference page <https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodeBuild.html>`_ in the *AWS CodePipeline User Guide* .
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-inputartifacts

name

The action declaration’s name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-name

namespace

The variable namespace associated with the action.

All variables produced as output by this action fall under this namespace.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-namespace

output_artifacts

The name or ID of the result of the action declaration, such as a test or build artifact.

While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of output artifacts. To refer to the action configuration specification by action provider, see the Action structure reference in the AWS CodePipeline User Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-outputartifacts

output_variables

The list of variables that are to be exported from the compute action.

This is specifically CodeBuild environment variables as used for that action.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-outputvariables

region

The action declaration’s AWS Region, such as us-east-1.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-region

role_arn

The ARN of the IAM service role that performs the declared action.

This is assumed through the roleArn for the pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-rolearn

run_order

The order in which actions are run.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-runorder

timeout_in_minutes

A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for AWS CodePipeline . This attribute is available only to the manual approval ActionType.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-timeoutinminutes

ActionTypeIdProperty

class CfnPipelinePropsMixin.ActionTypeIdProperty(*, category=None, owner=None, provider=None, version=None)

Bases: object

Represents information about an action type.

Parameters:
  • category (Optional[str]) – A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the values below. - Source - Build - Test - Deploy - Invoke - Approval - Compute

  • owner (Optional[str]) – The creator of the action being called. There are three valid values for the Owner field in the action category section within your pipeline structure: AWS , ThirdParty , and Custom . For more information, see Valid Action Types and Providers in CodePipeline .

  • provider (Optional[str]) –

    The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of CodeDeploy, which would be specified as CodeDeploy . For more information, see Valid Action Types and Providers in CodePipeline .

  • version (Optional[str]) – A string that describes the action version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiontypeid.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

action_type_id_property = codepipeline_mixins.CfnPipelinePropsMixin.ActionTypeIdProperty(
    category="category",
    owner="owner",
    provider="provider",
    version="version"
)

Attributes

category

A category defines what kind of action can be taken in the stage, and constrains the provider type for the action.

Valid categories are limited to one of the values below.

  • Source

  • Build

  • Test

  • Deploy

  • Invoke

  • Approval

  • Compute

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiontypeid.html#cfn-codepipeline-pipeline-actiontypeid-category

owner

The creator of the action being called.

There are three valid values for the Owner field in the action category section within your pipeline structure: AWS , ThirdParty , and Custom . For more information, see Valid Action Types and Providers in CodePipeline .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiontypeid.html#cfn-codepipeline-pipeline-actiontypeid-owner

provider

The provider of the service being called by the action.

Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of CodeDeploy, which would be specified as CodeDeploy . For more information, see Valid Action Types and Providers in CodePipeline .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiontypeid.html#cfn-codepipeline-pipeline-actiontypeid-provider

version

A string that describes the action version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiontypeid.html#cfn-codepipeline-pipeline-actiontypeid-version

ArtifactStoreMapProperty

class CfnPipelinePropsMixin.ArtifactStoreMapProperty(*, artifact_store=None, region=None)

Bases: object

A mapping of artifactStore objects and their corresponding AWS Regions.

There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline. .. epigraph:

You must include either ``artifactStore`` or ``artifactStores`` in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use ``artifactStores`` .
Parameters:
  • artifact_store (Union[IResolvable, ArtifactStoreProperty, Dict[str, Any], None]) – Represents information about the S3 bucket where artifacts are stored for the pipeline. .. epigraph:: You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores .

  • region (Optional[str]) – The action declaration’s AWS Region, such as us-east-1.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstoremap.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

artifact_store_map_property = codepipeline_mixins.CfnPipelinePropsMixin.ArtifactStoreMapProperty(
    artifact_store=codepipeline_mixins.CfnPipelinePropsMixin.ArtifactStoreProperty(
        encryption_key=codepipeline_mixins.CfnPipelinePropsMixin.EncryptionKeyProperty(
            id="id",
            type="type"
        ),
        location="location",
        type="type"
    ),
    region="region"
)

Attributes

artifact_store

Represents information about the S3 bucket where artifacts are stored for the pipeline.

You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstoremap.html#cfn-codepipeline-pipeline-artifactstoremap-artifactstore

region

The action declaration’s AWS Region, such as us-east-1.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstoremap.html#cfn-codepipeline-pipeline-artifactstoremap-region

ArtifactStoreProperty

class CfnPipelinePropsMixin.ArtifactStoreProperty(*, encryption_key=None, location=None, type=None)

Bases: object

The S3 bucket where artifacts for the pipeline are stored.

You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores .

Parameters:
  • encryption_key (Union[IResolvable, EncryptionKeyProperty, Dict[str, Any], None]) – The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service ( AWS KMS) key. If this is undefined, the default key for Amazon S3 is used. To see an example artifact store encryption key field, see the example structure here: AWS::CodePipeline::Pipeline .

  • location (Optional[str]) – The S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder in the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any S3 bucket in the same AWS Region as the pipeline to store your pipeline artifacts.

  • type (Optional[str]) – The type of the artifact store, such as S3.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

artifact_store_property = codepipeline_mixins.CfnPipelinePropsMixin.ArtifactStoreProperty(
    encryption_key=codepipeline_mixins.CfnPipelinePropsMixin.EncryptionKeyProperty(
        id="id",
        type="type"
    ),
    location="location",
    type="type"
)

Attributes

encryption_key

The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service ( AWS KMS) key.

If this is undefined, the default key for Amazon S3 is used. To see an example artifact store encryption key field, see the example structure here: AWS::CodePipeline::Pipeline .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore.html#cfn-codepipeline-pipeline-artifactstore-encryptionkey

location

The S3 bucket used for storing the artifacts for a pipeline.

You can specify the name of an S3 bucket but not a folder in the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any S3 bucket in the same AWS Region as the pipeline to store your pipeline artifacts.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore.html#cfn-codepipeline-pipeline-artifactstore-location

type

The type of the artifact store, such as S3.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore.html#cfn-codepipeline-pipeline-artifactstore-type

BeforeEntryConditionsProperty

class CfnPipelinePropsMixin.BeforeEntryConditionsProperty(*, conditions=None)

Bases: object

The conditions for making checks for entry to a stage.

For more information about conditions, see Stage conditions and How do stage conditions work? .

Parameters:

conditions (Union[IResolvable, Sequence[Union[IResolvable, ConditionProperty, Dict[str, Any]]], None]) – The conditions that are configured as entry conditions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-beforeentryconditions.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

# configuration: Any

before_entry_conditions_property = codepipeline_mixins.CfnPipelinePropsMixin.BeforeEntryConditionsProperty(
    conditions=[codepipeline_mixins.CfnPipelinePropsMixin.ConditionProperty(
        result="result",
        rules=[codepipeline_mixins.CfnPipelinePropsMixin.RuleDeclarationProperty(
            commands=["commands"],
            configuration=configuration,
            input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
                name="name"
            )],
            name="name",
            region="region",
            role_arn="roleArn",
            rule_type_id=codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
                category="category",
                owner="owner",
                provider="provider",
                version="version"
            )
        )]
    )]
)

Attributes

conditions

The conditions that are configured as entry conditions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-beforeentryconditions.html#cfn-codepipeline-pipeline-beforeentryconditions-conditions

BlockerDeclarationProperty

class CfnPipelinePropsMixin.BlockerDeclarationProperty(*, name=None, type=None)

Bases: object

Reserved for future use.

Parameters:
  • name (Optional[str]) – Reserved for future use.

  • type (Optional[str]) – Reserved for future use.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-blockerdeclaration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

blocker_declaration_property = codepipeline_mixins.CfnPipelinePropsMixin.BlockerDeclarationProperty(
    name="name",
    type="type"
)

Attributes

name

Reserved for future use.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-blockerdeclaration.html#cfn-codepipeline-pipeline-blockerdeclaration-name

type

Reserved for future use.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-blockerdeclaration.html#cfn-codepipeline-pipeline-blockerdeclaration-type

ConditionProperty

class CfnPipelinePropsMixin.ConditionProperty(*, result=None, rules=None)

Bases: object

The condition for the stage.

A condition is made up of the rules and the result for the condition. For more information about conditions, see Stage conditions and How do stage conditions work? .. For more information about rules, see the AWS CodePipeline rule reference .

Parameters:
  • result (Optional[str]) – The action to be done when the condition is met. For example, rolling back an execution for a failure condition.

  • rules (Union[IResolvable, Sequence[Union[IResolvable, RuleDeclarationProperty, Dict[str, Any]]], None]) – The rules that make up the condition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-condition.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

# configuration: Any

condition_property = codepipeline_mixins.CfnPipelinePropsMixin.ConditionProperty(
    result="result",
    rules=[codepipeline_mixins.CfnPipelinePropsMixin.RuleDeclarationProperty(
        commands=["commands"],
        configuration=configuration,
        input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
            name="name"
        )],
        name="name",
        region="region",
        role_arn="roleArn",
        rule_type_id=codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
            category="category",
            owner="owner",
            provider="provider",
            version="version"
        )
    )]
)

Attributes

result

The action to be done when the condition is met.

For example, rolling back an execution for a failure condition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-condition.html#cfn-codepipeline-pipeline-condition-result

rules

The rules that make up the condition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-condition.html#cfn-codepipeline-pipeline-condition-rules

EncryptionKeyProperty

class CfnPipelinePropsMixin.EncryptionKeyProperty(*, id=None, type=None)

Bases: object

Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service ( AWS KMS) key.

EncryptionKey is a property of the ArtifactStore property type.

Parameters:
  • id (Optional[str]) – The ID used to identify the key. For an AWS KMS key, you can use the key ID, the key ARN, or the alias ARN. .. epigraph:: Aliases are recognized only in the account that created the AWS key. For cross-account actions, you can only use the key ID or key ARN to identify the key. Cross-account actions involve using the role from the other account (AccountB), so specifying the key ID will use the key from the other account (AccountB).

  • type (Optional[str]) – The type of encryption key, such as an AWS KMS key. When creating or updating a pipeline, the value must be set to ‘KMS’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-encryptionkey.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

encryption_key_property = codepipeline_mixins.CfnPipelinePropsMixin.EncryptionKeyProperty(
    id="id",
    type="type"
)

Attributes

id

The ID used to identify the key.

For an AWS KMS key, you can use the key ID, the key ARN, or the alias ARN. .. epigraph:

Aliases are recognized only in the account that created the AWS  key. For cross-account actions, you can only use the key ID or key ARN to identify the key. Cross-account actions involve using the role from the other account (AccountB), so specifying the key ID will use the key from the other account (AccountB).
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-encryptionkey.html#cfn-codepipeline-pipeline-encryptionkey-id

type

The type of encryption key, such as an AWS KMS key.

When creating or updating a pipeline, the value must be set to ‘KMS’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-encryptionkey.html#cfn-codepipeline-pipeline-encryptionkey-type

EnvironmentVariableProperty

class CfnPipelinePropsMixin.EnvironmentVariableProperty(*, name=None, type=None, value=None)

Bases: object

The environment variables for the action.

Parameters:
  • name (Optional[str]) – The environment variable name in the key-value pair.

  • type (Optional[str]) – Specifies the type of use for the environment variable value. The value can be either PLAINTEXT or SECRETS_MANAGER . If the value is SECRETS_MANAGER , provide the Secrets reference in the EnvironmentVariable value.

  • value (Optional[str]) – The environment variable value in the key-value pair.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

environment_variable_property = codepipeline_mixins.CfnPipelinePropsMixin.EnvironmentVariableProperty(
    name="name",
    type="type",
    value="value"
)

Attributes

name

The environment variable name in the key-value pair.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html#cfn-codepipeline-pipeline-environmentvariable-name

type

Specifies the type of use for the environment variable value.

The value can be either PLAINTEXT or SECRETS_MANAGER . If the value is SECRETS_MANAGER , provide the Secrets reference in the EnvironmentVariable value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html#cfn-codepipeline-pipeline-environmentvariable-type

value

The environment variable value in the key-value pair.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html#cfn-codepipeline-pipeline-environmentvariable-value

FailureConditionsProperty

class CfnPipelinePropsMixin.FailureConditionsProperty(*, conditions=None, result=None, retry_configuration=None)

Bases: object

The configuration that specifies the result, such as rollback, to occur upon stage failure.

For more information about conditions, see Stage conditions and How do stage conditions work? .

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

# configuration: Any

failure_conditions_property = codepipeline_mixins.CfnPipelinePropsMixin.FailureConditionsProperty(
    conditions=[codepipeline_mixins.CfnPipelinePropsMixin.ConditionProperty(
        result="result",
        rules=[codepipeline_mixins.CfnPipelinePropsMixin.RuleDeclarationProperty(
            commands=["commands"],
            configuration=configuration,
            input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
                name="name"
            )],
            name="name",
            region="region",
            role_arn="roleArn",
            rule_type_id=codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
                category="category",
                owner="owner",
                provider="provider",
                version="version"
            )
        )]
    )],
    result="result",
    retry_configuration=codepipeline_mixins.CfnPipelinePropsMixin.RetryConfigurationProperty(
        retry_mode="retryMode"
    )
)

Attributes

conditions

The conditions that are configured as failure conditions.

For more information about conditions, see Stage conditions and How do stage conditions work? .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html#cfn-codepipeline-pipeline-failureconditions-conditions

result

The specified result for when the failure conditions are met, such as rolling back the stage.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html#cfn-codepipeline-pipeline-failureconditions-result

retry_configuration

The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html#cfn-codepipeline-pipeline-failureconditions-retryconfiguration

GitBranchFilterCriteriaProperty

class CfnPipelinePropsMixin.GitBranchFilterCriteriaProperty(*, excludes=None, includes=None)

Bases: object

The Git repository branches specified as filter criteria to start the pipeline.

Parameters:
  • excludes (Optional[Sequence[str]]) – The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.

  • includes (Optional[Sequence[str]]) – The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitbranchfiltercriteria.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

git_branch_filter_criteria_property = codepipeline_mixins.CfnPipelinePropsMixin.GitBranchFilterCriteriaProperty(
    excludes=["excludes"],
    includes=["includes"]
)

Attributes

excludes

The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitbranchfiltercriteria.html#cfn-codepipeline-pipeline-gitbranchfiltercriteria-excludes

includes

The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitbranchfiltercriteria.html#cfn-codepipeline-pipeline-gitbranchfiltercriteria-includes

GitConfigurationProperty

class CfnPipelinePropsMixin.GitConfigurationProperty(*, pull_request=None, push=None, source_action_name=None)

Bases: object

A type of trigger configuration for Git-based source actions.

You can specify the Git configuration trigger type for all third-party Git-based source actions that are supported by the CodeStarSourceConnection action type.

Parameters:
  • pull_request (Union[IResolvable, Sequence[Union[IResolvable, GitPullRequestFilterProperty, Dict[str, Any]]], None]) – The field where the repository event that will start the pipeline is specified as pull requests.

  • push (Union[IResolvable, Sequence[Union[IResolvable, GitPushFilterProperty, Dict[str, Any]]], None]) – The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

  • source_action_name (Optional[str]) – The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only. .. epigraph:: You can only specify one trigger configuration per source action.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

git_configuration_property = codepipeline_mixins.CfnPipelinePropsMixin.GitConfigurationProperty(
    pull_request=[codepipeline_mixins.CfnPipelinePropsMixin.GitPullRequestFilterProperty(
        branches=codepipeline_mixins.CfnPipelinePropsMixin.GitBranchFilterCriteriaProperty(
            excludes=["excludes"],
            includes=["includes"]
        ),
        events=["events"],
        file_paths=codepipeline_mixins.CfnPipelinePropsMixin.GitFilePathFilterCriteriaProperty(
            excludes=["excludes"],
            includes=["includes"]
        )
    )],
    push=[codepipeline_mixins.CfnPipelinePropsMixin.GitPushFilterProperty(
        branches=codepipeline_mixins.CfnPipelinePropsMixin.GitBranchFilterCriteriaProperty(
            excludes=["excludes"],
            includes=["includes"]
        ),
        file_paths=codepipeline_mixins.CfnPipelinePropsMixin.GitFilePathFilterCriteriaProperty(
            excludes=["excludes"],
            includes=["includes"]
        ),
        tags=codepipeline_mixins.CfnPipelinePropsMixin.GitTagFilterCriteriaProperty(
            excludes=["excludes"],
            includes=["includes"]
        )
    )],
    source_action_name="sourceActionName"
)

Attributes

pull_request

The field where the repository event that will start the pipeline is specified as pull requests.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitconfiguration.html#cfn-codepipeline-pipeline-gitconfiguration-pullrequest

push

The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitconfiguration.html#cfn-codepipeline-pipeline-gitconfiguration-push

source_action_name

The name of the pipeline source action where the trigger configuration, such as Git tags, is specified.

The trigger configuration will start the pipeline upon the specified change only. .. epigraph:

You can only specify one trigger configuration per source action.
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitconfiguration.html#cfn-codepipeline-pipeline-gitconfiguration-sourceactionname

GitFilePathFilterCriteriaProperty

class CfnPipelinePropsMixin.GitFilePathFilterCriteriaProperty(*, excludes=None, includes=None)

Bases: object

The Git repository file paths specified as filter criteria to start the pipeline.

Parameters:
  • excludes (Optional[Sequence[str]]) – The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline.

  • includes (Optional[Sequence[str]]) – The list of patterns of Git repository file paths that, when a commit is pushed, are to be included as criteria that starts the pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitfilepathfiltercriteria.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

git_file_path_filter_criteria_property = codepipeline_mixins.CfnPipelinePropsMixin.GitFilePathFilterCriteriaProperty(
    excludes=["excludes"],
    includes=["includes"]
)

Attributes

excludes

The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitfilepathfiltercriteria.html#cfn-codepipeline-pipeline-gitfilepathfiltercriteria-excludes

includes

The list of patterns of Git repository file paths that, when a commit is pushed, are to be included as criteria that starts the pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitfilepathfiltercriteria.html#cfn-codepipeline-pipeline-gitfilepathfiltercriteria-includes

GitPullRequestFilterProperty

class CfnPipelinePropsMixin.GitPullRequestFilterProperty(*, branches=None, events=None, file_paths=None)

Bases: object

The event criteria for the pull request trigger configuration, such as the lists of branches or file paths to include and exclude.

The following are valid values for the events for this filter:

  • CLOSED

  • OPEN

  • UPDATED

Parameters:
  • branches (Union[IResolvable, GitBranchFilterCriteriaProperty, Dict[str, Any], None]) – The field that specifies to filter on branches for the pull request trigger configuration.

  • events (Optional[Sequence[str]]) – The field that specifies which pull request events to filter on (OPEN, UPDATED, CLOSED) for the trigger configuration.

  • file_paths (Union[IResolvable, GitFilePathFilterCriteriaProperty, Dict[str, Any], None]) – The field that specifies to filter on file paths for the pull request trigger configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpullrequestfilter.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

git_pull_request_filter_property = codepipeline_mixins.CfnPipelinePropsMixin.GitPullRequestFilterProperty(
    branches=codepipeline_mixins.CfnPipelinePropsMixin.GitBranchFilterCriteriaProperty(
        excludes=["excludes"],
        includes=["includes"]
    ),
    events=["events"],
    file_paths=codepipeline_mixins.CfnPipelinePropsMixin.GitFilePathFilterCriteriaProperty(
        excludes=["excludes"],
        includes=["includes"]
    )
)

Attributes

branches

The field that specifies to filter on branches for the pull request trigger configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpullrequestfilter.html#cfn-codepipeline-pipeline-gitpullrequestfilter-branches

events

The field that specifies which pull request events to filter on (OPEN, UPDATED, CLOSED) for the trigger configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpullrequestfilter.html#cfn-codepipeline-pipeline-gitpullrequestfilter-events

file_paths

The field that specifies to filter on file paths for the pull request trigger configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpullrequestfilter.html#cfn-codepipeline-pipeline-gitpullrequestfilter-filepaths

GitPushFilterProperty

class CfnPipelinePropsMixin.GitPushFilterProperty(*, branches=None, file_paths=None, tags=None)

Bases: object

The event criteria that specify when a specified repository event will start the pipeline for the specified trigger configuration, such as the lists of Git tags to include and exclude.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpushfilter.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

git_push_filter_property = codepipeline_mixins.CfnPipelinePropsMixin.GitPushFilterProperty(
    branches=codepipeline_mixins.CfnPipelinePropsMixin.GitBranchFilterCriteriaProperty(
        excludes=["excludes"],
        includes=["includes"]
    ),
    file_paths=codepipeline_mixins.CfnPipelinePropsMixin.GitFilePathFilterCriteriaProperty(
        excludes=["excludes"],
        includes=["includes"]
    ),
    tags=codepipeline_mixins.CfnPipelinePropsMixin.GitTagFilterCriteriaProperty(
        excludes=["excludes"],
        includes=["includes"]
    )
)

Attributes

branches

The field that specifies to filter on branches for the push trigger configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpushfilter.html#cfn-codepipeline-pipeline-gitpushfilter-branches

file_paths

The field that specifies to filter on file paths for the push trigger configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpushfilter.html#cfn-codepipeline-pipeline-gitpushfilter-filepaths

tags

The field that contains the details for the Git tags trigger configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpushfilter.html#cfn-codepipeline-pipeline-gitpushfilter-tags

GitTagFilterCriteriaProperty

class CfnPipelinePropsMixin.GitTagFilterCriteriaProperty(*, excludes=None, includes=None)

Bases: object

The Git tags specified as filter criteria for whether a Git tag repository event will start the pipeline.

Parameters:
  • excludes (Optional[Sequence[str]]) – The list of patterns of Git tags that, when pushed, are to be excluded from starting the pipeline.

  • includes (Optional[Sequence[str]]) – The list of patterns of Git tags that, when pushed, are to be included as criteria that starts the pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gittagfiltercriteria.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

git_tag_filter_criteria_property = codepipeline_mixins.CfnPipelinePropsMixin.GitTagFilterCriteriaProperty(
    excludes=["excludes"],
    includes=["includes"]
)

Attributes

excludes

The list of patterns of Git tags that, when pushed, are to be excluded from starting the pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gittagfiltercriteria.html#cfn-codepipeline-pipeline-gittagfiltercriteria-excludes

includes

The list of patterns of Git tags that, when pushed, are to be included as criteria that starts the pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gittagfiltercriteria.html#cfn-codepipeline-pipeline-gittagfiltercriteria-includes

InputArtifactProperty

class CfnPipelinePropsMixin.InputArtifactProperty(*, name=None)

Bases: object

Represents information about an artifact to be worked on, such as a test or build artifact.

Parameters:

name (Optional[str]) – The name of the artifact to be worked on (for example, “My App”). Artifacts are the files that are worked on by actions in the pipeline. See the action configuration for each action for details about artifact parameters. For example, the S3 source action input artifact is a file name (or file path), and the files are generally provided as a ZIP file. Example artifact name: SampleApp_Windows.zip The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-inputartifact.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

input_artifact_property = codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
    name="name"
)

Attributes

name

The name of the artifact to be worked on (for example, “My App”).

Artifacts are the files that are worked on by actions in the pipeline. See the action configuration for each action for details about artifact parameters. For example, the S3 source action input artifact is a file name (or file path), and the files are generally provided as a ZIP file. Example artifact name: SampleApp_Windows.zip

The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-inputartifact.html#cfn-codepipeline-pipeline-inputartifact-name

OutputArtifactProperty

class CfnPipelinePropsMixin.OutputArtifactProperty(*, files=None, name=None)

Bases: object

Represents information about the output of an action.

Parameters:
  • files (Optional[Sequence[str]]) – The files that you want to associate with the output artifact that will be exported from the compute action.

  • name (Optional[str]) – The name of the output of an artifact, such as “My App”. The output artifact name must exactly match the input artifact declared for a downstream action. However, the downstream action’s input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions. Output artifact names must be unique within a pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-outputartifact.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

output_artifact_property = codepipeline_mixins.CfnPipelinePropsMixin.OutputArtifactProperty(
    files=["files"],
    name="name"
)

Attributes

files

The files that you want to associate with the output artifact that will be exported from the compute action.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-outputartifact.html#cfn-codepipeline-pipeline-outputartifact-files

name

The name of the output of an artifact, such as “My App”.

The output artifact name must exactly match the input artifact declared for a downstream action. However, the downstream action’s input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

Output artifact names must be unique within a pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-outputartifact.html#cfn-codepipeline-pipeline-outputartifact-name

PipelineTriggerDeclarationProperty

class CfnPipelinePropsMixin.PipelineTriggerDeclarationProperty(*, git_configuration=None, provider_type=None)

Bases: object

Represents information about the specified trigger configuration, such as the filter criteria and the source stage for the action that contains the trigger.

This is only supported for the CodeStarSourceConnection action type. > When a trigger configuration is specified, default change detection for repository and branch commits is disabled.

Parameters:
  • git_configuration (Union[IResolvable, GitConfigurationProperty, Dict[str, Any], None]) – Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.

  • provider_type (Optional[str]) – The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-pipelinetriggerdeclaration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

pipeline_trigger_declaration_property = codepipeline_mixins.CfnPipelinePropsMixin.PipelineTriggerDeclarationProperty(
    git_configuration=codepipeline_mixins.CfnPipelinePropsMixin.GitConfigurationProperty(
        pull_request=[codepipeline_mixins.CfnPipelinePropsMixin.GitPullRequestFilterProperty(
            branches=codepipeline_mixins.CfnPipelinePropsMixin.GitBranchFilterCriteriaProperty(
                excludes=["excludes"],
                includes=["includes"]
            ),
            events=["events"],
            file_paths=codepipeline_mixins.CfnPipelinePropsMixin.GitFilePathFilterCriteriaProperty(
                excludes=["excludes"],
                includes=["includes"]
            )
        )],
        push=[codepipeline_mixins.CfnPipelinePropsMixin.GitPushFilterProperty(
            branches=codepipeline_mixins.CfnPipelinePropsMixin.GitBranchFilterCriteriaProperty(
                excludes=["excludes"],
                includes=["includes"]
            ),
            file_paths=codepipeline_mixins.CfnPipelinePropsMixin.GitFilePathFilterCriteriaProperty(
                excludes=["excludes"],
                includes=["includes"]
            ),
            tags=codepipeline_mixins.CfnPipelinePropsMixin.GitTagFilterCriteriaProperty(
                excludes=["excludes"],
                includes=["includes"]
            )
        )],
        source_action_name="sourceActionName"
    ),
    provider_type="providerType"
)

Attributes

git_configuration

Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-pipelinetriggerdeclaration.html#cfn-codepipeline-pipeline-pipelinetriggerdeclaration-gitconfiguration

provider_type

The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-pipelinetriggerdeclaration.html#cfn-codepipeline-pipeline-pipelinetriggerdeclaration-providertype

RetryConfigurationProperty

class CfnPipelinePropsMixin.RetryConfigurationProperty(*, retry_mode=None)

Bases: object

The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.

Parameters:

retry_mode (Optional[str]) – The method that you want to configure for automatic stage retry on stage failure. You can specify to retry only failed action in the stage or all actions in the stage.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-retryconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

retry_configuration_property = codepipeline_mixins.CfnPipelinePropsMixin.RetryConfigurationProperty(
    retry_mode="retryMode"
)

Attributes

retry_mode

The method that you want to configure for automatic stage retry on stage failure.

You can specify to retry only failed action in the stage or all actions in the stage.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-retryconfiguration.html#cfn-codepipeline-pipeline-retryconfiguration-retrymode

RuleDeclarationProperty

class CfnPipelinePropsMixin.RuleDeclarationProperty(*, commands=None, configuration=None, input_artifacts=None, name=None, region=None, role_arn=None, rule_type_id=None)

Bases: object

Represents information about the rule to be created for an associated condition.

An example would be creating a new rule for an entry condition, such as a rule that checks for a test result before allowing the run to enter the deployment stage. For more information about conditions, see Stage conditions and How do stage conditions work? . For more information about rules, see the AWS CodePipeline rule reference .

Parameters:
  • commands (Optional[Sequence[str]]) – The shell commands to run with your commands rule in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild. .. epigraph:: Using compute time for this action will incur separate charges in AWS CodeBuild .

  • configuration (Any) – The action configuration fields for the rule.

  • input_artifacts (Union[IResolvable, Sequence[Union[IResolvable, InputArtifactProperty, Dict[str, Any]]], None]) – The input artifacts fields for the rule, such as specifying an input file for the rule.

  • name (Optional[str]) – The name of the rule that is created for the condition, such as VariableCheck .

  • region (Optional[str]) – The Region for the condition associated with the rule.

  • role_arn (Optional[str]) – The pipeline role ARN associated with the rule.

  • rule_type_id (Union[IResolvable, RuleTypeIdProperty, Dict[str, Any], None]) – The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

# configuration: Any

rule_declaration_property = codepipeline_mixins.CfnPipelinePropsMixin.RuleDeclarationProperty(
    commands=["commands"],
    configuration=configuration,
    input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
        name="name"
    )],
    name="name",
    region="region",
    role_arn="roleArn",
    rule_type_id=codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
        category="category",
        owner="owner",
        provider="provider",
        version="version"
    )
)

Attributes

commands

The shell commands to run with your commands rule in CodePipeline.

All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild. .. epigraph:

Using compute time for this action will incur separate charges in AWS CodeBuild .
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-commands

configuration

The action configuration fields for the rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-configuration

input_artifacts

The input artifacts fields for the rule, such as specifying an input file for the rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-inputartifacts

name

The name of the rule that is created for the condition, such as VariableCheck .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-name

region

The Region for the condition associated with the rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-region

role_arn

The pipeline role ARN associated with the rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-rolearn

rule_type_id

The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-ruletypeid

RuleTypeIdProperty

class CfnPipelinePropsMixin.RuleTypeIdProperty(*, category=None, owner=None, provider=None, version=None)

Bases: object

The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.

For more information about conditions, see Stage conditions . For more information about rules, see the AWS CodePipeline rule reference .

Parameters:
  • category (Optional[str]) – A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is Rule .

  • owner (Optional[str]) – The creator of the rule being called. The valid value for the Owner field in the rule category is AWS .

  • provider (Optional[str]) –

    The rule provider, such as the DeploymentWindow rule. For a list of rule provider names, see the rules listed in the AWS CodePipeline rule reference .

  • version (Optional[str]) – A string that describes the rule version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

rule_type_id_property = codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
    category="category",
    owner="owner",
    provider="provider",
    version="version"
)

Attributes

category

A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule.

The valid category is Rule .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html#cfn-codepipeline-pipeline-ruletypeid-category

owner

The creator of the rule being called.

The valid value for the Owner field in the rule category is AWS .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html#cfn-codepipeline-pipeline-ruletypeid-owner

provider

The rule provider, such as the DeploymentWindow rule.

For a list of rule provider names, see the rules listed in the AWS CodePipeline rule reference .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html#cfn-codepipeline-pipeline-ruletypeid-provider

version

A string that describes the rule version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html#cfn-codepipeline-pipeline-ruletypeid-version

StageDeclarationProperty

class CfnPipelinePropsMixin.StageDeclarationProperty(*, actions=None, before_entry=None, blockers=None, name=None, on_failure=None, on_success=None)

Bases: object

Represents information about a stage and its definition.

Parameters:
  • actions (Union[IResolvable, Sequence[Union[IResolvable, ActionDeclarationProperty, Dict[str, Any]]], None]) – The actions included in a stage.

  • before_entry (Union[IResolvable, BeforeEntryConditionsProperty, Dict[str, Any], None]) – The method to use when a stage allows entry. For example, configuring this field for conditions will allow entry to the stage when the conditions are met.

  • blockers (Union[IResolvable, Sequence[Union[IResolvable, BlockerDeclarationProperty, Dict[str, Any]]], None]) – Reserved for future use.

  • name (Optional[str]) – The name of the stage.

  • on_failure (Union[IResolvable, FailureConditionsProperty, Dict[str, Any], None]) – The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.

  • on_success (Union[IResolvable, SuccessConditionsProperty, Dict[str, Any], None]) – The method to use when a stage has succeeded. For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

# configuration: Any

stage_declaration_property = codepipeline_mixins.CfnPipelinePropsMixin.StageDeclarationProperty(
    actions=[codepipeline_mixins.CfnPipelinePropsMixin.ActionDeclarationProperty(
        action_type_id=codepipeline_mixins.CfnPipelinePropsMixin.ActionTypeIdProperty(
            category="category",
            owner="owner",
            provider="provider",
            version="version"
        ),
        commands=["commands"],
        configuration=configuration,
        environment_variables=[codepipeline_mixins.CfnPipelinePropsMixin.EnvironmentVariableProperty(
            name="name",
            type="type",
            value="value"
        )],
        input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
            name="name"
        )],
        name="name",
        namespace="namespace",
        output_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.OutputArtifactProperty(
            files=["files"],
            name="name"
        )],
        output_variables=["outputVariables"],
        region="region",
        role_arn="roleArn",
        run_order=123,
        timeout_in_minutes=123
    )],
    before_entry=codepipeline_mixins.CfnPipelinePropsMixin.BeforeEntryConditionsProperty(
        conditions=[codepipeline_mixins.CfnPipelinePropsMixin.ConditionProperty(
            result="result",
            rules=[codepipeline_mixins.CfnPipelinePropsMixin.RuleDeclarationProperty(
                commands=["commands"],
                configuration=configuration,
                input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
                    name="name"
                )],
                name="name",
                region="region",
                role_arn="roleArn",
                rule_type_id=codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
                    category="category",
                    owner="owner",
                    provider="provider",
                    version="version"
                )
            )]
        )]
    ),
    blockers=[codepipeline_mixins.CfnPipelinePropsMixin.BlockerDeclarationProperty(
        name="name",
        type="type"
    )],
    name="name",
    on_failure=codepipeline_mixins.CfnPipelinePropsMixin.FailureConditionsProperty(
        conditions=[codepipeline_mixins.CfnPipelinePropsMixin.ConditionProperty(
            result="result",
            rules=[codepipeline_mixins.CfnPipelinePropsMixin.RuleDeclarationProperty(
                commands=["commands"],
                configuration=configuration,
                input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
                    name="name"
                )],
                name="name",
                region="region",
                role_arn="roleArn",
                rule_type_id=codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
                    category="category",
                    owner="owner",
                    provider="provider",
                    version="version"
                )
            )]
        )],
        result="result",
        retry_configuration=codepipeline_mixins.CfnPipelinePropsMixin.RetryConfigurationProperty(
            retry_mode="retryMode"
        )
    ),
    on_success=codepipeline_mixins.CfnPipelinePropsMixin.SuccessConditionsProperty(
        conditions=[codepipeline_mixins.CfnPipelinePropsMixin.ConditionProperty(
            result="result",
            rules=[codepipeline_mixins.CfnPipelinePropsMixin.RuleDeclarationProperty(
                commands=["commands"],
                configuration=configuration,
                input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
                    name="name"
                )],
                name="name",
                region="region",
                role_arn="roleArn",
                rule_type_id=codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
                    category="category",
                    owner="owner",
                    provider="provider",
                    version="version"
                )
            )]
        )]
    )
)

Attributes

actions

The actions included in a stage.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html#cfn-codepipeline-pipeline-stagedeclaration-actions

before_entry

The method to use when a stage allows entry.

For example, configuring this field for conditions will allow entry to the stage when the conditions are met.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html#cfn-codepipeline-pipeline-stagedeclaration-beforeentry

blockers

Reserved for future use.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html#cfn-codepipeline-pipeline-stagedeclaration-blockers

name

The name of the stage.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html#cfn-codepipeline-pipeline-stagedeclaration-name

on_failure

The method to use when a stage has not completed successfully.

For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html#cfn-codepipeline-pipeline-stagedeclaration-onfailure

on_success

The method to use when a stage has succeeded.

For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html#cfn-codepipeline-pipeline-stagedeclaration-onsuccess

StageTransitionProperty

class CfnPipelinePropsMixin.StageTransitionProperty(*, reason=None, stage_name=None)

Bases: object

The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.

Parameters:
  • reason (Optional[str]) – The reason given to the user that a stage is disabled, such as waiting for manual approval or manual tests. This message is displayed in the pipeline console UI.

  • stage_name (Optional[str]) – The name of the stage where you want to disable the inbound or outbound transition of artifacts.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagetransition.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

stage_transition_property = codepipeline_mixins.CfnPipelinePropsMixin.StageTransitionProperty(
    reason="reason",
    stage_name="stageName"
)

Attributes

reason

The reason given to the user that a stage is disabled, such as waiting for manual approval or manual tests.

This message is displayed in the pipeline console UI.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagetransition.html#cfn-codepipeline-pipeline-stagetransition-reason

stage_name

The name of the stage where you want to disable the inbound or outbound transition of artifacts.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagetransition.html#cfn-codepipeline-pipeline-stagetransition-stagename

SuccessConditionsProperty

class CfnPipelinePropsMixin.SuccessConditionsProperty(*, conditions=None)

Bases: object

The conditions for making checks that, if met, succeed a stage.

For more information about conditions, see Stage conditions and How do stage conditions work? .

Parameters:

conditions (Union[IResolvable, Sequence[Union[IResolvable, ConditionProperty, Dict[str, Any]]], None]) – The conditions that are success conditions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-successconditions.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

# configuration: Any

success_conditions_property = codepipeline_mixins.CfnPipelinePropsMixin.SuccessConditionsProperty(
    conditions=[codepipeline_mixins.CfnPipelinePropsMixin.ConditionProperty(
        result="result",
        rules=[codepipeline_mixins.CfnPipelinePropsMixin.RuleDeclarationProperty(
            commands=["commands"],
            configuration=configuration,
            input_artifacts=[codepipeline_mixins.CfnPipelinePropsMixin.InputArtifactProperty(
                name="name"
            )],
            name="name",
            region="region",
            role_arn="roleArn",
            rule_type_id=codepipeline_mixins.CfnPipelinePropsMixin.RuleTypeIdProperty(
                category="category",
                owner="owner",
                provider="provider",
                version="version"
            )
        )]
    )]
)

Attributes

conditions

The conditions that are success conditions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-successconditions.html#cfn-codepipeline-pipeline-successconditions-conditions

VariableDeclarationProperty

class CfnPipelinePropsMixin.VariableDeclarationProperty(*, default_value=None, description=None, name=None)

Bases: object

A variable declared at the pipeline level.

Parameters:
  • default_value (Optional[str]) – The value of a pipeline-level variable.

  • description (Optional[str]) – The description of a pipeline-level variable. It’s used to add additional context about the variable, and not being used at time when pipeline executes.

  • name (Optional[str]) – The name of a pipeline-level variable.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-variabledeclaration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codepipeline import mixins as codepipeline_mixins

variable_declaration_property = codepipeline_mixins.CfnPipelinePropsMixin.VariableDeclarationProperty(
    default_value="defaultValue",
    description="description",
    name="name"
)

Attributes

default_value

The value of a pipeline-level variable.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-variabledeclaration.html#cfn-codepipeline-pipeline-variabledeclaration-defaultvalue

description

The description of a pipeline-level variable.

It’s used to add additional context about the variable, and not being used at time when pipeline executes.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-variabledeclaration.html#cfn-codepipeline-pipeline-variabledeclaration-description

name

The name of a pipeline-level variable.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-variabledeclaration.html#cfn-codepipeline-pipeline-variabledeclaration-name