@Stability(value=Stable) public static final class CfnService.Builder extends Object implements software.amazon.jsii.Builder<CfnService>
CfnService.| Modifier and Type | Method and Description |
|---|---|
CfnService.Builder |
autoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service.
|
CfnService |
build() |
static CfnService.Builder |
create(software.constructs.Construct scope,
String id) |
CfnService.Builder |
encryptionConfiguration(CfnService.EncryptionConfigurationProperty 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.
|
CfnService.Builder |
encryptionConfiguration(IResolvable 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.
|
CfnService.Builder |
healthCheckConfiguration(CfnService.HealthCheckConfigurationProperty healthCheckConfiguration)
The settings for the health check that AWS App Runner performs to monitor the health of the App Runner service.
|
CfnService.Builder |
healthCheckConfiguration(IResolvable healthCheckConfiguration)
The settings for the health check that AWS App Runner performs to monitor the health of the App Runner service.
|
CfnService.Builder |
instanceConfiguration(CfnService.InstanceConfigurationProperty instanceConfiguration)
The runtime configuration of instances (scaling units) of your service.
|
CfnService.Builder |
instanceConfiguration(IResolvable instanceConfiguration)
The runtime configuration of instances (scaling units) of your service.
|
CfnService.Builder |
networkConfiguration(CfnService.NetworkConfigurationProperty networkConfiguration)
Configuration settings related to network traffic of the web application that the App Runner service runs.
|
CfnService.Builder |
networkConfiguration(IResolvable networkConfiguration)
Configuration settings related to network traffic of the web application that the App Runner service runs.
|
CfnService.Builder |
observabilityConfiguration(CfnService.ServiceObservabilityConfigurationProperty observabilityConfiguration)
The observability configuration of your service.
|
CfnService.Builder |
observabilityConfiguration(IResolvable observabilityConfiguration)
The observability configuration of your service.
|
CfnService.Builder |
serviceName(String serviceName)
A name for the App Runner service.
|
CfnService.Builder |
sourceConfiguration(CfnService.SourceConfigurationProperty sourceConfiguration)
The source to deploy to the App Runner service.
|
CfnService.Builder |
sourceConfiguration(IResolvable sourceConfiguration)
The source to deploy to the App Runner service.
|
CfnService.Builder |
tags(List<? extends CfnTag> tags)
An optional list of metadata items that you can associate with the App Runner service resource.
|
@Stability(value=Stable) public static CfnService.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnService.AuthenticationConfigurationProperty.Builder.@Stability(value=Stable) public CfnService.Builder sourceConfiguration(CfnService.SourceConfigurationProperty sourceConfiguration)
It can be a code or an image repository.
sourceConfiguration - The source to deploy to the App Runner service. This parameter is required.this@Stability(value=Stable) public CfnService.Builder sourceConfiguration(IResolvable sourceConfiguration)
It can be a code or an image repository.
sourceConfiguration - The source to deploy to the App Runner service. This parameter is required.this@Stability(value=Stable) public CfnService.Builder autoScalingConfigurationArn(String autoScalingConfigurationArn)
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
autoScalingConfigurationArn - The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. This parameter is required.this@Stability(value=Stable) public CfnService.Builder encryptionConfiguration(CfnService.EncryptionConfigurationProperty encryptionConfiguration)
By default, App Runner uses an AWS managed key .
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. This parameter is required.this@Stability(value=Stable) public CfnService.Builder encryptionConfiguration(IResolvable encryptionConfiguration)
By default, App Runner uses an AWS managed key .
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. This parameter is required.this@Stability(value=Stable) public CfnService.Builder healthCheckConfiguration(CfnService.HealthCheckConfigurationProperty healthCheckConfiguration)
healthCheckConfiguration - The settings for the health check that AWS App Runner performs to monitor the health of the App Runner service. This parameter is required.this@Stability(value=Stable) public CfnService.Builder healthCheckConfiguration(IResolvable healthCheckConfiguration)
healthCheckConfiguration - The settings for the health check that AWS App Runner performs to monitor the health of the App Runner service. This parameter is required.this@Stability(value=Stable) public CfnService.Builder instanceConfiguration(CfnService.InstanceConfigurationProperty instanceConfiguration)
instanceConfiguration - The runtime configuration of instances (scaling units) of your service. This parameter is required.this@Stability(value=Stable) public CfnService.Builder instanceConfiguration(IResolvable instanceConfiguration)
instanceConfiguration - The runtime configuration of instances (scaling units) of your service. This parameter is required.this@Stability(value=Stable) public CfnService.Builder networkConfiguration(CfnService.NetworkConfigurationProperty networkConfiguration)
networkConfiguration - Configuration settings related to network traffic of the web application that the App Runner service runs. This parameter is required.this@Stability(value=Stable) public CfnService.Builder networkConfiguration(IResolvable networkConfiguration)
networkConfiguration - Configuration settings related to network traffic of the web application that the App Runner service runs. This parameter is required.this@Stability(value=Stable) public CfnService.Builder observabilityConfiguration(CfnService.ServiceObservabilityConfigurationProperty observabilityConfiguration)
observabilityConfiguration - The observability configuration of your service. This parameter is required.this@Stability(value=Stable) public CfnService.Builder observabilityConfiguration(IResolvable observabilityConfiguration)
observabilityConfiguration - The observability configuration of your service. This parameter is required.this@Stability(value=Stable) public CfnService.Builder serviceName(String serviceName)
It must be unique across all the running App Runner services in your AWS account in the AWS Region .
If you don't specify a name, AWS CloudFormation generates a name for your service.
serviceName - A name for the App Runner service. This parameter is required.this@Stability(value=Stable) public CfnService.Builder tags(List<? extends CfnTag> tags)
A tag is a key-value pair.
tags - An optional list of metadata items that you can associate with the App Runner service resource. This parameter is required.this@Stability(value=Stable) public CfnService build()
build in interface software.amazon.jsii.Builder<CfnService>Copyright © 2022. All rights reserved.