Resource: awsMacieMemberAccountAssociation
\~> NOTE: This resource interacts with Amazon Macie Classic. Macie Classic cannot be activated in new accounts. See the FAQ for more details.
Associates an AWS account with Amazon Macie as a member account.
\~> NOTE: Before using Amazon Macie for the first time it must be enabled manually. Instructions are here.
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.macieMemberAccountAssociation.MacieMemberAccountAssociation(
this,
"example",
{
memberAccountId: "123456789012",
}
);
Argument Reference
The following arguments are supported:
memberAccountId
- (Required) The ID of the AWS account that you want to associate with Amazon Macie as a member account.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- The ID of the association.