Databricks SDK for JavaScript
    Preparing search index...

    Attributes set during instance pool creation which are related to Amazon Web Services.

    interface InstancePoolAwsAttributes {
        availability?: AwsAvailability;
        instanceProfileArn?: string;
        spotBidPricePercent?: number;
        zoneId?: string;
    }
    Index

    Properties

    availability?: AwsAvailability

    Availability type used for the spot nodes.

    instanceProfileArn?: string

    All AWS instances belonging to the instance pool will have this instance profile. If omitted, instances will initially be launched with the workspace's default instance profile. If defined, clusters that use the pool will inherit the instance profile, and must not specify their own instance profile on cluster creation or update. If the pool does not specify an instance profile, clusters using the pool may specify any instance profile. The instance profile must have previously been added to the environment by an account administrator.

    This feature may only be available to certain customer plans.

    spotBidPricePercent?: number

    Calculates the bid price for AWS spot instances, as a percentage of the corresponding instance type's on-demand price. For example, if this field is set to 50, and the cluster needs a new r3.xlarge spot instance, then the bid price is half of the price of on-demand r3.xlarge instances. Similarly, if this field is set to 200, the bid price is twice the price of on-demand r3.xlarge instances. If not specified, the default value is 100. When spot instances are requested for this cluster, only spot instances whose bid price percentage matches this field will be considered. Note that, for safety, we enforce this field to be no more than 10000.

    zoneId?: string

    Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like "us-west-2a". The provided availability zone must be in the same region as the deployment. For example, "us-west-2a" is not a valid zone id if the deployment resides in the "us-east-1" region. This is an optional field at cluster creation, and if not specified, a default zone will be used. The list of available zones as well as the default value can be found by using the List Zones method.