AssetPublishingCommand

class aws_cdk.pipelines.AssetPublishingCommand(*, asset_id, asset_manifest_path, asset_publishing_role_arn, asset_selector, asset_type)

Bases: object

(deprecated) Instructions to publish certain assets.

Parameters:
  • asset_id (str) – (deprecated) Asset identifier.

  • asset_manifest_path (str) – (deprecated) Asset manifest path.

  • asset_publishing_role_arn (str) – (deprecated) ARN of the IAM Role used to publish this asset.

  • asset_selector (str) – (deprecated) Asset selector to pass to cdk-assets.

  • asset_type (AssetType) – (deprecated) Type of asset to publish.

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

asset_publishing_command = pipelines.AssetPublishingCommand(
    asset_id="assetId",
    asset_manifest_path="assetManifestPath",
    asset_publishing_role_arn="assetPublishingRoleArn",
    asset_selector="assetSelector",
    asset_type=pipelines.AssetType.FILE
)

Attributes

asset_id

(deprecated) Asset identifier.

Stability:

deprecated

asset_manifest_path

(deprecated) Asset manifest path.

Stability:

deprecated

asset_publishing_role_arn

(deprecated) ARN of the IAM Role used to publish this asset.

Stability:

deprecated

asset_selector

(deprecated) Asset selector to pass to cdk-assets.

Stability:

deprecated

asset_type

(deprecated) Type of asset to publish.

Stability:

deprecated