Interface CfnLicenseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLicenseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:59.687Z")
@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();
-
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. -
getEntitlements
License entitlements. -
getHomeRegion
Home Region of the license. -
getIssuer
License issuer. -
getLicenseName
License name. -
getProductName
Product name. -
getValidity
Date and time range during which the license is valid, in ISO8601-UTC format. -
getBeneficiary
License beneficiary. -
getLicenseMetadata
License metadata. -
getProductSku
Product SKU. -
getStatus
License status. -
builder
- Returns:
- a
CfnLicenseProps.BuilderofCfnLicenseProps
-