libZSservicesZSamazonka-apprunnerZSamazonka-apprunner
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppRunner.Types.InstanceConfiguration

Description

 
Synopsis

Documentation

data InstanceConfiguration Source #

Describes the runtime configuration of an App Runner service instance (scaling unit).

See: newInstanceConfiguration smart constructor.

Constructors

InstanceConfiguration' 

Fields

  • memory :: Maybe Text

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

    Default: 2 GB

  • instanceRoleArn :: Maybe Text

    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.

  • cpu :: Maybe Text

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

    Default: 1 vCPU

Instances

Instances details
Eq InstanceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.InstanceConfiguration

Read InstanceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.InstanceConfiguration

Show InstanceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.InstanceConfiguration

Generic InstanceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.InstanceConfiguration

Associated Types

type Rep InstanceConfiguration :: Type -> Type #

NFData InstanceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.InstanceConfiguration

Methods

rnf :: InstanceConfiguration -> () #

Hashable InstanceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.InstanceConfiguration

ToJSON InstanceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.InstanceConfiguration

FromJSON InstanceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.InstanceConfiguration

type Rep InstanceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.InstanceConfiguration

type Rep InstanceConfiguration = D1 ('MetaData "InstanceConfiguration" "Amazonka.AppRunner.Types.InstanceConfiguration" "libZSservicesZSamazonka-apprunnerZSamazonka-apprunner" 'False) (C1 ('MetaCons "InstanceConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "memory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instanceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cpu") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newInstanceConfiguration :: InstanceConfiguration Source #

Create a value of InstanceConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:memory:InstanceConfiguration', instanceConfiguration_memory - The amount of memory, in MB or GB, reserved for each instance of your App Runner service.

Default: 2 GB

$sel:instanceRoleArn:InstanceConfiguration', instanceConfiguration_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.

$sel:cpu:InstanceConfiguration', instanceConfiguration_cpu - The number of CPU units reserved for each instance of your App Runner service.

Default: 1 vCPU

instanceConfiguration_memory :: Lens' InstanceConfiguration (Maybe Text) Source #

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

Default: 2 GB

instanceConfiguration_instanceRoleArn :: Lens' InstanceConfiguration (Maybe Text) Source #

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.

instanceConfiguration_cpu :: Lens' InstanceConfiguration (Maybe Text) Source #

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

Default: 1 vCPU