interface LicenseSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnInstancePropsMixin.LicenseSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnInstancePropsMixin_LicenseSpecificationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnInstancePropsMixin.LicenseSpecificationProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnInstancePropsMixin.LicenseSpecificationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » 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 { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
const licenseSpecificationProperty: ec2.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