Skip to content

Resource: awsAuditmanagerFrameworkShare

Terraform resource for managing an AWS Audit Manager Framework Share.

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.auditmanagerFrameworkShare.AuditmanagerFrameworkShare(this, "example", {
  destinationAccount: "012345678901",
  destinationRegion: "us-east-1",
  frameworkId: "${aws_auditmanager_framework.example.id}",
});

Argument Reference

The following arguments are required:

  • destinationAccount - (Required) Amazon Web Services account of the recipient.
  • destinationRegion - (Required) Amazon Web Services region of the recipient.
  • frameworkId - (Required) Unique identifier for the shared custom framework.

The following arguments are optional:

  • comment - (Optional) Comment from the sender about the share request.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - Unique identifier for the share request.
  • status - Status of the share request.

Import

Audit Manager Framework Share can be imported using the id, e.g.,

$ terraform import aws_auditmanager_framework_share.example abcdef-123456