WindowsImage¶
-
class
aws_cdk.aws_ec2.
WindowsImage
(version, *, user_data=None)¶ Bases:
aws_cdk.aws_ec2.GenericSSMParameterImage
Select the latest version of the indicated Windows version.
This Machine Image automatically updates to the latest version on every deployment. Be aware this will cause your instances to be replaced when a new version of the image becomes available. Do not store stateful information on the instance if you are using this image.
The AMI ID is selected using the values published to the SSM parameter store.
- Parameters
version (
WindowsVersion
) –user_data (
Optional
[UserData
]) – Initial user data. Default: - Empty UserData for Windows machines
Methods