Interface CfnLicenseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLicenseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:08.791Z")
@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()
.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")
.validity(ValidityDateFormatProperty.builder()
.begin("begin")
.end("end")
.build())
// the properties below are optional
.beneficiary("beneficiary")
.licenseMetadata(List.of(MetadataProperty.builder()
.name("name")
.value("value")
.build()))
.productSku("productSku")
.status("status")
.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()default StringLicense beneficiary.Configuration for consumption of the license.License entitlements.Home Region of the license.License issuer.default ObjectLicense metadata.License name.Product name.default StringProduct SKU.default StringLicense status.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
-
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:
-
getValidity
Date and time range during which the license is valid, in ISO8601-UTC format.Returns union: either
IResolvableorCfnLicense.ValidityDateFormatProperty- See Also:
-
getBeneficiary
License beneficiary.- See Also:
-
getLicenseMetadata
License metadata.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLicense.MetadataProperty>- See Also:
-
getProductSku
Product SKU.- See Also:
-
getStatus
License status.- See Also:
-
builder
- Returns:
- a
CfnLicenseProps.BuilderofCfnLicenseProps
-