terraform-generator
Version:
Generate Terraform configurations with Node.js.
28 lines (27 loc) • 607 B
TypeScript
import { Argument, Attribute } from '../arguments';
import { TerraformElement } from '../utils';
import { Block } from '.';
/**
* @category Block
*/
export interface RemovedArgs {
from: TerraformElement;
lifecycle: {
destroy: boolean;
};
}
/**
* @category Block
*/
export declare class Removed extends Block<RemovedArgs> {
/**
* Construct removed.
*
* Refer to Terraform documentation on what can be put as arguments.
*
* @param args arguments
*/
constructor(args: RemovedArgs);
asArgument(): Argument;
attr(_name: string): Attribute;
}