LicenseGrantArgs

data class LicenseGrantArgs(val allowedOperations: Output<List<String>>? = null, val licenseArn: Output<String>? = null, val name: Output<String>? = null, val principal: Output<String>? = null) : ConvertibleToJava<LicenseGrantArgs>

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

Example Usage

resources:
test:
type: aws:licensemanager:LicenseGrant
properties:
name: share-license-with-account
allowedOperations:
- ListPurchasedLicenses
- CheckoutLicense
- CheckInLicense
- ExtendConsumptionLicense
- CreateToken
licenseArn: arn:aws:license-manager::111111111111:license:l-exampleARN
principal: arn:aws:iam::111111111112:root
homeRegion: us-east-1

Import

Using pulumi import, import aws_licensemanager_grant using the grant arn. For example:

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

Constructors

Link copied to clipboard
constructor(allowedOperations: Output<List<String>>? = null, licenseArn: Output<String>? = null, name: Output<String>? = null, principal: Output<String>? = null)

Properties

Link copied to clipboard
val allowedOperations: Output<List<String>>? = null

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 licenseArn: Output<String>? = null

The ARN of the license to grant.

Link copied to clipboard
val name: Output<String>? = null

The Name of the grant.

Link copied to clipboard
val principal: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): LicenseGrantArgs