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();
 
  • Method Details

    • getConsumptionConfiguration

      @Stability(Stable) @NotNull Object getConsumptionConfiguration()
      Configuration for consumption of the license.
    • getEntitlements

      @Stability(Stable) @NotNull Object getEntitlements()
      License entitlements.
    • getHomeRegion

      @Stability(Stable) @NotNull String getHomeRegion()
      Home Region of the license.
    • getIssuer

      @Stability(Stable) @NotNull Object getIssuer()
      License issuer.
    • getLicenseName

      @Stability(Stable) @NotNull String getLicenseName()
      License name.
    • getProductName

      @Stability(Stable) @NotNull String getProductName()
      Product name.
    • getValidity

      @Stability(Stable) @NotNull Object getValidity()
      Date and time range during which the license is valid, in ISO8601-UTC format.
    • getBeneficiary

      @Stability(Stable) @Nullable default String getBeneficiary()
      License beneficiary.
    • getLicenseMetadata

      @Stability(Stable) @Nullable default Object getLicenseMetadata()
      License metadata.
    • getProductSku

      @Stability(Stable) @Nullable default String getProductSku()
      Product SKU.
    • getStatus

      @Stability(Stable) @Nullable default String getStatus()
      License status.
    • builder

      @Stability(Stable) static CfnLicenseProps.Builder builder()
      Returns:
      a CfnLicenseProps.Builder of CfnLicenseProps