LicenseGrant

class LicenseGrant : KotlinCustomResource

Provides a License Manager grant. This allows for sharing licenses with other AWS accounts.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.licensemanager.LicenseGrant;
import com.pulumi.aws.licensemanager.LicenseGrantArgs;
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 LicenseGrant("test", LicenseGrantArgs.builder()
.allowedOperations(
"ListPurchasedLicenses",
"CheckoutLicense",
"CheckInLicense",
"ExtendConsumptionLicense",
"CreateToken")
.homeRegion("us-east-1")
.licenseArn("arn:aws:license-manager::111111111111:license:l-exampleARN")
.principal("arn:aws:iam::111111111112:root")
.build());
}
}

Import

aws_licensemanager_grant can be imported using the grant arn.

$ pulumi import aws:licensemanager/licenseGrant:LicenseGrant test arn:aws:license-manager::123456789011:grant:g-01d313393d9e443d8664cc054db1e089

Properties

Link copied to clipboard

A list of the allowed operations for the grant. This is a subset of the allowed operations on the license.

Link copied to clipboard
val arn: Output<String>

The grant ARN.

Link copied to clipboard
val homeRegion: Output<String>

The home region for the license.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val licenseArn: Output<String>

The ARN of the license to grant.

Link copied to clipboard
val name: Output<String>

The Name of the grant.

Link copied to clipboard
val parentArn: Output<String>

The parent ARN.

Link copied to clipboard
val principal: Output<String>

The target account for the grant in the form of the ARN for an account principal of the root user.

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

The grant status.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val version: Output<String>

The grant version.