interface LinuxUserDataOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.LinuxUserDataOptions |
Java | software.amazon.awscdk.services.ec2.LinuxUserDataOptions |
Python | aws_cdk.aws_ec2.LinuxUserDataOptions |
TypeScript (source) | @aws-cdk/aws-ec2 » LinuxUserDataOptions |
Options when constructing UserData for Linux.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
const linuxUserDataOptions: ec2.LinuxUserDataOptions = {
shebang: 'shebang',
};
Properties
Name | Type | Description |
---|---|---|
shebang? | string | Shebang for the UserData script. |
shebang?
Type:
string
(optional, default: "#!/bin/bash")
Shebang for the UserData script.