import * as core from "@terrascript/core"; export interface DsBucketPolicyArgs { /** * (Required) The bucket name. */ bucket: string | core.StringOut; } export class DsBucketPolicy extends core.Data { /** * (Required) The bucket name. */ @core.attr(String) public bucket!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * IAM bucket policy. */ @core.attr(String, { computed: true }) public policy!: string | core.StringOut; constructor(name: string, args?: DsBucketPolicyArgs) { super(name, "aws_s3_bucket_policy", args); } public override getNamespace(): string { return "aws_s3"; } }