@pulumi/awsx
Version:
[](https://github.com/pulumi/pulumi-awsx/actions) [](https://slack.pulumi.com) [: pulumi.Input<string>;
abstract environment(name: string, parent: pulumi.Resource): pulumi.Input<KeyValuePair[]>;
/**
* Creates an [Image] given a path to a folder in which a Docker build should be run.
*
* Either a [name] or [repository] needs to be provided where the built image will be pushed
* to. If [repository] is provided, it will be used as-is. Otherwise, a new one will be
* created on-demand, using the [name] value.
*/
static fromPath(name: string, path: pulumi.Input<string>): Image;
static fromPath(repository: aws.ecr.Repository, path: pulumi.Input<string>): Image;
/**
* Creates an [Image] using the detailed build instructions provided in [build].
*
* Either a [name] or [repository] needs to be provided where the built image will be pushed
* to. If [repository] is provided, it will be used as-is. Otherwise, a new one will be
* created on-demand, using the [name] value.
*/
static fromDockerBuild(name: string, build: pulumi.Input<docker.DockerBuild>): Image;
static fromDockerBuild(repository: aws.ecr.Repository, build: pulumi.Input<docker.DockerBuild>): Image;
/**
* Creates an [Image] given function code to use as the implementation of the container.
*/
static fromFunction(func: () => void): Image;
}
//# sourceMappingURL=image.d.ts.map