import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CosBatchConfig extends cdktf.TerraformMetaArguments { /** * Appid. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#appid CosBatch#appid} */ readonly appid: number; /** * Whether to confirm before performing the task. The default is false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#confirmation_required CosBatch#confirmation_required} */ readonly confirmationRequired?: boolean | cdktf.IResolvable; /** * Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#description CosBatch#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#id CosBatch#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; /** * Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#priority CosBatch#priority} */ readonly priority: number; /** * COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#role_arn CosBatch#role_arn} */ readonly roleArn: string; /** * Current status of the task. * Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. * For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#status CosBatch#status} */ readonly status?: string; /** * Uin. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#uin CosBatch#uin} */ readonly uin: string; /** * manifest block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#manifest CosBatch#manifest} */ readonly manifest: CosBatchManifest; /** * operation block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#operation CosBatch#operation} */ readonly operation: CosBatchOperation; /** * report block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#report CosBatch#report} */ readonly report: CosBatchReport; } export interface CosBatchManifestLocation { /** * Specifies the etag of the object list. Length 1-1024 bytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#etag CosBatch#etag} */ readonly etag: string; /** * Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#object_arn CosBatch#object_arn} */ readonly objectArn: string; /** * Specifies the version of the object manifest ID, which is 1-1024 bytes long. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#object_version_id CosBatch#object_version_id} */ readonly objectVersionId?: string; } export declare function cosBatchManifestLocationToTerraform(struct?: CosBatchManifestLocationOutputReference | CosBatchManifestLocation): any; export declare function cosBatchManifestLocationToHclTerraform(struct?: CosBatchManifestLocationOutputReference | CosBatchManifestLocation): any; export declare class CosBatchManifestLocationOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): CosBatchManifestLocation | undefined; set internalValue(value: CosBatchManifestLocation | undefined); private _etag?; get etag(): string; set etag(value: string); get etagInput(): string; private _objectArn?; get objectArn(): string; set objectArn(value: string); get objectArnInput(): string; private _objectVersionId?; get objectVersionId(): string; set objectVersionId(value: string); resetObjectVersionId(): void; get objectVersionIdInput(): string; } export interface CosBatchManifestSpec { /** * Describes the fields contained in the listing, which you need to use to specify CSV file fields when Format is COSBatchOperations_CSV_V1. Legal fields are: Ignore, Bucket, Key, VersionId. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#fields CosBatch#fields} */ readonly fields?: string[]; /** * Specifies the format information for the list of objects. Legal fields are: COSBatchOperations_CSV_V1, COSInventoryReport_CSV_V1. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#format CosBatch#format} */ readonly format: string; } export declare function cosBatchManifestSpecToTerraform(struct?: CosBatchManifestSpecOutputReference | CosBatchManifestSpec): any; export declare function cosBatchManifestSpecToHclTerraform(struct?: CosBatchManifestSpecOutputReference | CosBatchManifestSpec): any; export declare class CosBatchManifestSpecOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): CosBatchManifestSpec | undefined; set internalValue(value: CosBatchManifestSpec | undefined); private _fields?; get fields(): string[]; set fields(value: string[]); resetFields(): void; get fieldsInput(): string[]; private _format?; get format(): string; set format(value: string); get formatInput(): string; } export interface CosBatchManifest { /** * location block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#location CosBatch#location} */ readonly location: CosBatchManifestLocation; /** * spec block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#spec CosBatch#spec} */ readonly spec: CosBatchManifestSpec; } export declare function cosBatchManifestToTerraform(struct?: CosBatchManifestOutputReference | CosBatchManifest): any; export declare function cosBatchManifestToHclTerraform(struct?: CosBatchManifestOutputReference | CosBatchManifest): any; export declare class CosBatchManifestOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): CosBatchManifest | undefined; set internalValue(value: CosBatchManifest | undefined); private _location; get location(): CosBatchManifestLocationOutputReference; putLocation(value: CosBatchManifestLocation): void; get locationInput(): CosBatchManifestLocation; private _spec; get spec(): CosBatchManifestSpecOutputReference; putSpec(value: CosBatchManifestSpec): void; get specInput(): CosBatchManifestSpec; } export interface CosBatchOperationCosInitiateRestoreObject { /** * Sets the number of days after which the copy will be automatically expired and deleted, an integer in the range of 1-365. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#expiration_in_days CosBatch#expiration_in_days} */ readonly expirationInDays: number; /** * Select archive recovery model. Available values: Bulk, Standard. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#job_tier CosBatch#job_tier} */ readonly jobTier: string; } export declare function cosBatchOperationCosInitiateRestoreObjectToTerraform(struct?: CosBatchOperationCosInitiateRestoreObjectOutputReference | CosBatchOperationCosInitiateRestoreObject): any; export declare function cosBatchOperationCosInitiateRestoreObjectToHclTerraform(struct?: CosBatchOperationCosInitiateRestoreObjectOutputReference | CosBatchOperationCosInitiateRestoreObject): any; export declare class CosBatchOperationCosInitiateRestoreObjectOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): CosBatchOperationCosInitiateRestoreObject | undefined; set internalValue(value: CosBatchOperationCosInitiateRestoreObject | undefined); private _expirationInDays?; get expirationInDays(): number; set expirationInDays(value: number); get expirationInDaysInput(): number; private _jobTier?; get jobTier(): string; set jobTier(value: string); get jobTierInput(): string; } export interface CosBatchOperationCosPutObjectCopyAccessControlGrants { /** * User name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#display_name CosBatch#display_name} */ readonly displayName?: string; /** * User ID (UIN) in qcs format. For example: qcs::cam::uin/100000000001:uin/100000000001. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#identifier CosBatch#identifier} */ readonly identifier: string; /** * Specify a permission to be granted. Enumerated value: READ,WRITE,FULL_CONTROL. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#permission CosBatch#permission} */ readonly permission: string; /** * Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#type_identifier CosBatch#type_identifier} */ readonly typeIdentifier: string; } export declare function cosBatchOperationCosPutObjectCopyAccessControlGrantsToTerraform(struct?: CosBatchOperationCosPutObjectCopyAccessControlGrantsOutputReference | CosBatchOperationCosPutObjectCopyAccessControlGrants): any; export declare function cosBatchOperationCosPutObjectCopyAccessControlGrantsToHclTerraform(struct?: CosBatchOperationCosPutObjectCopyAccessControlGrantsOutputReference | CosBatchOperationCosPutObjectCopyAccessControlGrants): any; export declare class CosBatchOperationCosPutObjectCopyAccessControlGrantsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): CosBatchOperationCosPutObjectCopyAccessControlGrants | undefined; set internalValue(value: CosBatchOperationCosPutObjectCopyAccessControlGrants | undefined); private _displayName?; get displayName(): string; set displayName(value: string); resetDisplayName(): void; get displayNameInput(): string; private _identifier?; get identifier(): string; set identifier(value: string); get identifierInput(): string; private _permission?; get permission(): string; set permission(value: string); get permissionInput(): string; private _typeIdentifier?; get typeIdentifier(): string; set typeIdentifier(value: string); get typeIdentifierInput(): string; } export interface CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadata { /** * key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#key CosBatch#key} */ readonly key: string; /** * value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#value CosBatch#value} */ readonly value: string; } export declare function cosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadataToTerraform(struct?: CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadata | cdktf.IResolvable): any; export declare function cosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadataToHclTerraform(struct?: CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadata | cdktf.IResolvable): any; export declare class CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadataOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadata | cdktf.IResolvable | undefined; set internalValue(value: CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadata | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadataList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadata[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadataOutputReference; } export interface CosBatchOperationCosPutObjectCopyNewObjectMetadata { /** * The caching instructions defined in RFC 2616 are saved as object metadata. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#cache_control CosBatch#cache_control} */ readonly cacheControl?: string; /** * The file name defined in RFC 2616 is saved as object metadata. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#content_disposition CosBatch#content_disposition} */ readonly contentDisposition?: string; /** * The encoding format defined in RFC 2616 is saved as object metadata. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#content_encoding CosBatch#content_encoding} */ readonly contentEncoding?: string; /** * The content types defined in RFC 2616 are saved as object metadata. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#content_type CosBatch#content_type} */ readonly contentType?: string; /** * The cache expiration time defined in RFC 2616 is saved as object metadata. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#http_expires_date CosBatch#http_expires_date} */ readonly httpExpiresDate?: string; /** * Server encryption algorithm. Currently, only AES256 is supported. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#sse_algorithm CosBatch#sse_algorithm} */ readonly sseAlgorithm?: string; /** * user_metadata block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#user_metadata CosBatch#user_metadata} */ readonly userMetadata?: CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadata[] | cdktf.IResolvable; } export declare function cosBatchOperationCosPutObjectCopyNewObjectMetadataToTerraform(struct?: CosBatchOperationCosPutObjectCopyNewObjectMetadataOutputReference | CosBatchOperationCosPutObjectCopyNewObjectMetadata): any; export declare function cosBatchOperationCosPutObjectCopyNewObjectMetadataToHclTerraform(struct?: CosBatchOperationCosPutObjectCopyNewObjectMetadataOutputReference | CosBatchOperationCosPutObjectCopyNewObjectMetadata): any; export declare class CosBatchOperationCosPutObjectCopyNewObjectMetadataOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): CosBatchOperationCosPutObjectCopyNewObjectMetadata | undefined; set internalValue(value: CosBatchOperationCosPutObjectCopyNewObjectMetadata | undefined); private _cacheControl?; get cacheControl(): string; set cacheControl(value: string); resetCacheControl(): void; get cacheControlInput(): string; private _contentDisposition?; get contentDisposition(): string; set contentDisposition(value: string); resetContentDisposition(): void; get contentDispositionInput(): string; private _contentEncoding?; get contentEncoding(): string; set contentEncoding(value: string); resetContentEncoding(): void; get contentEncodingInput(): string; private _contentType?; get contentType(): string; set contentType(value: string); resetContentType(): void; get contentTypeInput(): string; private _httpExpiresDate?; get httpExpiresDate(): string; set httpExpiresDate(value: string); resetHttpExpiresDate(): void; get httpExpiresDateInput(): string; private _sseAlgorithm?; get sseAlgorithm(): string; set sseAlgorithm(value: string); resetSseAlgorithm(): void; get sseAlgorithmInput(): string; private _userMetadata; get userMetadata(): CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadataList; putUserMetadata(value: CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadata[] | cdktf.IResolvable): void; resetUserMetadata(): void; get userMetadataInput(): any; } export interface CosBatchOperationCosPutObjectCopyNewObjectTagging { /** * key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#key CosBatch#key} */ readonly key: string; /** * value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#value CosBatch#value} */ readonly value: string; } export declare function cosBatchOperationCosPutObjectCopyNewObjectTaggingToTerraform(struct?: CosBatchOperationCosPutObjectCopyNewObjectTagging | cdktf.IResolvable): any; export declare function cosBatchOperationCosPutObjectCopyNewObjectTaggingToHclTerraform(struct?: CosBatchOperationCosPutObjectCopyNewObjectTagging | cdktf.IResolvable): any; export declare class CosBatchOperationCosPutObjectCopyNewObjectTaggingOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): CosBatchOperationCosPutObjectCopyNewObjectTagging | cdktf.IResolvable | undefined; set internalValue(value: CosBatchOperationCosPutObjectCopyNewObjectTagging | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class CosBatchOperationCosPutObjectCopyNewObjectTaggingList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CosBatchOperationCosPutObjectCopyNewObjectTagging[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): CosBatchOperationCosPutObjectCopyNewObjectTaggingOutputReference; } export interface CosBatchOperationCosPutObjectCopy { /** * This element specifies how ACL is copied. Valid values: * - Copy: inherits the source object ACL * - Replaced: replace source ACL * - Add: add a new ACL based on the source ACL. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#access_control_directive CosBatch#access_control_directive} */ readonly accessControlDirective?: string; /** * Defines the ACL property of the object. Valid values: private, public-read. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#canned_access_control_list CosBatch#canned_access_control_list} */ readonly cannedAccessControlList?: string; /** * This element specifies whether to copy object metadata from the source object or replace it with metadata in the < NewObjectMetadata > element. Valid values are: Copy, Replaced, Add. Copy: inherit source object metadata; Replaced: replace source metadata; Add: add new metadata based on source metadata. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#metadata_directive CosBatch#metadata_directive} */ readonly metadataDirective?: string; /** * When the object is modified after the specified time, the operation is performed, otherwise 412 is returned. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#modified_since_constraint CosBatch#modified_since_constraint} */ readonly modifiedSinceConstraint?: number; /** * Specifies whether the prefix of the source object needs to be replaced. A value of true indicates the replacement object prefix, which needs to be used with and . Default value: false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#prefix_replace CosBatch#prefix_replace} */ readonly prefixReplace?: boolean | cdktf.IResolvable; /** * This field is valid only when the < PrefixReplace > value is true. Specify the source object prefix to be replaced, and the replacement directory should end with `/`. Can be empty with a maximum length of 1024 bytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#resources_prefix CosBatch#resources_prefix} */ readonly resourcesPrefix?: string; /** * Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#storage_class CosBatch#storage_class} */ readonly storageClass?: string; /** * This element specifies whether to copy the object tag from the source object or replace it with the tag in the < NewObjectTagging > element. Valid values are: Copy, Replaced, Add. Copy: inherits the source object tag; Replaced: replaces the source tag; Add: adds a new tag based on the source tag. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#tagging_directive CosBatch#tagging_directive} */ readonly taggingDirective?: string; /** * This field is valid only when the value is true. This value represents the replaced prefix, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#target_key_prefix CosBatch#target_key_prefix} */ readonly targetKeyPrefix?: string; /** * Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#target_resource CosBatch#target_resource} */ readonly targetResource: string; /** * When the object has not been modified after the specified time, the operation is performed, otherwise 412 is returned. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#unmodified_since_constraint CosBatch#unmodified_since_constraint} */ readonly unmodifiedSinceConstraint?: number; /** * access_control_grants block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#access_control_grants CosBatch#access_control_grants} */ readonly accessControlGrants?: CosBatchOperationCosPutObjectCopyAccessControlGrants; /** * new_object_metadata block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#new_object_metadata CosBatch#new_object_metadata} */ readonly newObjectMetadata?: CosBatchOperationCosPutObjectCopyNewObjectMetadata; /** * new_object_tagging block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#new_object_tagging CosBatch#new_object_tagging} */ readonly newObjectTagging?: CosBatchOperationCosPutObjectCopyNewObjectTagging[] | cdktf.IResolvable; } export declare function cosBatchOperationCosPutObjectCopyToTerraform(struct?: CosBatchOperationCosPutObjectCopyOutputReference | CosBatchOperationCosPutObjectCopy): any; export declare function cosBatchOperationCosPutObjectCopyToHclTerraform(struct?: CosBatchOperationCosPutObjectCopyOutputReference | CosBatchOperationCosPutObjectCopy): any; export declare class CosBatchOperationCosPutObjectCopyOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): CosBatchOperationCosPutObjectCopy | undefined; set internalValue(value: CosBatchOperationCosPutObjectCopy | undefined); private _accessControlDirective?; get accessControlDirective(): string; set accessControlDirective(value: string); resetAccessControlDirective(): void; get accessControlDirectiveInput(): string; private _cannedAccessControlList?; get cannedAccessControlList(): string; set cannedAccessControlList(value: string); resetCannedAccessControlList(): void; get cannedAccessControlListInput(): string; private _metadataDirective?; get metadataDirective(): string; set metadataDirective(value: string); resetMetadataDirective(): void; get metadataDirectiveInput(): string; private _modifiedSinceConstraint?; get modifiedSinceConstraint(): number; set modifiedSinceConstraint(value: number); resetModifiedSinceConstraint(): void; get modifiedSinceConstraintInput(): number; private _prefixReplace?; get prefixReplace(): boolean | cdktf.IResolvable; set prefixReplace(value: boolean | cdktf.IResolvable); resetPrefixReplace(): void; get prefixReplaceInput(): any; private _resourcesPrefix?; get resourcesPrefix(): string; set resourcesPrefix(value: string); resetResourcesPrefix(): void; get resourcesPrefixInput(): string; private _storageClass?; get storageClass(): string; set storageClass(value: string); resetStorageClass(): void; get storageClassInput(): string; private _taggingDirective?; get taggingDirective(): string; set taggingDirective(value: string); resetTaggingDirective(): void; get taggingDirectiveInput(): string; private _targetKeyPrefix?; get targetKeyPrefix(): string; set targetKeyPrefix(value: string); resetTargetKeyPrefix(): void; get targetKeyPrefixInput(): string; private _targetResource?; get targetResource(): string; set targetResource(value: string); get targetResourceInput(): string; private _unmodifiedSinceConstraint?; get unmodifiedSinceConstraint(): number; set unmodifiedSinceConstraint(value: number); resetUnmodifiedSinceConstraint(): void; get unmodifiedSinceConstraintInput(): number; private _accessControlGrants; get accessControlGrants(): CosBatchOperationCosPutObjectCopyAccessControlGrantsOutputReference; putAccessControlGrants(value: CosBatchOperationCosPutObjectCopyAccessControlGrants): void; resetAccessControlGrants(): void; get accessControlGrantsInput(): CosBatchOperationCosPutObjectCopyAccessControlGrants; private _newObjectMetadata; get newObjectMetadata(): CosBatchOperationCosPutObjectCopyNewObjectMetadataOutputReference; putNewObjectMetadata(value: CosBatchOperationCosPutObjectCopyNewObjectMetadata): void; resetNewObjectMetadata(): void; get newObjectMetadataInput(): CosBatchOperationCosPutObjectCopyNewObjectMetadata; private _newObjectTagging; get newObjectTagging(): CosBatchOperationCosPutObjectCopyNewObjectTaggingList; putNewObjectTagging(value: CosBatchOperationCosPutObjectCopyNewObjectTagging[] | cdktf.IResolvable): void; resetNewObjectTagging(): void; get newObjectTaggingInput(): any; } export interface CosBatchOperation { /** * cos_initiate_restore_object block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#cos_initiate_restore_object CosBatch#cos_initiate_restore_object} */ readonly cosInitiateRestoreObject?: CosBatchOperationCosInitiateRestoreObject; /** * cos_put_object_copy block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#cos_put_object_copy CosBatch#cos_put_object_copy} */ readonly cosPutObjectCopy?: CosBatchOperationCosPutObjectCopy; } export declare function cosBatchOperationToTerraform(struct?: CosBatchOperationOutputReference | CosBatchOperation): any; export declare function cosBatchOperationToHclTerraform(struct?: CosBatchOperationOutputReference | CosBatchOperation): any; export declare class CosBatchOperationOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): CosBatchOperation | undefined; set internalValue(value: CosBatchOperation | undefined); private _cosInitiateRestoreObject; get cosInitiateRestoreObject(): CosBatchOperationCosInitiateRestoreObjectOutputReference; putCosInitiateRestoreObject(value: CosBatchOperationCosInitiateRestoreObject): void; resetCosInitiateRestoreObject(): void; get cosInitiateRestoreObjectInput(): CosBatchOperationCosInitiateRestoreObject; private _cosPutObjectCopy; get cosPutObjectCopy(): CosBatchOperationCosPutObjectCopyOutputReference; putCosPutObjectCopy(value: CosBatchOperationCosPutObjectCopy): void; resetCosPutObjectCopy(): void; get cosPutObjectCopyInput(): CosBatchOperationCosPutObjectCopy; } export interface CosBatchReport { /** * Delivery bucket for task completion reports. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#bucket CosBatch#bucket} */ readonly bucket: string; /** * Whether to output the task completion report. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#enabled CosBatch#enabled} */ readonly enabled: string; /** * Task completion report format information. Legal value: Report_CSV_V1. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#format CosBatch#format} */ readonly format: string; /** * Prefix information for the task completion report. Length 0-256 bytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#prefix CosBatch#prefix} */ readonly prefix?: string; /** * Task completion report the task information that needs to be recorded to determine whether to record the execution information of all operations or the information of failed operations. Legal values: AllTasks, FailedTasksOnly. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#report_scope CosBatch#report_scope} */ readonly reportScope: string; } export declare function cosBatchReportToTerraform(struct?: CosBatchReportOutputReference | CosBatchReport): any; export declare function cosBatchReportToHclTerraform(struct?: CosBatchReportOutputReference | CosBatchReport): any; export declare class CosBatchReportOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): CosBatchReport | undefined; set internalValue(value: CosBatchReport | undefined); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string; private _enabled?; get enabled(): string; set enabled(value: string); get enabledInput(): string; private _format?; get format(): string; set format(value: string); get formatInput(): string; private _prefix?; get prefix(): string; set prefix(value: string); resetPrefix(): void; get prefixInput(): string; private _reportScope?; get reportScope(): string; set reportScope(value: string); get reportScopeInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch tencentcloud_cos_batch} */ export declare class CosBatch extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cos_batch"; /** * Generates CDKTF code for importing a CosBatch 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 CosBatch to import * @param importFromId The id of the existing CosBatch that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_batch#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CosBatch 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/cos_batch tencentcloud_cos_batch} 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 CosBatchConfig */ constructor(scope: Construct, id: string, config: CosBatchConfig); private _appid?; get appid(): number; set appid(value: number); get appidInput(): number; private _confirmationRequired?; get confirmationRequired(): boolean | cdktf.IResolvable; set confirmationRequired(value: boolean | cdktf.IResolvable); resetConfirmationRequired(): void; get confirmationRequiredInput(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get jobId(): any; private _priority?; get priority(): number; set priority(value: number); get priorityInput(): number; private _roleArn?; get roleArn(): string; set roleArn(value: string); get roleArnInput(): string; private _status?; get status(): string; set status(value: string); resetStatus(): void; get statusInput(): string; private _uin?; get uin(): string; set uin(value: string); get uinInput(): string; private _manifest; get manifest(): CosBatchManifestOutputReference; putManifest(value: CosBatchManifest): void; get manifestInput(): CosBatchManifest; private _operation; get operation(): CosBatchOperationOutputReference; putOperation(value: CosBatchOperation): void; get operationInput(): CosBatchOperation; private _report; get report(): CosBatchReportOutputReference; putReport(value: CosBatchReport): void; get reportInput(): CosBatchReport; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }