FromStackArtifactOptions

class aws_cdk.pipelines.FromStackArtifactOptions(*, cloud_assembly_input, execute_run_order=None, output=None, output_file_name=None, prepare_run_order=None)

Bases: object

(deprecated) Options for CdkDeployAction.fromStackArtifact.

Parameters
  • cloud_assembly_input (Artifact) – (deprecated) The CodePipeline artifact that holds the Cloud Assembly.

  • execute_run_order (Union[int, float, None]) – (deprecated) Run order for the Execute action. Default: - prepareRunOrder + 1

  • output (Optional[Artifact]) – (deprecated) Artifact to write Stack Outputs to. Default: - No outputs

  • output_file_name (Optional[str]) – (deprecated) Filename in output to write Stack outputs to. Default: - Required when ‘output’ is set

  • prepare_run_order (Union[int, float, None]) – (deprecated) Run order for the 2 actions that will be created. Default: 1

Deprecated

This class is part of the old API. Use the API based on the CodePipeline class instead

Stability

deprecated

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
import aws_cdk.pipelines as pipelines

# artifact: codepipeline.Artifact

from_stack_artifact_options = pipelines.FromStackArtifactOptions(
    cloud_assembly_input=artifact,

    # the properties below are optional
    execute_run_order=123,
    output=artifact,
    output_file_name="outputFileName",
    prepare_run_order=123
)

Attributes

cloud_assembly_input

(deprecated) The CodePipeline artifact that holds the Cloud Assembly.

Stability

deprecated

Return type

Artifact

execute_run_order

(deprecated) Run order for the Execute action.

Default
  • prepareRunOrder + 1

Stability

deprecated

Return type

Union[int, float, None]

output

(deprecated) Artifact to write Stack Outputs to.

Default
  • No outputs

Stability

deprecated

Return type

Optional[Artifact]

output_file_name

(deprecated) Filename in output to write Stack outputs to.

Default
  • Required when ‘output’ is set

Stability

deprecated

Return type

Optional[str]

prepare_run_order

(deprecated) Run order for the 2 actions that will be created.

Default

1

Stability

deprecated

Return type

Union[int, float, None]