Resource: awsAuditmanagerAccountRegistration
Terraform resource for managing AWS Audit Manager Account Registration.
Example Usage
Basic 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.auditmanagerAccountRegistration.AuditmanagerAccountRegistration(
this,
"example",
{}
);
Deregister On Destroy
/*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.auditmanagerAccountRegistration.AuditmanagerAccountRegistration(
this,
"example",
{
deregisterOnDestroy: true,
}
);
Argument Reference
The following arguments are optional:
delegatedAdminAccount
- (Optional) Identifier for the delegated administrator account.deregisterOnDestroy
- (Optional) Flag to deregister AuditManager in the account upon destruction. Defaults tofalse
(ie. AuditManager will remain active in the account, even if this resource is removed).kmsKey
- (Optional) KMS key identifier.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- Unique identifier for the account registration. Since registration is applied per AWS region, this will be the active region name (ex.usEast1
).status
- Status of the account registration request.
Import
Audit Manager Account Registration resources can be imported using the id
, e.g.,