Class CfnLicense
A CloudFormation AWS::LicenseManager::License
.
Inherited Members
Namespace: Amazon.CDK.AWS.LicenseManager
Assembly: Amazon.CDK.AWS.LicenseManager.dll
Syntax (csharp)
public class CfnLicense : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnLicense
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a granted license.
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(Construct, String, ICfnLicenseProps) | Create a new |
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 |
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(Construct, String, ICfnLicenseProps)
Create a new AWS::LicenseManager::License
.
public CfnLicense(Construct scope, string id, ICfnLicenseProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnLicenseProps
- resource properties.
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
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
Remarks
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
Remarks
Entitlements
License entitlements.
public virtual object Entitlements { get; set; }
Property Value
System.Object
Remarks
HomeRegion
Home Region of the license.
public virtual string HomeRegion { get; set; }
Property Value
System.String
Remarks
Issuer
License issuer.
public virtual object Issuer { get; set; }
Property Value
System.Object
Remarks
LicenseMetadata
License metadata.
public virtual object LicenseMetadata { get; set; }
Property Value
System.Object
Remarks
LicenseName
License name.
public virtual string LicenseName { get; set; }
Property Value
System.String
Remarks
ProductName
Product name.
public virtual string ProductName { get; set; }
Property Value
System.String
Remarks
ProductSku
Product SKU.
public virtual string ProductSku { get; set; }
Property Value
System.String
Remarks
Status
License status.
public virtual string Status { get; set; }
Property Value
System.String
Remarks
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
Remarks
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>