import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TatInvocationInvokeAttachmentConfig extends cdktf.TerraformMetaArguments { /** * Command ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment#command_id TatInvocationInvokeAttachment#command_id} */ readonly commandId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment#id TatInvocationInvokeAttachment#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment#instance_id TatInvocationInvokeAttachment#instance_id} */ readonly instanceId: string; /** * The COS bucket URL for uploading logs. The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment#output_cos_bucket_url TatInvocationInvokeAttachment#output_cos_bucket_url} */ readonly outputCosBucketUrl?: string; /** * The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment#output_cos_key_prefix TatInvocationInvokeAttachment#output_cos_key_prefix} */ readonly outputCosKeyPrefix?: string; /** * Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment#parameters TatInvocationInvokeAttachment#parameters} */ readonly parameters?: string; /** * Command timeout period. Default value: 60 seconds. Value range: [1, 86400]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment#timeout TatInvocationInvokeAttachment#timeout} */ readonly timeout?: number; /** * The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment#username TatInvocationInvokeAttachment#username} */ readonly username?: string; /** * Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment#working_directory TatInvocationInvokeAttachment#working_directory} */ readonly workingDirectory?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment tencentcloud_tat_invocation_invoke_attachment} */ export declare class TatInvocationInvokeAttachment extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tat_invocation_invoke_attachment"; /** * Generates CDKTF code for importing a TatInvocationInvokeAttachment resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the TatInvocationInvokeAttachment to import * @param importFromId The id of the existing TatInvocationInvokeAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TatInvocationInvokeAttachment to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invocation_invoke_attachment tencentcloud_tat_invocation_invoke_attachment} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options TatInvocationInvokeAttachmentConfig */ constructor(scope: Construct, id: string, config: TatInvocationInvokeAttachmentConfig); private _commandId?; get commandId(): string; set commandId(value: string); get commandIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _outputCosBucketUrl?; get outputCosBucketUrl(): string; set outputCosBucketUrl(value: string); resetOutputCosBucketUrl(): void; get outputCosBucketUrlInput(): string; private _outputCosKeyPrefix?; get outputCosKeyPrefix(): string; set outputCosKeyPrefix(value: string); resetOutputCosKeyPrefix(): void; get outputCosKeyPrefixInput(): string; private _parameters?; get parameters(): string; set parameters(value: string); resetParameters(): void; get parametersInput(): string; private _timeout?; get timeout(): number; set timeout(value: number); resetTimeout(): void; get timeoutInput(): number; private _username?; get username(): string; set username(value: string); resetUsername(): void; get usernameInput(): string; private _workingDirectory?; get workingDirectory(): string; set workingDirectory(value: string); resetWorkingDirectory(): void; get workingDirectoryInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }