Skip to content

Resource: awsLicensemanagerGrantAccepter

Accepts a License Manager grant. This allows for sharing licenses with other aws accounts.

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.licensemanagerGrantAccepter.LicensemanagerGrantAccepter(this, "test", {
  name: "arn:aws:license-manager::123456789012:grant:g-1cf9fba4ba2f42dcab11c686c4b4d329",
});

Argument Reference

The following arguments are supported:

  • grantArn - (Required) The ARN of the grant to accept.

Attributes Reference

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

  • id - The grant ARN (Same as arn).
  • arn - The grant ARN.
  • name - The Name of the grant.
  • allowedOperations - A list of the allowed operations for the grant.
  • licenseArn - The ARN of the license for the grant.
  • principal - The target account for the grant.
  • homeRegion - The home region for the license.
  • parentArn - The parent ARN.
  • status - The grant status.
  • version - The grant version.

Import

awsLicensemanagerGrantAccepter can be imported using the grant arn.

$ terraform import aws_licensemanager_grant_accepter.test arn:aws:license-manager::123456789012:grant:g-1cf9fba4ba2f42dcab11c686c4b4d329