PublishAssetsActionProps

class aws_cdk.pipelines.PublishAssetsActionProps(*, action_name, asset_type, cloud_assembly_input, cdk_cli_version=None, project_name=None, role=None, subnet_selection=None, vpc=None)

Bases: object

(experimental) Props for a PublishAssetsAction.

Parameters
  • action_name (str) – (experimental) Name of publishing action.

  • asset_type (AssetType) – (experimental) AssetType we’re publishing.

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

  • cdk_cli_version (Optional[str]) – (experimental) Version of CDK CLI to ‘npm install’. Default: - Latest version

  • project_name (Optional[str]) – (experimental) Name of the CodeBuild project. Default: - Automatically generated

  • role (Optional[IRole]) – (experimental) Role to use for CodePipeline and CodeBuild to build and publish the assets. Default: - Automatically generated

  • subnet_selection (Optional[SubnetSelection]) – (experimental) Which subnets to use. Only used if ‘vpc’ is supplied. Default: - All private subnets.

  • vpc (Optional[IVpc]) – (experimental) The VPC where to execute the PublishAssetsAction. Default: - No VPC

Stability

experimental

Attributes

action_name

(experimental) Name of publishing action.

Stability

experimental

Return type

str

asset_type

(experimental) AssetType we’re publishing.

Stability

experimental

Return type

AssetType

cdk_cli_version

(experimental) Version of CDK CLI to ‘npm install’.

Default
  • Latest version

Stability

experimental

Return type

Optional[str]

cloud_assembly_input

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

Stability

experimental

Return type

Artifact

project_name

(experimental) Name of the CodeBuild project.

Default
  • Automatically generated

Stability

experimental

Return type

Optional[str]

role

(experimental) Role to use for CodePipeline and CodeBuild to build and publish the assets.

Default
  • Automatically generated

Stability

experimental

Return type

Optional[IRole]

subnet_selection

(experimental) Which subnets to use.

Only used if ‘vpc’ is supplied.

Default
  • All private subnets.

Stability

experimental

Return type

Optional[SubnetSelection]

vpc

(experimental) The VPC where to execute the PublishAssetsAction.

Default
  • No VPC

Stability

experimental

Return type

Optional[IVpc]