ECRSourceOptions

class aws_cdk.pipelines.ECRSourceOptions(*, action_name=None, image_tag=None)

Bases: object

Options for ECR sources.

Parameters
  • action_name (Optional[str]) – The action name used for this source in the CodePipeline. Default: - The repository name

  • image_tag (Optional[str]) – The image tag that will be checked for changes. Default: latest

ExampleMetadata

infused

Example:

# repository: ecr.IRepository

pipelines.CodePipelineSource.ecr(repository,
    image_tag="latest"
)

Attributes

action_name

The action name used for this source in the CodePipeline.

Default
  • The repository name

Return type

Optional[str]

image_tag

The image tag that will be checked for changes.

Default

latest

Return type

Optional[str]