1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. licensemanager
  5. getLicense

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.licensemanager.getLicense

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource Type definition for AWS::LicenseManager::License

Using getLicense

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getLicense(args: GetLicenseArgs, opts?: InvokeOptions): Promise<GetLicenseResult>
function getLicenseOutput(args: GetLicenseOutputArgs, opts?: InvokeOptions): Output<GetLicenseResult>
Copy
def get_license(license_arn: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetLicenseResult
def get_license_output(license_arn: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetLicenseResult]
Copy
func LookupLicense(ctx *Context, args *LookupLicenseArgs, opts ...InvokeOption) (*LookupLicenseResult, error)
func LookupLicenseOutput(ctx *Context, args *LookupLicenseOutputArgs, opts ...InvokeOption) LookupLicenseResultOutput
Copy

> Note: This function is named LookupLicense in the Go SDK.

public static class GetLicense 
{
    public static Task<GetLicenseResult> InvokeAsync(GetLicenseArgs args, InvokeOptions? opts = null)
    public static Output<GetLicenseResult> Invoke(GetLicenseInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLicenseResult> getLicense(GetLicenseArgs args, InvokeOptions options)
public static Output<GetLicenseResult> getLicense(GetLicenseArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:licensemanager:getLicense
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

LicenseArn This property is required. string
Amazon Resource Name is a unique name for each resource.
LicenseArn This property is required. string
Amazon Resource Name is a unique name for each resource.
licenseArn This property is required. String
Amazon Resource Name is a unique name for each resource.
licenseArn This property is required. string
Amazon Resource Name is a unique name for each resource.
license_arn This property is required. str
Amazon Resource Name is a unique name for each resource.
licenseArn This property is required. String
Amazon Resource Name is a unique name for each resource.

getLicense Result

The following output properties are available:

Beneficiary string
Beneficiary of the license.
ConsumptionConfiguration Pulumi.AwsNative.LicenseManager.Outputs.LicenseConsumptionConfiguration
Configuration for consumption of the license.
Entitlements List<Pulumi.AwsNative.LicenseManager.Outputs.LicenseEntitlement>
License entitlements.
HomeRegion string
Home region for the created license.
Issuer Pulumi.AwsNative.LicenseManager.Outputs.LicenseIssuerData
License issuer.
LicenseArn string
Amazon Resource Name is a unique name for each resource.
LicenseMetadata List<Pulumi.AwsNative.LicenseManager.Outputs.LicenseMetadata>
License metadata.
LicenseName string
Name for the created license.
ProductName string
Product name for the created license.
ProductSku string
ProductSKU of the license.
Validity Pulumi.AwsNative.LicenseManager.Outputs.LicenseValidityDateFormat
Date and time range during which the license is valid, in ISO8601-UTC format.
Version string
The version of the license.
Beneficiary string
Beneficiary of the license.
ConsumptionConfiguration LicenseConsumptionConfiguration
Configuration for consumption of the license.
Entitlements []LicenseEntitlement
License entitlements.
HomeRegion string
Home region for the created license.
Issuer LicenseIssuerData
License issuer.
LicenseArn string
Amazon Resource Name is a unique name for each resource.
LicenseMetadata []LicenseMetadata
License metadata.
LicenseName string
Name for the created license.
ProductName string
Product name for the created license.
ProductSku string
ProductSKU of the license.
Validity LicenseValidityDateFormat
Date and time range during which the license is valid, in ISO8601-UTC format.
Version string
The version of the license.
beneficiary String
Beneficiary of the license.
consumptionConfiguration LicenseConsumptionConfiguration
Configuration for consumption of the license.
entitlements List<LicenseEntitlement>
License entitlements.
homeRegion String
Home region for the created license.
issuer LicenseIssuerData
License issuer.
licenseArn String
Amazon Resource Name is a unique name for each resource.
licenseMetadata List<LicenseMetadata>
License metadata.
licenseName String
Name for the created license.
productName String
Product name for the created license.
productSku String
ProductSKU of the license.
validity LicenseValidityDateFormat
Date and time range during which the license is valid, in ISO8601-UTC format.
version String
The version of the license.
beneficiary string
Beneficiary of the license.
consumptionConfiguration LicenseConsumptionConfiguration
Configuration for consumption of the license.
entitlements LicenseEntitlement[]
License entitlements.
homeRegion string
Home region for the created license.
issuer LicenseIssuerData
License issuer.
licenseArn string
Amazon Resource Name is a unique name for each resource.
licenseMetadata LicenseMetadata[]
License metadata.
licenseName string
Name for the created license.
productName string
Product name for the created license.
productSku string
ProductSKU of the license.
validity LicenseValidityDateFormat
Date and time range during which the license is valid, in ISO8601-UTC format.
version string
The version of the license.
beneficiary str
Beneficiary of the license.
consumption_configuration LicenseConsumptionConfiguration
Configuration for consumption of the license.
entitlements Sequence[LicenseEntitlement]
License entitlements.
home_region str
Home region for the created license.
issuer LicenseIssuerData
License issuer.
license_arn str
Amazon Resource Name is a unique name for each resource.
license_metadata Sequence[LicenseMetadata]
License metadata.
license_name str
Name for the created license.
product_name str
Product name for the created license.
product_sku str
ProductSKU of the license.
validity LicenseValidityDateFormat
Date and time range during which the license is valid, in ISO8601-UTC format.
version str
The version of the license.
beneficiary String
Beneficiary of the license.
consumptionConfiguration Property Map
Configuration for consumption of the license.
entitlements List<Property Map>
License entitlements.
homeRegion String
Home region for the created license.
issuer Property Map
License issuer.
licenseArn String
Amazon Resource Name is a unique name for each resource.
licenseMetadata List<Property Map>
License metadata.
licenseName String
Name for the created license.
productName String
Product name for the created license.
productSku String
ProductSKU of the license.
validity Property Map
Date and time range during which the license is valid, in ISO8601-UTC format.
version String
The version of the license.

Supporting Types

LicenseBorrowConfiguration

AllowEarlyCheckIn This property is required. bool
Indicates whether early check-ins are allowed.
MaxTimeToLiveInMinutes This property is required. int
Maximum time for the borrow configuration, in minutes.
AllowEarlyCheckIn This property is required. bool
Indicates whether early check-ins are allowed.
MaxTimeToLiveInMinutes This property is required. int
Maximum time for the borrow configuration, in minutes.
allowEarlyCheckIn This property is required. Boolean
Indicates whether early check-ins are allowed.
maxTimeToLiveInMinutes This property is required. Integer
Maximum time for the borrow configuration, in minutes.
allowEarlyCheckIn This property is required. boolean
Indicates whether early check-ins are allowed.
maxTimeToLiveInMinutes This property is required. number
Maximum time for the borrow configuration, in minutes.
allow_early_check_in This property is required. bool
Indicates whether early check-ins are allowed.
max_time_to_live_in_minutes This property is required. int
Maximum time for the borrow configuration, in minutes.
allowEarlyCheckIn This property is required. Boolean
Indicates whether early check-ins are allowed.
maxTimeToLiveInMinutes This property is required. Number
Maximum time for the borrow configuration, in minutes.

LicenseConsumptionConfiguration

BorrowConfiguration LicenseBorrowConfiguration
Details about a borrow configuration.
ProvisionalConfiguration LicenseProvisionalConfiguration
Details about a provisional configuration.
RenewType string
Renewal frequency.
borrowConfiguration LicenseBorrowConfiguration
Details about a borrow configuration.
provisionalConfiguration LicenseProvisionalConfiguration
Details about a provisional configuration.
renewType String
Renewal frequency.
borrowConfiguration LicenseBorrowConfiguration
Details about a borrow configuration.
provisionalConfiguration LicenseProvisionalConfiguration
Details about a provisional configuration.
renewType string
Renewal frequency.
borrow_configuration LicenseBorrowConfiguration
Details about a borrow configuration.
provisional_configuration LicenseProvisionalConfiguration
Details about a provisional configuration.
renew_type str
Renewal frequency.
borrowConfiguration Property Map
Details about a borrow configuration.
provisionalConfiguration Property Map
Details about a provisional configuration.
renewType String
Renewal frequency.

LicenseEntitlement

Name This property is required. string
Entitlement name.
Unit This property is required. string
Entitlement unit.
AllowCheckIn bool
Indicates whether check-ins are allowed.
MaxCount int
Maximum entitlement count. Use if the unit is not None.
Overage bool
Indicates whether overages are allowed.
Value string
Entitlement resource. Use only if the unit is None.
Name This property is required. string
Entitlement name.
Unit This property is required. string
Entitlement unit.
AllowCheckIn bool
Indicates whether check-ins are allowed.
MaxCount int
Maximum entitlement count. Use if the unit is not None.
Overage bool
Indicates whether overages are allowed.
Value string
Entitlement resource. Use only if the unit is None.
name This property is required. String
Entitlement name.
unit This property is required. String
Entitlement unit.
allowCheckIn Boolean
Indicates whether check-ins are allowed.
maxCount Integer
Maximum entitlement count. Use if the unit is not None.
overage Boolean
Indicates whether overages are allowed.
value String
Entitlement resource. Use only if the unit is None.
name This property is required. string
Entitlement name.
unit This property is required. string
Entitlement unit.
allowCheckIn boolean
Indicates whether check-ins are allowed.
maxCount number
Maximum entitlement count. Use if the unit is not None.
overage boolean
Indicates whether overages are allowed.
value string
Entitlement resource. Use only if the unit is None.
name This property is required. str
Entitlement name.
unit This property is required. str
Entitlement unit.
allow_check_in bool
Indicates whether check-ins are allowed.
max_count int
Maximum entitlement count. Use if the unit is not None.
overage bool
Indicates whether overages are allowed.
value str
Entitlement resource. Use only if the unit is None.
name This property is required. String
Entitlement name.
unit This property is required. String
Entitlement unit.
allowCheckIn Boolean
Indicates whether check-ins are allowed.
maxCount Number
Maximum entitlement count. Use if the unit is not None.
overage Boolean
Indicates whether overages are allowed.
value String
Entitlement resource. Use only if the unit is None.

LicenseIssuerData

Name This property is required. string
Issuer name.
SignKey string
Asymmetric KMS key from AWS Key Management Service . The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.
Name This property is required. string
Issuer name.
SignKey string
Asymmetric KMS key from AWS Key Management Service . The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.
name This property is required. String
Issuer name.
signKey String
Asymmetric KMS key from AWS Key Management Service . The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.
name This property is required. string
Issuer name.
signKey string
Asymmetric KMS key from AWS Key Management Service . The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.
name This property is required. str
Issuer name.
sign_key str
Asymmetric KMS key from AWS Key Management Service . The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.
name This property is required. String
Issuer name.
signKey String
Asymmetric KMS key from AWS Key Management Service . The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.

LicenseMetadata

Name This property is required. string
The key name.
Value This property is required. string
The value.
Name This property is required. string
The key name.
Value This property is required. string
The value.
name This property is required. String
The key name.
value This property is required. String
The value.
name This property is required. string
The key name.
value This property is required. string
The value.
name This property is required. str
The key name.
value This property is required. str
The value.
name This property is required. String
The key name.
value This property is required. String
The value.

LicenseProvisionalConfiguration

MaxTimeToLiveInMinutes This property is required. int
Maximum time for the provisional configuration, in minutes.
MaxTimeToLiveInMinutes This property is required. int
Maximum time for the provisional configuration, in minutes.
maxTimeToLiveInMinutes This property is required. Integer
Maximum time for the provisional configuration, in minutes.
maxTimeToLiveInMinutes This property is required. number
Maximum time for the provisional configuration, in minutes.
max_time_to_live_in_minutes This property is required. int
Maximum time for the provisional configuration, in minutes.
maxTimeToLiveInMinutes This property is required. Number
Maximum time for the provisional configuration, in minutes.

LicenseValidityDateFormat

Begin This property is required. string
Validity begin date for the license.
End This property is required. string
Validity begin date for the license.
Begin This property is required. string
Validity begin date for the license.
End This property is required. string
Validity begin date for the license.
begin This property is required. String
Validity begin date for the license.
end This property is required. String
Validity begin date for the license.
begin This property is required. string
Validity begin date for the license.
end This property is required. string
Validity begin date for the license.
begin This property is required. str
Validity begin date for the license.
end This property is required. str
Validity begin date for the license.
begin This property is required. String
Validity begin date for the license.
end This property is required. String
Validity begin date for the license.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi