interface LicenseSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnInstancePropsMixin.LicenseSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnInstancePropsMixin_LicenseSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnInstancePropsMixin.LicenseSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnInstancePropsMixin.LicenseSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnInstancePropsMixin » LicenseSpecificationProperty |
Specifies the license configuration to use.
LicenseSpecification is a property of the AWS::EC2::Instance resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const licenseSpecificationProperty: ec2_mixins.CfnInstancePropsMixin.LicenseSpecificationProperty = {
licenseConfigurationArn: 'licenseConfigurationArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| license | string | The Amazon Resource Name (ARN) of the license configuration. |
licenseConfigurationArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the license configuration.

.NET
Go
Java
Python
TypeScript