import * as core from "@terrascript/core"; export interface ClassificationTypeArgs extends core.SchemaArgs { continuous?: string | core.StringOut; oneTime?: string | core.StringOut; } export class ClassificationType extends core.Schema { @core.attr(String) public continuous?: string | core.StringOut; @core.attr(String) public oneTime?: string | core.StringOut; } export interface S3BucketAssociationArgs extends core.ResourceArgs { /** * (Required) The name of the S3 bucket that you want to associate with Amazon Macie. */ bucketName: string | core.StringOut; /** * (Optional) The configuration of how Amazon Macie classifies the S3 objects. */ classificationType?: ClassificationType; /** * (Optional) The ID of the Amazon Macie member account whose S3 resources you want to associate with M * acie. If `member_account_id` isn't specified, the action associates specified S3 resources with Maci * e for the current master account. */ memberAccountId?: string | core.StringOut; /** * (Optional) Object key prefix identifying one or more S3 objects to which the association applies. */ prefix?: string | core.StringOut; } export class S3BucketAssociation extends core.Resource { /** * (Required) The name of the S3 bucket that you want to associate with Amazon Macie. */ @core.attr(String) public bucketName!: string | core.StringOut; /** * (Optional) The configuration of how Amazon Macie classifies the S3 objects. */ @core.attr(ClassificationType, { computed: true }) public classificationType?: ClassificationType; /** * The ID of the association. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The ID of the Amazon Macie member account whose S3 resources you want to associate with M * acie. If `member_account_id` isn't specified, the action associates specified S3 resources with Maci * e for the current master account. */ @core.attr(String) public memberAccountId?: string | core.StringOut; /** * (Optional) Object key prefix identifying one or more S3 objects to which the association applies. */ @core.attr(String) public prefix?: string | core.StringOut; constructor(name: string, args?: S3BucketAssociationArgs) { super(name, "aws_macie_s3_bucket_association", args); } public override getNamespace(): string { return "aws_macie"; } }