@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.421Z") @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()
`AWS::LicenseManager::License.Beneficiary`.
|
Object |
getConsumptionConfiguration()
`AWS::LicenseManager::License.ConsumptionConfiguration`.
|
Object |
getEntitlements()
`AWS::LicenseManager::License.Entitlements`.
|
String |
getHomeRegion()
`AWS::LicenseManager::License.HomeRegion`.
|
Object |
getIssuer()
`AWS::LicenseManager::License.Issuer`.
|
default Object |
getLicenseMetadata()
`AWS::LicenseManager::License.LicenseMetadata`.
|
String |
getLicenseName()
`AWS::LicenseManager::License.LicenseName`.
|
String |
getProductName()
`AWS::LicenseManager::License.ProductName`.
|
default String |
getProductSku()
`AWS::LicenseManager::License.ProductSKU`.
|
default String |
getStatus()
`AWS::LicenseManager::License.Status`.
|
Object |
getValidity()
`AWS::LicenseManager::License.Validity`.
|
@Stability(value=Stable) @Nullable default String getBeneficiary()
@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) @Nullable default Object getLicenseMetadata()
@Stability(value=Stable) @NotNull String getLicenseName()
@Stability(value=Stable) @NotNull String getProductName()
@Stability(value=Stable) @Nullable default String getProductSku()
@Stability(value=Stable) @Nullable default String getStatus()
@Stability(value=Stable) @NotNull Object getValidity()
@Stability(value=Stable) static CfnLicenseProps.Builder builder()
CfnLicenseProps.Builder of CfnLicensePropsCopyright © 2021. All rights reserved.