@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(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 your service.
|
CfnService.Builder |
healthCheckConfiguration(IResolvable healthCheckConfiguration)
The settings for the health check that AWS App Runner performs to monitor the health of your service.
|
CfnService.Builder |
instanceConfiguration(CfnService.InstanceConfigurationProperty instanceConfiguration)
The runtime configuration of instances (scaling units) of the App Runner service.
|
CfnService.Builder |
instanceConfiguration(IResolvable instanceConfiguration)
The runtime configuration of instances (scaling units) of the App Runner service.
|
CfnService.Builder |
serviceName(String serviceName)
A name for the new 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 your service resource.
|
@Stability(value=Stable) public static CfnService.Builder create(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.
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 your 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 your 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 the App Runner service. This parameter is required.this@Stability(value=Stable) public CfnService.Builder instanceConfiguration(IResolvable instanceConfiguration)
instanceConfiguration - The runtime configuration of instances (scaling units) of the App Runner 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 .
serviceName - A name for the new 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 your 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.