CfnLicenseProps

class aws_cdk.aws_licensemanager.CfnLicenseProps(*, consumption_configuration, entitlements, home_region, issuer, license_name, product_name, validity, beneficiary=None, license_metadata=None, product_sku=None, status=None)

Bases: object

Properties for defining a CfnLicense.

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_licensemanager as licensemanager

cfn_license_props = licensemanager.CfnLicenseProps(
    consumption_configuration=licensemanager.CfnLicense.ConsumptionConfigurationProperty(
        borrow_configuration=licensemanager.CfnLicense.BorrowConfigurationProperty(
            allow_early_check_in=False,
            max_time_to_live_in_minutes=123
        ),
        provisional_configuration=licensemanager.CfnLicense.ProvisionalConfigurationProperty(
            max_time_to_live_in_minutes=123
        ),
        renew_type="renewType"
    ),
    entitlements=[licensemanager.CfnLicense.EntitlementProperty(
        name="name",
        unit="unit",

        # the properties below are optional
        allow_check_in=False,
        max_count=123,
        overage=False,
        value="value"
    )],
    home_region="homeRegion",
    issuer=licensemanager.CfnLicense.IssuerDataProperty(
        name="name",

        # the properties below are optional
        sign_key="signKey"
    ),
    license_name="licenseName",
    product_name="productName",
    validity=licensemanager.CfnLicense.ValidityDateFormatProperty(
        begin="begin",
        end="end"
    ),

    # the properties below are optional
    beneficiary="beneficiary",
    license_metadata=[licensemanager.CfnLicense.MetadataProperty(
        name="name",
        value="value"
    )],
    product_sku="productSku",
    status="status"
)

Attributes

beneficiary

License beneficiary.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-beneficiary

Return type

Optional[str]

consumption_configuration

Configuration for consumption of the license.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-consumptionconfiguration

Return type

Union[ConsumptionConfigurationProperty, IResolvable]

entitlements

License entitlements.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-entitlements

Return type

Union[IResolvable, List[Union[IResolvable, EntitlementProperty]]]

home_region

Home Region of the license.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-homeregion

Return type

str

issuer

License issuer.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-issuer

Return type

Union[IResolvable, IssuerDataProperty]

license_metadata

License metadata.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-licensemetadata

Return type

Union[IResolvable, List[Union[IResolvable, MetadataProperty]], None]

license_name

License name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-licensename

Return type

str

product_name

Product name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-productname

Return type

str

product_sku

Product SKU.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-productsku

Return type

Optional[str]

status

License status.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-status

Return type

Optional[str]

validity

Date and time range during which the license is valid, in ISO8601-UTC format.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-validity

Return type

Union[IResolvable, ValidityDateFormatProperty]