IScriptHost

class aws_rfdk.IScriptHost(*args, **kwargs)

Bases: aws_cdk.aws_iam.IGrantable, typing_extensions.Protocol

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.

Attributes

grant_principal

The principal to grant permissions to.

Return type

IPrincipal

os_type

The operating system of the script host.

Return type

OperatingSystemType

user_data

The user data of the script host.

Return type

UserData