Interface InstanceConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InstanceConfiguration.Builder,InstanceConfiguration>, SdkBuilder<InstanceConfiguration.Builder,InstanceConfiguration>, SdkPojo
Enclosing class:
InstanceConfiguration

public static interface InstanceConfiguration.Builder extends SdkPojo, CopyableBuilder<InstanceConfiguration.Builder,InstanceConfiguration>
  • Method Details

    • cpu

      The number of CPU units reserved for each instance of your App Runner service.

      Default: 1 vCPU

      Parameters:
      cpu - The number of CPU units reserved for each instance of your App Runner service.

      Default: 1 vCPU

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memory

      The amount of memory, in MB or GB, reserved for each instance of your App Runner service.

      Default: 2 GB

      Parameters:
      memory - The amount of memory, in MB or GB, reserved for each instance of your App Runner service.

      Default: 2 GB

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceRoleArn

      InstanceConfiguration.Builder instanceRoleArn(String instanceRoleArn)

      The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service. These are permissions that your code needs when it calls any Amazon Web Services APIs.

      Parameters:
      instanceRoleArn - The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service. These are permissions that your code needs when it calls any Amazon Web Services APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.