AWS License Manager License Configuration
This page shows how to write Terraform and CloudFormation for License Manager License Configuration and write them securely.
aws_licensemanager_license_configuration (Terraform)
The License Configuration in License Manager can be configured in Terraform with the resource name aws_licensemanager_license_configuration. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "aws_licensemanager_license_configuration" "tfsquad" {
name = var.name
license_counting_type = var.license_counting_type
tags = var.tags
license_count_hard_limit = var.license_count_hard_limit
license_count = var.license_count
resource "aws_licensemanager_license_configuration" "this" {
description = var.description
license_count = var.license_count
license_count_hard_limit = var.license_count_hard_limit
license_counting_type = var.license_counting_type
license_rules = var.license_rules
Parameters
-
arnoptional computed - string -
descriptionoptional - string -
idoptional computed - string -
license_countoptional - number -
license_count_hard_limitoptional - bool -
license_counting_typerequired - string -
license_rulesoptional - list of string -
namerequired - string -
owner_account_idoptional computed - string -
tagsoptional - map from string to string
Explanation in Terraform Registry
Provides a License Manager license configuration resource.
Note: Removing the
license_countattribute is not supported by the License Manager API - useterraform taint aws_licensemanager_license_configuration.<id>to recreate the resource instead.
AWS::LicenseManager::License (CloudFormation)
The License in LicenseManager can be configured in CloudFormation with the resource name AWS::LicenseManager::License. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
ProductSKUoptional - String -
Issuerrequired - IssuerData -
LicenseNamerequired - String -
ProductNamerequired - String -
HomeRegionrequired - String -
Validityrequired - ValidityDateFormat -
Entitlementsrequired - List of Entitlement -
Beneficiaryoptional - String -
ConsumptionConfigurationrequired - ConsumptionConfiguration -
LicenseMetadataoptional - List of Metadata -
Statusoptional - String
Explanation in CloudFormation Registry
Specifies a granted license.
Granted licenses are licenses for products that your organization purchased from AWS Marketplace or directly from a seller who integrated their software with managed entitlements. For more information, see Granted licenses in the AWS License Manager User Guide.
Frequently asked questions
What is AWS License Manager License Configuration?
AWS License Manager License Configuration is a resource for License Manager of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.
Where can I find the example code for the AWS License Manager License Configuration?
For Terraform, the gauravgitdir/Jack and niveklabs/aws source code examples are useful. See the Terraform Example section for further details.