getReceivedLicense

This resource can be used to get data on a received license using an ARN. This can be helpful for pulling in data on a license from the AWS marketplace and sharing that license with another account.

Example Usage

The following shows getting the received license data using and ARN.

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.licensemanager.LicensemanagerFunctions;
import com.pulumi.aws.licensemanager.inputs.GetReceivedLicenseArgs;
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) {
final var test = LicensemanagerFunctions.getReceivedLicense(GetReceivedLicenseArgs.builder()
.licenseArn("arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0")
.build());
}
}

Return

A collection of values returned by getReceivedLicense.

Parameters

argument

A collection of arguments for invoking getReceivedLicense.


Return

A collection of values returned by getReceivedLicense.

Parameters

licenseArn

The ARN of the received license you want data for.

See also


Return

A collection of values returned by getReceivedLicense.

Parameters

argument

Builder for com.pulumi.aws.licensemanager.kotlin.inputs.GetReceivedLicensePlainArgs.

See also