Interface InstanceConfiguration.Builder

    • Method Detail

      • cpu

        InstanceConfiguration.Builder cpu​(String 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

        InstanceConfiguration.Builder memory​(String 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.