WindowsImageProps

class aws_cdk.aws_ec2.WindowsImageProps(*, user_data=None)

Bases: object

Configuration options for WindowsImage.

Parameters

user_data (Optional[UserData]) – Initial user data. Default: - Empty UserData for Windows machines

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

# user_data is of type UserData

windows_image_props = ec2.WindowsImageProps(
    user_data=user_data
)

Attributes

user_data

Initial user data.

Default
  • Empty UserData for Windows machines

Return type

Optional[UserData]