CfnLicenseConfigurationProps Struct
Properties for defining a CfnLicenseConfiguration.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_licensemanager as licensemanager } from 'aws-cdk-lib';
const cfnLicenseConfigurationProps: licensemanager.CfnLicenseConfigurationProps = {
licenseCountingType: 'licenseCountingType',
name: 'name',
// the properties below are optional
description: 'description',
disassociateWhenNotFound: false,
licenseCount: 123,
licenseCountHardLimit: false,
licenseExpiry: 123,
licenseRules: ['licenseRules'],
productInformationList: [{
productInformationFilterList: [{
productInformationFilterComparator: 'productInformationFilterComparator',
productInformationFilterName: 'productInformationFilterName',
// the properties below are optional
productInformationFilterValue: ['productInformationFilterValue'],
}],
resourceType: 'resourceType',
}],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#Description of the license configuration.
disassociateWhenNotFoundoptionalboolean | IResolvabledisassociate_when_not_foundoptionaltyping.Union[bool, IResolvable]disassociateWhenNotFoundoptionalBooleanDisassociateWhenNotFoundoptionalboolDisassociateWhenNotFoundoptionalinterface{}#When true, disassociates a resource when software is uninstalled.
licenseCountoptionalnumberlicense_countoptionalint | floatlicenseCountoptionalNumberLicenseCountoptionaldoubleLicenseCountoptional*float64#Number of licenses managed by the license configuration.
licenseCountHardLimitoptionalboolean | IResolvablelicense_count_hard_limitoptionaltyping.Union[bool, IResolvable]licenseCountHardLimitoptionalBooleanLicenseCountHardLimitoptionalboolLicenseCountHardLimitoptionalinterface{}#Indicates whether hard or soft license enforcement is used.
Exceeding a hard limit blocks the launch of new instances.
licenseCountingTypestringlicense_counting_typestrlicenseCountingTypeStringLicenseCountingTypestringLicenseCountingType*stringrequired#Dimension used to track the license inventory.
licenseExpiryoptionalnumberlicense_expiryoptionalint | floatlicenseExpiryoptionalNumberLicenseExpiryoptionaldoubleLicenseExpiryoptional*float64#License configuration expiry as an epoch timestamp (seconds since 1970-01-01T00:00:00Z).
licenseRulesoptionalstring[]license_rulesoptionaltyping.List[str]licenseRulesoptionalList<String>LicenseRulesoptionalstring[]LicenseRulesoptional*[]*string#License rules.
The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost).
Name of the license configuration.
productInformationListoptionalIResolvable | IResolvable | CfnLicenseConfiguration.ProductInformationProperty[]product_information_listoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ProductInformationProperty]]]productInformationListoptionalIResolvableProductInformationListoptionalIResolvableProductInformationListoptionalinterface{}#Product information.