CmdID / aws / aws license-manager
aws license-manager get-license-configuration
Gets detailed information about the specified license configuration. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To get license configuration information
The following get-license-configuration example displays details for the specified license configuration.
aws license-manager get-license-configuration --license-configuration-arn arn:aws:license-manager:us-west-2:123456789012:license-configuration:lic-38b658717b87478aaa7c00883EXAMPLEIdentify--license-configuration-arnAmazon Resource Name (ARN) of the license configuration.Its output, shortened
{
"LicenseConfigurationId": "lic-38b658717b87478aaa7c00883EXAMPLE",
"LicenseConfigurationArn": "arn:aws:license-manager:us-west-2:123456789012:license-configuration:lic-38b658717b87478aaa7c00883EXAMPLE",
"Name": "my-license-configuration",
"LicenseCountingType": "vCPU",
"LicenseRules": [],
"LicenseCountHardLimit": false,
"ConsumedLicenses": 0,
"Status": "AVAILABLE",
"OwnerAccountId": "123456789012",
"ConsumedLicenseSummaryList": [
{
"ResourceType": "EC2_INSTANCE",
"ConsumedLicenses": 0
},
{
"ResourceType": "EC2_HOST",
"ConsumedLicenses": 0
},
{
"ResourceType": "SYSTEMS_MANAGER_MANAGED_INSTANCE",
"ConsumedLicenses": 0
}
],
"ManagedResourceSummaryList": [
{
"ResourceType": "EC2_INSTANCE",
"AssociationCount": 0
},
{
… 13 more linesFor more information, see View self-managed licenses in License Manager in the AWS License Manager User Guide.
Options
--license-configuration-arnAmazon Resource Name (ARN) of the license configuration.