import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface StorageBucketPolicyConfig extends cdktf.TerraformMetaArguments { /** * The access key to use when applying changes. This value can also be provided as `storage_access_key` specified in provider config (explicitly or within `shared_credentials_file`) is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/storage_bucket_policy#access_key StorageBucketPolicy#access_key} */ readonly accessKey?: string; /** * The name of the bucket. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/storage_bucket_policy#bucket StorageBucketPolicy#bucket} */ readonly bucket: string; /** * The text of the policy. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/storage_bucket_policy#policy StorageBucketPolicy#policy} */ readonly policy: string; /** * The secret key to use when applying changes. This value can also be provided as `storage_secret_key` specified in provider config (explicitly or within `shared_credentials_file`) is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/storage_bucket_policy#secret_key StorageBucketPolicy#secret_key} */ readonly secretKey?: string; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/storage_bucket_policy yandex_storage_bucket_policy} */ export declare class StorageBucketPolicy extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_storage_bucket_policy"; /** * Generates CDKTF code for importing a StorageBucketPolicy 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 StorageBucketPolicy to import * @param importFromId The id of the existing StorageBucketPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/storage_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 StorageBucketPolicy 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/yandex-cloud/yandex/0.177.0/docs/resources/storage_bucket_policy yandex_storage_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 StorageBucketPolicyConfig */ constructor(scope: Construct, id: string, config: StorageBucketPolicyConfig); private _accessKey?; get accessKey(): string; set accessKey(value: string); resetAccessKey(): void; get accessKeyInput(): string; private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string; private _policy?; get policy(): string; set policy(value: string); get policyInput(): string; private _secretKey?; get secretKey(): string; set secretKey(value: string); resetSecretKey(): void; get secretKeyInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }