Class CfnLicense
Specifies a granted license.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.LicenseManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLicense : CfnResource, IInspectable
Syntax (vb)
Public Class CfnLicense
Inherits CfnResource
Implements IInspectable
Remarks
Granted licenses are licenses for products that your organization purchased from AWS Marketplace or directly from a seller who integrated their software with managed entitlements. For more information, see Granted licenses in the AWS License Manager User Guide .
CloudformationResource: AWS::LicenseManager::License
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.LicenseManager;
var cfnLicense = new CfnLicense(this, "MyCfnLicense", new CfnLicenseProps {
ConsumptionConfiguration = new ConsumptionConfigurationProperty {
BorrowConfiguration = new BorrowConfigurationProperty {
AllowEarlyCheckIn = false,
MaxTimeToLiveInMinutes = 123
},
ProvisionalConfiguration = new ProvisionalConfigurationProperty {
MaxTimeToLiveInMinutes = 123
},
RenewType = "renewType"
},
Entitlements = new [] { new EntitlementProperty {
Name = "name",
Unit = "unit",
// the properties below are optional
AllowCheckIn = false,
MaxCount = 123,
Overage = false,
Value = "value"
} },
HomeRegion = "homeRegion",
Issuer = new IssuerDataProperty {
Name = "name",
// the properties below are optional
SignKey = "signKey"
},
LicenseName = "licenseName",
ProductName = "productName",
Validity = new ValidityDateFormatProperty {
Begin = "begin",
End = "end"
},
// the properties below are optional
Beneficiary = "beneficiary",
LicenseMetadata = new [] { new MetadataProperty {
Name = "name",
Value = "value"
} },
ProductSku = "productSku",
Status = "status"
});
Synopsis
Constructors
CfnLicense(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnLicense(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnLicense(Construct, String, ICfnLicenseProps) |
Properties
AttrLicenseArn | The Amazon Resource Name (ARN) of the license. |
AttrVersion | The license version. |
Beneficiary | License beneficiary. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConsumptionConfiguration | Configuration for consumption of the license. |
Entitlements | License entitlements. |
HomeRegion | Home Region of the license. |
Issuer | License issuer. |
LicenseMetadata | License metadata. |
LicenseName | License name. |
ProductName | Product name. |
ProductSku | Product SKU. |
Status | License status. |
Validity | Date and time range during which the license is valid, in ISO8601-UTC format. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnLicense(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnLicense(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnLicense(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnLicense(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnLicense(Construct, String, ICfnLicenseProps)
public CfnLicense(Construct scope, string id, ICfnLicenseProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnLicenseProps
Resource properties.
Properties
AttrLicenseArn
The Amazon Resource Name (ARN) of the license.
public virtual string AttrLicenseArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LicenseArn
AttrVersion
The license version.
public virtual string AttrVersion { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Version
Beneficiary
License beneficiary.
public virtual string Beneficiary { get; set; }
Property Value
System.String
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ConsumptionConfiguration
Configuration for consumption of the license.
public virtual object ConsumptionConfiguration { get; set; }
Property Value
System.Object
Entitlements
License entitlements.
public virtual object Entitlements { get; set; }
Property Value
System.Object
HomeRegion
Home Region of the license.
public virtual string HomeRegion { get; set; }
Property Value
System.String
Issuer
License issuer.
public virtual object Issuer { get; set; }
Property Value
System.Object
LicenseMetadata
License metadata.
public virtual object LicenseMetadata { get; set; }
Property Value
System.Object
LicenseName
License name.
public virtual string LicenseName { get; set; }
Property Value
System.String
ProductName
Product name.
public virtual string ProductName { get; set; }
Property Value
System.String
ProductSku
Product SKU.
public virtual string ProductSku { get; set; }
Property Value
System.String
Status
License status.
public virtual string Status { get; set; }
Property Value
System.String
Validity
Date and time range during which the license is valid, in ISO8601-UTC format.
public virtual object Validity { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>