Resource: awsMacie2Account
Provides a resource to manage an AWS Macie Account.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.macie2Account.Macie2Account(this, "test", {
findingPublishingFrequency: "FIFTEEN_MINUTES",
status: "ENABLED",
});
Argument Reference
The following arguments are supported:
findingPublishingFrequency
- (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 Events). Valid values areFIFTEEN_MINUTES
,ONE_HOUR
orSIX_HOURS
.status
- (Optional) Specifies the status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value toenabled
. Valid values areenabled
orpaused
.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- The unique identifier (ID) of the macie account.serviceRole
- The Amazon Resource Name (ARN) of the service-linked role that allows Macie to monitor and analyze data in AWS resources for the account.createdAt
- The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.updatedAt
- The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the Macie account.
Import
awsMacie2Account
can be imported using the id, e.g.,