import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CosBucketPolicyConfig extends cdktf.TerraformMetaArguments { /** * The name of a bucket to be created. Bucket format should be [custom name]-[appid], for example `mycos-1258798060`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_bucket_policy#bucket CosBucketPolicy#bucket} */ readonly bucket: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_bucket_policy#id CosBucketPolicy#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; /** * The text of the policy. For more info please refer to [Tencent official doc](https://intl.cloud.tencent.com/document/product/436/18023), The six-segment resource scenario example in the document is as follows: Example of specifying a bucket: `qcs::cos:ap-guangzhou:uid/1250000000:examplebucket-1250000000/*`, In the cdc scenario: `qcs::cos:ap-guangzhou:uid/1250000000:cdc_cluster-123456_examplebucket-1250000000/*`; Example of specifying a folder: `qcs::cos:ap-guangzhou:uid/1250000000:examplebucket-1250000000/folder/*`, In the cdc scenario: `qcs::cos:ap-guangzhou:uid/1250000000:cdc_cluster-123456_examplebucket-1250000000/folder/*`; Specified object example: `qcs::cos:ap-guangzhou:uid/1250000000:examplebucket-1250000000/folder/exampleobject`, In the cdc scenario: `qcs::cos:ap-guangzhou:uid/1250000000:cdc_cluster-123456_examplebucket-1250000000/folder/exampleobject`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_bucket_policy#policy CosBucketPolicy#policy} */ readonly policy: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_bucket_policy tencentcloud_cos_bucket_policy} */ export declare class CosBucketPolicy extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cos_bucket_policy"; /** * Generates CDKTF code for importing a CosBucketPolicy 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 CosBucketPolicy to import * @param importFromId The id of the existing CosBucketPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cos_bucket_policy#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CosBucketPolicy 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_bucket_policy tencentcloud_cos_bucket_policy} 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 CosBucketPolicyConfig */ constructor(scope: Construct, id: string, config: CosBucketPolicyConfig); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _policy?; get policy(): string; set policy(value: string); get policyInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }