CfnLicenseProps
- class aws_cdk.aws_licensemanager.CfnLicenseProps(*, consumption_configuration, entitlements, home_region, issuer, license_name, product_name, validity, beneficiary=None, license_metadata=None, product_sku=None, status=None)
Bases:
object
Properties for defining a
CfnLicense
.- Parameters:
consumption_configuration (
Union
[ConsumptionConfigurationProperty
,Dict
[str
,Any
],IResolvable
]) – Configuration for consumption of the license.entitlements (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,EntitlementProperty
,Dict
[str
,Any
]]]]) – License entitlements.home_region (
str
) – Home Region of the license.issuer (
Union
[IResolvable
,IssuerDataProperty
,Dict
[str
,Any
]]) – License issuer.license_name (
str
) – License name.product_name (
str
) – Product name.validity (
Union
[IResolvable
,ValidityDateFormatProperty
,Dict
[str
,Any
]]) – Date and time range during which the license is valid, in ISO8601-UTC format.beneficiary (
Optional
[str
]) – License beneficiary.license_metadata (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,MetadataProperty
,Dict
[str
,Any
]]],None
]) – License metadata.product_sku (
Optional
[str
]) – Product SKU.status (
Optional
[str
]) – License status.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_licensemanager as licensemanager cfn_license_props = licensemanager.CfnLicenseProps( consumption_configuration=licensemanager.CfnLicense.ConsumptionConfigurationProperty( borrow_configuration=licensemanager.CfnLicense.BorrowConfigurationProperty( allow_early_check_in=False, max_time_to_live_in_minutes=123 ), provisional_configuration=licensemanager.CfnLicense.ProvisionalConfigurationProperty( max_time_to_live_in_minutes=123 ), renew_type="renewType" ), entitlements=[licensemanager.CfnLicense.EntitlementProperty( name="name", unit="unit", # the properties below are optional allow_check_in=False, max_count=123, overage=False, value="value" )], home_region="homeRegion", issuer=licensemanager.CfnLicense.IssuerDataProperty( name="name", # the properties below are optional sign_key="signKey" ), license_name="licenseName", product_name="productName", validity=licensemanager.CfnLicense.ValidityDateFormatProperty( begin="begin", end="end" ), # the properties below are optional beneficiary="beneficiary", license_metadata=[licensemanager.CfnLicense.MetadataProperty( name="name", value="value" )], product_sku="productSku", status="status" )
Attributes
- beneficiary
License beneficiary.
- consumption_configuration
Configuration for consumption of the license.
- entitlements
License entitlements.
- home_region
Home Region of the license.
- issuer
License issuer.
- license_metadata
License metadata.
- license_name
License name.
- product_name
Product name.
- product_sku
Product SKU.
- status
License status.
- validity
Date and time range during which the license is valid, in ISO8601-UTC format.