agent-claw: automated task changes
This commit is contained in:
67
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/container-image.d.ts
generated
vendored
Normal file
67
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/container-image.d.ts
generated
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type { ContainerDefinition } from './container-definition';
|
||||
import type { CfnTaskDefinition } from './ecs.generated';
|
||||
import type * as ecr from '../../aws-ecr';
|
||||
import type { DockerImageAsset } from '../../aws-ecr-assets';
|
||||
/**
|
||||
* Constructs for types of container images
|
||||
*/
|
||||
export declare abstract class ContainerImage {
|
||||
/**
|
||||
* Reference an image on DockerHub or another online registry
|
||||
*/
|
||||
static fromRegistry(name: string, props?: RepositoryImageProps): RepositoryImage;
|
||||
/**
|
||||
* Reference an image in an ECR repository
|
||||
*
|
||||
* @param tag If you don't specify this parameter, `latest` is used as default.
|
||||
*/
|
||||
static fromEcrRepository(repository: ecr.IRepository, tag?: string): EcrImage;
|
||||
/**
|
||||
* Reference an image that's constructed directly from sources on disk.
|
||||
*
|
||||
* If you already have a `DockerImageAsset` instance, you can use the
|
||||
* `ContainerImage.fromDockerImageAsset` method instead.
|
||||
*
|
||||
* @param directory The directory containing the Dockerfile
|
||||
*/
|
||||
static fromAsset(directory: string, props?: AssetImageProps): AssetImage;
|
||||
/**
|
||||
* Use an existing `DockerImageAsset` for this container image.
|
||||
*
|
||||
* @param asset The `DockerImageAsset` to use for this container definition.
|
||||
*/
|
||||
static fromDockerImageAsset(asset: DockerImageAsset): ContainerImage;
|
||||
/**
|
||||
* Use an existing tarball for this container image.
|
||||
*
|
||||
* Use this method if the container image has already been created by another process (e.g. jib)
|
||||
* and you want to add it as a container image asset.
|
||||
*
|
||||
* @param tarballFile Absolute path to the tarball. You can use language-specific idioms (such as `__dirname` in Node.js)
|
||||
* to create an absolute path based on the current script running directory.
|
||||
*/
|
||||
static fromTarball(tarballFile: string): ContainerImage;
|
||||
/**
|
||||
* Called when the image is used by a ContainerDefinition
|
||||
*/
|
||||
abstract bind(scope: Construct, containerDefinition: ContainerDefinition): ContainerImageConfig;
|
||||
}
|
||||
/**
|
||||
* The configuration for creating a container image.
|
||||
*/
|
||||
export interface ContainerImageConfig {
|
||||
/**
|
||||
* Specifies the name of the container image.
|
||||
*/
|
||||
readonly imageName: string;
|
||||
/**
|
||||
* Specifies the credentials used to access the image repository.
|
||||
*/
|
||||
readonly repositoryCredentials?: CfnTaskDefinition.RepositoryCredentialsProperty;
|
||||
}
|
||||
import type { AssetImageProps } from './images/asset-image';
|
||||
import { AssetImage } from './images/asset-image';
|
||||
import { EcrImage } from './images/ecr';
|
||||
import type { RepositoryImageProps } from './images/repository';
|
||||
import { RepositoryImage } from './images/repository';
|
||||
Reference in New Issue
Block a user