@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
65 lines (64 loc) • 2.25 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::Lightsail::Container
*/
export declare function getContainer(args: GetContainerArgs, opts?: pulumi.InvokeOptions): Promise<GetContainerResult>;
export interface GetContainerArgs {
/**
* The name for the container service.
*/
serviceName: string;
}
export interface GetContainerResult {
/**
* The Amazon Resource Name (ARN) of the container.
*/
readonly containerArn?: string;
/**
* Describes a container deployment configuration of an Amazon Lightsail container service.
*/
readonly containerServiceDeployment?: outputs.lightsail.ContainerServiceDeployment;
/**
* A Boolean value to indicate whether the container service is disabled.
*/
readonly isDisabled?: boolean;
/**
* The power specification for the container service.
*/
readonly power?: string;
/**
* The principal ARN of the container service.
*/
readonly principalArn?: string;
/**
* A Boolean value to indicate whether the container service has access to private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories.
*/
readonly privateRegistryAccess?: outputs.lightsail.ContainerPrivateRegistryAccess;
/**
* The public domain names to use with the container service, such as example.com and www.example.com.
*/
readonly publicDomainNames?: outputs.lightsail.ContainerPublicDomainName[];
/**
* The scale specification for the container service.
*/
readonly scale?: number;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags?: outputs.Tag[];
/**
* The publicly accessible URL of the container service.
*/
readonly url?: string;
}
/**
* Resource Type definition for AWS::Lightsail::Container
*/
export declare function getContainerOutput(args: GetContainerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContainerResult>;
export interface GetContainerOutputArgs {
/**
* The name for the container service.
*/
serviceName: pulumi.Input<string>;
}