# LinuxUserDataOptions

Options when constructing UserData for Linux.

- Source: [`aws-ec2/lib/user-data.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-ec2/lib/user-data.ts#L10)

## Example

TypeScript:

```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',
};
```

Python:

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

linux_user_data_options = ec2.LinuxUserDataOptions(
    shebang="shebang"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;

LinuxUserDataOptions linuxUserDataOptions = LinuxUserDataOptions.builder()
        .shebang("shebang")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;

var linuxUserDataOptions = new LinuxUserDataOptions {
    Shebang = "shebang"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

linuxUserDataOptions := &LinuxUserDataOptions{
	Shebang: jsii.String("shebang"),
}
```

## Properties

- `shebang`: string = "#!/bin/bash" — Shebang for the UserData script.
