@Stability(value=Stable) public static final class CfnServiceProps.Builder extends Object implements software.amazon.jsii.Builder<CfnServiceProps>
CfnServiceProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnServiceProps.Builder sourceConfiguration(CfnService.SourceConfigurationProperty sourceConfiguration)
CfnServiceProps.getSourceConfiguration()sourceConfiguration - The source to deploy to the App Runner service. This parameter is required.
It can be a code or an image repository.this@Stability(value=Stable) public CfnServiceProps.Builder sourceConfiguration(IResolvable sourceConfiguration)
CfnServiceProps.getSourceConfiguration()sourceConfiguration - The source to deploy to the App Runner service. This parameter is required.
It can be a code or an image repository.this@Stability(value=Stable) public CfnServiceProps.Builder autoScalingConfigurationArn(String autoScalingConfigurationArn)
CfnServiceProps.getAutoScalingConfigurationArn()autoScalingConfigurationArn - 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
this@Stability(value=Stable) public CfnServiceProps.Builder encryptionConfiguration(CfnService.EncryptionConfigurationProperty encryptionConfiguration)
CfnServiceProps.getEncryptionConfiguration()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 AWS managed key .this@Stability(value=Stable) public CfnServiceProps.Builder encryptionConfiguration(IResolvable encryptionConfiguration)
CfnServiceProps.getEncryptionConfiguration()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 AWS managed key .this@Stability(value=Stable) public CfnServiceProps.Builder healthCheckConfiguration(CfnService.HealthCheckConfigurationProperty healthCheckConfiguration)
CfnServiceProps.getHealthCheckConfiguration()healthCheckConfiguration - The settings for the health check that AWS App Runner performs to monitor the health of the App Runner service.this@Stability(value=Stable) public CfnServiceProps.Builder healthCheckConfiguration(IResolvable healthCheckConfiguration)
CfnServiceProps.getHealthCheckConfiguration()healthCheckConfiguration - The settings for the health check that AWS App Runner performs to monitor the health of the App Runner service.this@Stability(value=Stable) public CfnServiceProps.Builder instanceConfiguration(CfnService.InstanceConfigurationProperty instanceConfiguration)
CfnServiceProps.getInstanceConfiguration()instanceConfiguration - The runtime configuration of instances (scaling units) of your service.this@Stability(value=Stable) public CfnServiceProps.Builder instanceConfiguration(IResolvable instanceConfiguration)
CfnServiceProps.getInstanceConfiguration()instanceConfiguration - The runtime configuration of instances (scaling units) of your service.this@Stability(value=Stable) public CfnServiceProps.Builder networkConfiguration(CfnService.NetworkConfigurationProperty networkConfiguration)
CfnServiceProps.getNetworkConfiguration()networkConfiguration - Configuration settings related to network traffic of the web application that the App Runner service runs.this@Stability(value=Stable) public CfnServiceProps.Builder networkConfiguration(IResolvable networkConfiguration)
CfnServiceProps.getNetworkConfiguration()networkConfiguration - Configuration settings related to network traffic of the web application that the App Runner service runs.this@Stability(value=Stable) public CfnServiceProps.Builder observabilityConfiguration(CfnService.ServiceObservabilityConfigurationProperty observabilityConfiguration)
CfnServiceProps.getObservabilityConfiguration()observabilityConfiguration - The observability configuration of your service.this@Stability(value=Stable) public CfnServiceProps.Builder observabilityConfiguration(IResolvable observabilityConfiguration)
CfnServiceProps.getObservabilityConfiguration()observabilityConfiguration - The observability configuration of your service.this@Stability(value=Stable) public CfnServiceProps.Builder serviceName(String serviceName)
CfnServiceProps.getServiceName()serviceName - A name for the App Runner service.
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.
this@Stability(value=Stable) public CfnServiceProps.Builder tags(List<? extends CfnTag> tags)
CfnServiceProps.getTags()tags - An optional list of metadata items that you can associate with the App Runner service resource.
A tag is a key-value pair.this@Stability(value=Stable) public CfnServiceProps build()
build in interface software.amazon.jsii.Builder<CfnServiceProps>CfnServicePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.