LicenseGrantAccepterArgs

data class LicenseGrantAccepterArgs(val grantArn: Output<String>? = null) : ConvertibleToJava<LicenseGrantAccepterArgs>

Accepts 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.LicenseGrantAccepter;
import com.pulumi.aws.licensemanager.LicenseGrantAccepterArgs;
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 LicenseGrantAccepter("test", LicenseGrantAccepterArgs.builder()
.name("arn:aws:license-manager::123456789012:grant:g-1cf9fba4ba2f42dcab11c686c4b4d329")
.build());
}
}

Import

aws_licensemanager_grant_accepter can be imported using the grant arn.

$ pulumi import aws:licensemanager/licenseGrantAccepter:LicenseGrantAccepter test arn:aws:license-manager::123456789012:grant:g-1cf9fba4ba2f42dcab11c686c4b4d329

Constructors

Link copied to clipboard
constructor(grantArn: Output<String>? = null)

Properties

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

The ARN of the grant to accept.

Functions

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