Skip to content
v2.274.0

LinuxUserDataOptions Struct ​

Options when constructing UserData for Linux.

Example ​

ts
// 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';
const linuxUserDataOptions: ec2.LinuxUserDataOptions = {
  shebang: 'shebang',
};

Properties ​

shebangstringshebangstrshebangStringShebangstringShebang*string= "#!/bin/bash"#
Shebang for the UserData script.