CfnLicenseProps

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

Bases: object

Properties for defining a CfnLicense.

Parameters:
  • beneficiary (str) – License beneficiary.

  • consumption_configuration (Union[IResolvable, ConsumptionConfigurationProperty, Dict[str, Any]]) – Configuration for consumption of the license.

  • entitlements (Union[IResolvable, Sequence[Union[IResolvable, EntitlementProperty, Dict[str, Any]]]]) – License entitlements.

  • home_region (str) – Home Region of the license.

  • issuer (Union[IResolvable, IssuerDataProperty, Dict[str, Any]]) – License issuer.

  • license_name (str) – License name.

  • product_name (str) – Product name.

  • product_sku (str) – Product SKU.

  • validity (Union[IResolvable, ValidityDateFormatProperty, Dict[str, Any]]) – Date and time range during which the license is valid, in ISO8601-UTC format.

  • license_metadata (Union[IResolvable, Sequence[Union[IResolvable, MetadataProperty, Dict[str, Any]]], None]) – License metadata.

  • status (Optional[str]) – License status.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of tags to attach.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

cfn_license_props = licensemanager.CfnLicenseProps(
    beneficiary="beneficiary",
    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",
    product_sku="productSku",
    validity=licensemanager.CfnLicense.ValidityDateFormatProperty(
        begin="begin",
        end="end"
    ),

    # the properties below are optional
    license_metadata=[licensemanager.CfnLicense.MetadataProperty(
        name="name",
        value="value"
    )],
    status="status",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

beneficiary

License beneficiary.

See:

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

consumption_configuration

Configuration for consumption of the license.

See:

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

entitlements

License entitlements.

See:

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

home_region

Home Region of the license.

See:

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

issuer

License issuer.

See:

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

license_metadata

License metadata.

See:

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

license_name

License name.

See:

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

product_name

Product name.

See:

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

product_sku

Product SKU.

See:

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

status

License status.

See:

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

tags

A list of tags to attach.

See:

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

validity

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

See:

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