aws-cdk-lib.AssetManifestDockerImageDestination

interface AssetManifestDockerImageDestination

LanguageType name
.NETAmazon.CDK.AssetManifestDockerImageDestination
Gogithub.com/aws/aws-cdk-go/awscdk/v2#AssetManifestDockerImageDestination
Javasoftware.amazon.awscdk.AssetManifestDockerImageDestination
Pythonaws_cdk.AssetManifestDockerImageDestination
TypeScript (source)aws-cdk-lib » AssetManifestDockerImageDestination

The destination for a docker image asset, when it is given to the AssetManifestBuilder.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const assetManifestDockerImageDestination: cdk.AssetManifestDockerImageDestination = {
  repositoryName: 'repositoryName',

  // the properties below are optional
  dockerTagPrefix: 'dockerTagPrefix',
  role: {
    assumeRoleArn: 'assumeRoleArn',

    // the properties below are optional
    assumeRoleExternalId: 'assumeRoleExternalId',
  },
};

Properties

NameTypeDescription
repositoryNamestringRepository name where the docker image asset should be written.
dockerTagPrefix?stringPrefix to add to the asset hash to make the Docker image tag.
role?RoleOptionsRole to use to perform the upload.

repositoryName

Type: string

Repository name where the docker image asset should be written.


dockerTagPrefix?

Type: string (optional, default: '')

Prefix to add to the asset hash to make the Docker image tag.


role?

Type: RoleOptions (optional, default: No role)

Role to use to perform the upload.