Class InstanceConfiguration

    • Method Detail

      • cpu

        public final String cpu()

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

        Default: 1 vCPU

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

        Default: 1 vCPU

      • memory

        public final String memory()

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

        Default: 2 GB

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

        Default: 2 GB

      • instanceRoleArn

        public final 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.

        Returns:
        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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)