ConsumptionConfigurationProperty Struct
Details about a consumption configuration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_licensemanager as licensemanager } from 'aws-cdk-lib';
const consumptionConfigurationProperty: licensemanager.CfnLicense.ConsumptionConfigurationProperty = {
borrowConfiguration: {
allowEarlyCheckIn: false,
maxTimeToLiveInMinutes: 123,
},
provisionalConfiguration: {
maxTimeToLiveInMinutes: 123,
},
renewType: 'renewType',
};
python
# 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
consumption_configuration_property = 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"
)
java
// 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.*;
ConsumptionConfigurationProperty consumptionConfigurationProperty = ConsumptionConfigurationProperty.builder()
.borrowConfiguration(BorrowConfigurationProperty.builder()
.allowEarlyCheckIn(false)
.maxTimeToLiveInMinutes(123)
.build())
.provisionalConfiguration(ProvisionalConfigurationProperty.builder()
.maxTimeToLiveInMinutes(123)
.build())
.renewType("renewType")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 consumptionConfigurationProperty = new ConsumptionConfigurationProperty {
BorrowConfiguration = new BorrowConfigurationProperty {
AllowEarlyCheckIn = false,
MaxTimeToLiveInMinutes = 123
},
ProvisionalConfiguration = new ProvisionalConfigurationProperty {
MaxTimeToLiveInMinutes = 123
},
RenewType = "renewType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
consumptionConfigurationProperty := &ConsumptionConfigurationProperty{
BorrowConfiguration: &BorrowConfigurationProperty{
AllowEarlyCheckIn: jsii.Boolean(false),
MaxTimeToLiveInMinutes: jsii.Number(123),
},
ProvisionalConfiguration: &ProvisionalConfigurationProperty{
MaxTimeToLiveInMinutes: jsii.Number(123),
},
RenewType: jsii.String("renewType"),
}
Properties
borrowConfigurationoptionalIResolvable | CfnLicense.borrow_configurationoptionaltyping.Union[IResolvable, BorrowConfigurationProperty]borrowConfigurationoptionalIResolvableBorrowConfigurationoptionalIResolvableBorrowConfigurationoptionalinterface{} #Details about a borrow configuration.
provisionalConfigurationoptionalIResolvable | CfnLicense.provisional_configurationoptionaltyping.Union[IResolvable, ProvisionalConfigurationProperty]provisionalConfigurationoptionalIResolvableProvisionalConfigurationoptionalIResolvableProvisionalConfigurationoptionalinterface{} #Details about a provisional configuration.
renewTypeoptionalstringrenew_typeoptionalstrrenewTypeoptionalStringRenewTypeoptionalstringRenewTypeoptional*string #Renewal frequency.