interface TarballImageAssetProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Ecr.Assets.TarballImageAssetProps |
![]() | software.amazon.awscdk.services.ecr.assets.TarballImageAssetProps |
![]() | aws_cdk.aws_ecr_assets.TarballImageAssetProps |
![]() | @aws-cdk/aws-ecr-assets » TarballImageAssetProps |
Options for TarballImageAsset.
Example
import { TarballImageAsset } from '@aws-cdk/aws-ecr-assets';
const asset = new TarballImageAsset(this, 'MyBuildImage', {
tarballFile: 'local-image.tar',
});
Properties
Name | Type | Description |
---|---|---|
tarball | string | Absolute path to the tarball. |
tarballFile
Type:
string
Absolute path to the tarball.
It is recommended to to use the script running directory (e.g. __dirname
in Node.js projects or dirname of __file__
in Python) if your tarball
is located as a resource inside your project.