Struct aws_sdk_apprunner::input::CreateServiceInput [−][src]
#[non_exhaustive]pub struct CreateServiceInput {
pub service_name: Option<String>,
pub source_configuration: Option<SourceConfiguration>,
pub instance_configuration: Option<InstanceConfiguration>,
pub tags: Option<Vec<Tag>>,
pub encryption_configuration: Option<EncryptionConfiguration>,
pub health_check_configuration: Option<HealthCheckConfiguration>,
pub auto_scaling_configuration_arn: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.service_name: Option<String>
A name for the new service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.
source_configuration: Option<SourceConfiguration>
The source to deploy to the App Runner service. It can be a code or an image repository.
instance_configuration: Option<InstanceConfiguration>
The runtime configuration of instances (scaling units) of the App Runner service.
An optional list of metadata items that you can associate with your service resource. A tag is a key-value pair.
encryption_configuration: Option<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 CMK.
health_check_configuration: Option<HealthCheckConfiguration>
The settings for the health check that App Runner performs to monitor the health of your service.
auto_scaling_configuration_arn: Option<String>
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateService, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateService, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateService
>
Creates a new builder-style object to manufacture CreateServiceInput
A name for the new service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.
The source to deploy to the App Runner service. It can be a code or an image repository.
The runtime configuration of instances (scaling units) of the App Runner service.
An optional list of metadata items that you can associate with your service resource. A tag is a key-value pair.
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 CMK.
The settings for the health check that App Runner performs to monitor the health of your service.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateServiceInput
impl Send for CreateServiceInput
impl Sync for CreateServiceInput
impl Unpin for CreateServiceInput
impl UnwindSafe for CreateServiceInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more