Class: Aws::AppRunner::Types::InstanceConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb

Overview

Note:

When making an API call, you may pass InstanceConfiguration data as a hash:

{
  cpu: "Cpu",
  memory: "Memory",
  instance_role_arn: "RoleArn",
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cpuString

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

Default: 1 vCPU

Returns:

  • (String)


1338
1339
1340
1341
1342
1343
1344
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 1338

class InstanceConfiguration < Struct.new(
  :cpu,
  :memory,
  :instance_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#instance_role_arnString

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:

  • (String)


1338
1339
1340
1341
1342
1343
1344
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 1338

class InstanceConfiguration < Struct.new(
  :cpu,
  :memory,
  :instance_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#memoryString

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

Default: 2 GB

Returns:

  • (String)


1338
1339
1340
1341
1342
1343
1344
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 1338

class InstanceConfiguration < Struct.new(
  :cpu,
  :memory,
  :instance_role_arn)
  SENSITIVE = []
  include Aws::Structure
end