Class: Aws::AppRunner::Types::CreateServiceRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_configuration_arnString

The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.

Specify an ARN with a name and a revision number to associate that revision. For example: arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3

Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability

Returns:

  • (String)


759
760
761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 759

class CreateServiceRequest < Struct.new(
  :service_name,
  :source_configuration,
  :instance_configuration,
  :tags,
  :encryption_configuration,
  :health_check_configuration,
  :auto_scaling_configuration_arn,
  :network_configuration,
  :observability_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#encryption_configurationTypes::EncryptionConfiguration

An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed key.



759
760
761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 759

class CreateServiceRequest < Struct.new(
  :service_name,
  :source_configuration,
  :instance_configuration,
  :tags,
  :encryption_configuration,
  :health_check_configuration,
  :auto_scaling_configuration_arn,
  :network_configuration,
  :observability_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#health_check_configurationTypes::HealthCheckConfiguration

The settings for the health check that App Runner performs to monitor the health of the App Runner service.



759
760
761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 759

class CreateServiceRequest < Struct.new(
  :service_name,
  :source_configuration,
  :instance_configuration,
  :tags,
  :encryption_configuration,
  :health_check_configuration,
  :auto_scaling_configuration_arn,
  :network_configuration,
  :observability_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#instance_configurationTypes::InstanceConfiguration

The runtime configuration of instances (scaling units) of your service.



759
760
761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 759

class CreateServiceRequest < Struct.new(
  :service_name,
  :source_configuration,
  :instance_configuration,
  :tags,
  :encryption_configuration,
  :health_check_configuration,
  :auto_scaling_configuration_arn,
  :network_configuration,
  :observability_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#network_configurationTypes::NetworkConfiguration

Configuration settings related to network traffic of the web application that the App Runner service runs.



759
760
761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 759

class CreateServiceRequest < Struct.new(
  :service_name,
  :source_configuration,
  :instance_configuration,
  :tags,
  :encryption_configuration,
  :health_check_configuration,
  :auto_scaling_configuration_arn,
  :network_configuration,
  :observability_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#observability_configurationTypes::ServiceObservabilityConfiguration

The observability configuration of your service.



759
760
761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 759

class CreateServiceRequest < Struct.new(
  :service_name,
  :source_configuration,
  :instance_configuration,
  :tags,
  :encryption_configuration,
  :health_check_configuration,
  :auto_scaling_configuration_arn,
  :network_configuration,
  :observability_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#service_nameString

A name for the App Runner service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.

Returns:

  • (String)


759
760
761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 759

class CreateServiceRequest < Struct.new(
  :service_name,
  :source_configuration,
  :instance_configuration,
  :tags,
  :encryption_configuration,
  :health_check_configuration,
  :auto_scaling_configuration_arn,
  :network_configuration,
  :observability_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#source_configurationTypes::SourceConfiguration

The source to deploy to the App Runner service. It can be a code or an image repository.



759
760
761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 759

class CreateServiceRequest < Struct.new(
  :service_name,
  :source_configuration,
  :instance_configuration,
  :tags,
  :encryption_configuration,
  :health_check_configuration,
  :auto_scaling_configuration_arn,
  :network_configuration,
  :observability_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

An optional list of metadata items that you can associate with the App Runner service resource. A tag is a key-value pair.

Returns:



759
760
761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 759

class CreateServiceRequest < Struct.new(
  :service_name,
  :source_configuration,
  :instance_configuration,
  :tags,
  :encryption_configuration,
  :health_check_configuration,
  :auto_scaling_configuration_arn,
  :network_configuration,
  :observability_configuration)
  SENSITIVE = []
  include Aws::Structure
end