@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.627Z") @Stability(value=Stable) public interface CfnLicenseProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLicenseProps.Builder
A builder for
CfnLicenseProps |
static class |
CfnLicenseProps.Jsii$Proxy
An implementation for
CfnLicenseProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnLicenseProps.Builder |
builder() |
default String |
getBeneficiary()
License beneficiary.
|
Object |
getConsumptionConfiguration()
Configuration for consumption of the license.
|
Object |
getEntitlements()
License entitlements.
|
String |
getHomeRegion()
Home Region of the license.
|
Object |
getIssuer()
License issuer.
|
default Object |
getLicenseMetadata()
License metadata.
|
String |
getLicenseName()
License name.
|
String |
getProductName()
Product name.
|
default String |
getProductSku()
Product SKU.
|
default String |
getStatus()
License status.
|
Object |
getValidity()
Date and time range during which the license is valid, in ISO8601-UTC format.
|
@Stability(value=Stable) @NotNull Object getConsumptionConfiguration()
@Stability(value=Stable) @NotNull Object getEntitlements()
@Stability(value=Stable) @NotNull String getHomeRegion()
@Stability(value=Stable) @NotNull Object getIssuer()
@Stability(value=Stable) @NotNull String getLicenseName()
@Stability(value=Stable) @NotNull String getProductName()
@Stability(value=Stable) @NotNull Object getValidity()
@Stability(value=Stable) @Nullable default String getBeneficiary()
@Stability(value=Stable) @Nullable default Object getLicenseMetadata()
@Stability(value=Stable) @Nullable default String getProductSku()
@Stability(value=Stable) @Nullable default String getStatus()
@Stability(value=Stable) static CfnLicenseProps.Builder builder()
CfnLicenseProps.Builder of CfnLicensePropsCopyright © 2022. All rights reserved.