Interface CfnLicenseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLicenseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-23T18:58:21.917Z")
@Stability(Stable)
public interface CfnLicenseProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLicense.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.licensemanager.*;
CfnLicenseProps cfnLicenseProps = CfnLicenseProps.builder()
.beneficiary("beneficiary")
.consumptionConfiguration(ConsumptionConfigurationProperty.builder()
.borrowConfiguration(BorrowConfigurationProperty.builder()
.allowEarlyCheckIn(false)
.maxTimeToLiveInMinutes(123)
.build())
.provisionalConfiguration(ProvisionalConfigurationProperty.builder()
.maxTimeToLiveInMinutes(123)
.build())
.renewType("renewType")
.build())
.entitlements(List.of(EntitlementProperty.builder()
.name("name")
.unit("unit")
// the properties below are optional
.allowCheckIn(false)
.maxCount(123)
.overage(false)
.value("value")
.build()))
.homeRegion("homeRegion")
.issuer(IssuerDataProperty.builder()
.name("name")
// the properties below are optional
.signKey("signKey")
.build())
.licenseName("licenseName")
.productName("productName")
.productSku("productSku")
.validity(ValidityDateFormatProperty.builder()
.begin("begin")
.end("end")
.build())
// the properties below are optional
.licenseMetadata(List.of(MetadataProperty.builder()
.name("name")
.value("value")
.build()))
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLicensePropsstatic final classAn implementation forCfnLicenseProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLicenseProps.Builderbuilder()License beneficiary.Configuration for consumption of the license.License entitlements.Home Region of the license.License issuer.default ObjectLicense metadata.License name.Product name.Product SKU.default StringLicense status.getTags()A list of tags to attach.Date and time range during which the license is valid, in ISO8601-UTC format.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBeneficiary
License beneficiary.- See Also:
-
getConsumptionConfiguration
Configuration for consumption of the license.Returns union: either
IResolvableorCfnLicense.ConsumptionConfigurationProperty- See Also:
-
getEntitlements
License entitlements.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLicense.EntitlementProperty>- See Also:
-
getHomeRegion
Home Region of the license.- See Also:
-
getIssuer
License issuer.Returns union: either
IResolvableorCfnLicense.IssuerDataProperty- See Also:
-
getLicenseName
License name.- See Also:
-
getProductName
Product name.- See Also:
-
getProductSku
Product SKU.- See Also:
-
getValidity
Date and time range during which the license is valid, in ISO8601-UTC format.Returns union: either
IResolvableorCfnLicense.ValidityDateFormatProperty- See Also:
-
getLicenseMetadata
License metadata.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLicense.MetadataProperty>- See Also:
-
getStatus
License status.- See Also:
-
getTags
A list of tags to attach.- See Also:
-
builder
- Returns:
- a
CfnLicenseProps.BuilderofCfnLicenseProps
-