Account

class Account : KotlinCustomResource

Provides a resource to manage an AWS Macie Account.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.macie2.Account;
import com.pulumi.aws.macie2.AccountArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new Account("test", AccountArgs.builder()
.findingPublishingFrequency("FIFTEEN_MINUTES")
.status("ENABLED")
.build());
}
}

Import

aws_macie2_account can be imported using the id, e.g.,

$ pulumi import aws:macie2/account:Account example abcd1

Properties

Link copied to clipboard
val createdAt: Output<String>

The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.

Link copied to clipboard

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 are FIFTEEN_MINUTES, ONE_HOUR or SIX_HOURS.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val serviceRole: Output<String>

The Amazon Resource Name (ARN) of the service-linked role that allows Macie to monitor and analyze data in AWS resources for the account.

Link copied to clipboard
val status: Output<String>

Specifies the status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED. Valid values are ENABLED or PAUSED.

Link copied to clipboard
val updatedAt: Output<String>

The date and time, in UTC and extended RFC 3339 format, of the most recent change to the status of the Macie account.

Link copied to clipboard
val urn: Output<String>