interface IScriptHost
| Language | Type name |
|---|---|
Python | aws_rfdk.IScriptHost |
TypeScript (source) | aws-rfdk » IScriptHost |
Implemented by
Spot
An interface that unifies the common methods and properties of:.
- {@link @aws-cdk/aws-ec2#Instance}
- {@link @aws-cdk/aws-autoscaling#AutoScalingGroup}
so that they can be uniformly targeted to download and execute a script asset.
Properties
| Name | Type | Description |
|---|---|---|
| grant | IPrincipal | The principal to grant permissions to. |
| os | Operating | The operating system of the script host. |
| user | User | The user data of the script host. |
grantPrincipal
Type:
IPrincipal
The principal to grant permissions to.
osType
Type:
Operating
The operating system of the script host.
userData
Type:
User
The user data of the script host.

Python
TypeScript (