# Copyright (c) 2012-2026, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***
from . import AWSObject, AWSProperty, PropsDictType, Tags
from .validators import boolean, integer
[docs]class Grant(AWSObject):
"""
`Grant <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html>`__
"""
resource_type = "AWS::LicenseManager::Grant"
props: PropsDictType = {
"AllowedOperations": ([str], False),
"GrantName": (str, False),
"HomeRegion": (str, False),
"LicenseArn": (str, False),
"Principals": ([str], False),
"Status": (str, False),
"Tags": (Tags, False),
}
[docs]class BorrowConfiguration(AWSProperty):
"""
`BorrowConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-borrowconfiguration.html>`__
"""
props: PropsDictType = {
"AllowEarlyCheckIn": (boolean, True),
"MaxTimeToLiveInMinutes": (integer, True),
}
[docs]class ProvisionalConfiguration(AWSProperty):
"""
`ProvisionalConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-provisionalconfiguration.html>`__
"""
props: PropsDictType = {
"MaxTimeToLiveInMinutes": (integer, True),
}
[docs]class ConsumptionConfiguration(AWSProperty):
"""
`ConsumptionConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-consumptionconfiguration.html>`__
"""
props: PropsDictType = {
"BorrowConfiguration": (BorrowConfiguration, False),
"ProvisionalConfiguration": (ProvisionalConfiguration, False),
"RenewType": (str, False),
}
[docs]class Entitlement(AWSProperty):
"""
`Entitlement <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-entitlement.html>`__
"""
props: PropsDictType = {
"AllowCheckIn": (boolean, False),
"MaxCount": (integer, False),
"Name": (str, True),
"Overage": (boolean, False),
"Unit": (str, True),
"Value": (str, False),
}
[docs]class IssuerData(AWSProperty):
"""
`IssuerData <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-issuerdata.html>`__
"""
props: PropsDictType = {
"Name": (str, True),
"SignKey": (str, False),
}
[docs]class License(AWSObject):
"""
`License <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html>`__
"""
resource_type = "AWS::LicenseManager::License"
props: PropsDictType = {
"Beneficiary": (str, True),
"ConsumptionConfiguration": (ConsumptionConfiguration, True),
"Entitlements": ([Entitlement], True),
"HomeRegion": (str, True),
"Issuer": (IssuerData, True),
"LicenseMetadata": ([Metadata], False),
"LicenseName": (str, True),
"ProductName": (str, True),
"ProductSKU": (str, True),
"Status": (str, False),
"Tags": (Tags, False),
"Validity": (ValidityDateFormat, True),
}
[docs]class LicenseAssetGroupConfiguration(AWSProperty):
"""
`LicenseAssetGroupConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-licenseassetgroup-licenseassetgroupconfiguration.html>`__
"""
props: PropsDictType = {
"UsageDimension": (str, False),
}
[docs]class LicenseAssetGroupProperty(AWSProperty):
"""
`LicenseAssetGroupProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-licenseassetgroup-licenseassetgroupproperty.html>`__
"""
props: PropsDictType = {
"Key": (str, False),
"Value": (str, False),
}
[docs]class LicenseAssetGroup(AWSObject):
"""
`LicenseAssetGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-licenseassetgroup.html>`__
"""
resource_type = "AWS::LicenseManager::LicenseAssetGroup"
props: PropsDictType = {
"AssociatedLicenseAssetRulesetARNs": ([str], True),
"Description": (str, False),
"LicenseAssetGroupConfigurations": ([LicenseAssetGroupConfiguration], True),
"Name": (str, True),
"Properties": ([LicenseAssetGroupProperty], False),
"Tags": (Tags, False),
}
[docs]class MatchingRuleStatement(AWSProperty):
"""
`MatchingRuleStatement <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-licenseassetruleset-matchingrulestatement.html>`__
"""
props: PropsDictType = {
"Constraint": (str, True),
"KeyToMatch": (str, True),
"ValueToMatch": ([str], True),
}
[docs]class AndRuleStatement(AWSProperty):
"""
`AndRuleStatement <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-licenseassetruleset-andrulestatement.html>`__
"""
props: PropsDictType = {
"MatchingRuleStatements": ([MatchingRuleStatement], False),
}
[docs]class OrRuleStatement(AWSProperty):
"""
`OrRuleStatement <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-licenseassetruleset-orrulestatement.html>`__
"""
props: PropsDictType = {
"MatchingRuleStatements": ([MatchingRuleStatement], False),
}
[docs]class InstanceRuleStatement(AWSProperty):
"""
`InstanceRuleStatement <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-licenseassetruleset-instancerulestatement.html>`__
"""
props: PropsDictType = {
"AndRuleStatement": (AndRuleStatement, False),
"MatchingRuleStatement": (MatchingRuleStatement, False),
"OrRuleStatement": (OrRuleStatement, False),
}
[docs]class LicenseConfigurationRuleStatement(AWSProperty):
"""
`LicenseConfigurationRuleStatement <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-licenseassetruleset-licenseconfigurationrulestatement.html>`__
"""
props: PropsDictType = {
"AndRuleStatement": (AndRuleStatement, False),
"MatchingRuleStatement": (MatchingRuleStatement, False),
"OrRuleStatement": (OrRuleStatement, False),
}
[docs]class LicenseRuleStatement(AWSProperty):
"""
`LicenseRuleStatement <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-licenseassetruleset-licenserulestatement.html>`__
"""
props: PropsDictType = {
"AndRuleStatement": (AndRuleStatement, False),
"MatchingRuleStatement": (MatchingRuleStatement, False),
"OrRuleStatement": (OrRuleStatement, False),
}
[docs]class RuleStatement(AWSProperty):
"""
`RuleStatement <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-licenseassetruleset-rulestatement.html>`__
"""
props: PropsDictType = {
"InstanceRuleStatement": (InstanceRuleStatement, False),
"LicenseConfigurationRuleStatement": (LicenseConfigurationRuleStatement, False),
"LicenseRuleStatement": (LicenseRuleStatement, False),
}
[docs]class LicenseAssetRule(AWSProperty):
"""
`LicenseAssetRule <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-licenseassetruleset-licenseassetrule.html>`__
"""
props: PropsDictType = {
"RuleStatement": (RuleStatement, True),
}
[docs]class LicenseAssetRuleSet(AWSObject):
"""
`LicenseAssetRuleSet <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-licenseassetruleset.html>`__
"""
resource_type = "AWS::LicenseManager::LicenseAssetRuleSet"
props: PropsDictType = {
"Description": (str, False),
"Name": (str, True),
"Rules": ([LicenseAssetRule], True),
"Tags": (Tags, False),
}
[docs]class LicenseConfiguration(AWSObject):
"""
`LicenseConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-licenseconfiguration.html>`__
"""
resource_type = "AWS::LicenseManager::LicenseConfiguration"
props: PropsDictType = {
"Description": (str, False),
"DisassociateWhenNotFound": (boolean, False),
"LicenseCount": (integer, False),
"LicenseCountHardLimit": (boolean, False),
"LicenseCountingType": (str, True),
"LicenseExpiry": (integer, False),
"LicenseRules": ([str], False),
"Name": (str, True),
"ProductInformationList": ([ProductInformation], False),
"Tags": (Tags, False),
}
[docs]class ReportContext(AWSProperty):
"""
`ReportContext <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-reportgenerator-reportcontext.html>`__
"""
props: PropsDictType = {
"LicenseAssetGroupArns": ([str], False),
"LicenseConfigurationArns": ([str], False),
"ReportEndDate": (str, False),
"ReportStartDate": (str, False),
}
[docs]class ReportFrequency(AWSProperty):
"""
`ReportFrequency <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-reportgenerator-reportfrequency.html>`__
"""
props: PropsDictType = {
"Period": (str, False),
"Value": (integer, False),
}
[docs]class ReportGenerator(AWSObject):
"""
`ReportGenerator <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-reportgenerator.html>`__
"""
resource_type = "AWS::LicenseManager::ReportGenerator"
props: PropsDictType = {
"Description": (str, False),
"ReportContext": (ReportContext, True),
"ReportFrequency": (ReportFrequency, True),
"ReportGeneratorName": (str, True),
"ReportType": ([str], True),
"Tags": (Tags, False),
}
[docs]class S3Location(AWSProperty):
"""
`S3Location <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-reportgenerator-s3location.html>`__
"""
props: PropsDictType = {
"Bucket": (str, False),
"KeyPrefix": (str, False),
}