/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the runtime configuration of an App Runner service instance
* (scaling unit).See Also:
AWS
* API Reference
The number of CPU units reserved for each instance of your App Runner * service.
Default: 1 vCPU
The number of CPU units reserved for each instance of your App Runner * service.
Default: 1 vCPU
The number of CPU units reserved for each instance of your App Runner * service.
Default: 1 vCPU
The number of CPU units reserved for each instance of your App Runner * service.
Default: 1 vCPU
The number of CPU units reserved for each instance of your App Runner * service.
Default: 1 vCPU
The number of CPU units reserved for each instance of your App Runner * service.
Default: 1 vCPU
The number of CPU units reserved for each instance of your App Runner * service.
Default: 1 vCPU
The number of CPU units reserved for each instance of your App Runner * service.
Default: 1 vCPU
The amount of memory, in MB or GB, reserved for each instance of your App * Runner service.
Default: 2 GB
The amount of memory, in MB or GB, reserved for each instance of your App * Runner service.
Default: 2 GB
The amount of memory, in MB or GB, reserved for each instance of your App * Runner service.
Default: 2 GB
The amount of memory, in MB or GB, reserved for each instance of your App * Runner service.
Default: 2 GB
The amount of memory, in MB or GB, reserved for each instance of your App * Runner service.
Default: 2 GB
The amount of memory, in MB or GB, reserved for each instance of your App * Runner service.
Default: 2 GB
The amount of memory, in MB or GB, reserved for each instance of your App * Runner service.
Default: 2 GB
The amount of memory, in MB or GB, reserved for each instance of your App * Runner service.
Default: 2 GB
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.
*/ inline const Aws::String& GetInstanceRoleArn() const{ return m_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.
*/ inline bool InstanceRoleArnHasBeenSet() const { return m_instanceRoleArnHasBeenSet; } /** *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.
*/ inline void SetInstanceRoleArn(const Aws::String& value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn = value; } /** *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.
*/ inline void SetInstanceRoleArn(Aws::String&& value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn = std::move(value); } /** *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.
*/ inline void SetInstanceRoleArn(const char* value) { m_instanceRoleArnHasBeenSet = true; m_instanceRoleArn.assign(value); } /** *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.
*/ inline InstanceConfiguration& WithInstanceRoleArn(const Aws::String& value) { SetInstanceRoleArn(value); return *this;} /** *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.
*/ inline InstanceConfiguration& WithInstanceRoleArn(Aws::String&& value) { SetInstanceRoleArn(std::move(value)); return *this;} /** *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.
*/ inline InstanceConfiguration& WithInstanceRoleArn(const char* value) { SetInstanceRoleArn(value); return *this;} private: Aws::String m_cpu; bool m_cpuHasBeenSet = false; Aws::String m_memory; bool m_memoryHasBeenSet = false; Aws::String m_instanceRoleArn; bool m_instanceRoleArnHasBeenSet = false; }; } // namespace Model } // namespace AppRunner } // namespace Aws