NAME

Paws::AppRunner::CreateAutoScalingConfiguration - Arguments for method CreateAutoScalingConfiguration on Paws::AppRunner

DESCRIPTION

This class represents the parameters used for calling the method CreateAutoScalingConfiguration on the AWS App Runner service. Use the attributes of this class as arguments to method CreateAutoScalingConfiguration.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAutoScalingConfiguration.

SYNOPSIS

  my $apprunner = Paws->service('AppRunner');
  my $CreateAutoScalingConfigurationResponse =
    $apprunner->CreateAutoScalingConfiguration(
    AutoScalingConfigurationName => 'MyAutoScalingConfigurationName',
    MaxConcurrency               => 1,    # OPTIONAL
    MaxSize                      => 1,    # OPTIONAL
    MinSize                      => 1,    # OPTIONAL
    Tags                         => [
      {
        Key   => 'MyTagKey',      # min: 1, max: 128; OPTIONAL
        Value => 'MyTagValue',    # max: 256; OPTIONAL
      },
      ...
    ],    # OPTIONAL
    );

  # Results:
  my $AutoScalingConfiguration =
    $CreateAutoScalingConfigurationResponse->AutoScalingConfiguration;

# Returns a L<Paws::AppRunner::CreateAutoScalingConfigurationResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/apprunner/CreateAutoScalingConfiguration

ATTRIBUTES

REQUIRED AutoScalingConfigurationName => Str

A name for the auto scaling configuration. When you use it for the first time in an AWS Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.

MaxConcurrency => Int

The maximum number of concurrent requests that you want an instance to process. If the number of concurrent requests exceeds this limit, App Runner scales up your service.

Default: 100

MaxSize => Int

The maximum number of instances that your service scales up to. At most MaxSize instances actively serve traffic for your service.

Default: 25

MinSize => Int

The minimum number of instances that App Runner provisions for your service. The service always has at least MinSize provisioned instances. Some of them actively serve traffic. The rest of them (provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset.

App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.

Default: 1

Tags => ArrayRef[Paws::AppRunner::Tag]

A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a key-value pair.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateAutoScalingConfiguration in Paws::AppRunner

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues