ness
Version:
✪ No-effort static sites deployed to your AWS account.
20 lines (19 loc) • 686 B
TypeScript
import { Stack } from '@aws-sdk/client-cloudformation';
/**
* A utility class to inspect CloudFormation stack statuses.
*
* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-describing-stacks.html
*/
export declare class StackStatus {
readonly name: string;
readonly reason?: string | undefined;
static fromStackDescription(description: Stack): StackStatus;
constructor(name: string, reason?: string | undefined);
get isCreationFailure(): boolean;
get isDeleted(): boolean;
get isFailure(): boolean;
get isInProgress(): boolean;
get isNotFound(): boolean;
get isDeploySuccess(): boolean;
toString(): string;
}