interface GenericLinuxImageProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.GenericLinuxImageProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#GenericLinuxImageProps |
Java | software.amazon.awscdk.services.ec2.GenericLinuxImageProps |
Python | aws_cdk.aws_ec2.GenericLinuxImageProps |
TypeScript (source) | aws-cdk-lib » aws_ec2 » GenericLinuxImageProps |
Configuration options for GenericLinuxImage.
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-lib';
declare const userData: ec2.UserData;
const genericLinuxImageProps: ec2.GenericLinuxImageProps = {
userData: userData,
};
Properties
Name | Type | Description |
---|---|---|
user | User | Initial user data. |
userData?
Type:
User
(optional, default: Empty UserData for Linux machines)
Initial user data.