import * as core from "@terrascript/core"; export interface AccountArgs extends core.ResourceArgs { /** * (Optional) Specifies how often to publish updates to policy findings for the account. This includes * publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Ev * ents). Valid values are `FIFTEEN_MINUTES`, `ONE_HOUR` or `SIX_HOURS`. */ findingPublishingFrequency?: string | core.StringOut; /** * (Optional) Specifies the status for the account. To enable Amazon Macie and start all Macie activiti * es for the account, set this value to `ENABLED`. Valid values are `ENABLED` or `PAUSED`. */ status?: string | core.StringOut; } export class Account extends core.Resource { /** * The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created. */ @core.attr(String, { computed: true }) public createdAt!: string | core.StringOut; /** * (Optional) Specifies how often to publish updates to policy findings for the account. This includes * publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Ev * ents). Valid values are `FIFTEEN_MINUTES`, `ONE_HOUR` or `SIX_HOURS`. */ @core.attr(String, { computed: true }) public findingPublishingFrequency?: string | core.StringOut; /** * The unique identifier (ID) of the macie account. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the service-linked role that allows Macie to monitor and analyze d * ata in AWS resources for the account. */ @core.attr(String, { computed: true }) public serviceRole!: string | core.StringOut; /** * (Optional) Specifies the status for the account. To enable Amazon Macie and start all Macie activiti * es for the account, set this value to `ENABLED`. Valid values are `ENABLED` or `PAUSED`. */ @core.attr(String, { computed: true }) public status?: string | core.StringOut; /** * The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of t * he Macie account. */ @core.attr(String, { computed: true }) public updatedAt!: string | core.StringOut; constructor(name: string, args?: AccountArgs) { super(name, "aws_macie2_account", args); } public override getNamespace(): string { return "aws_macie2"; } }