@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.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 your 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 your service.this@Stability(value=Stable) public CfnServiceProps.Builder instanceConfiguration(CfnService.InstanceConfigurationProperty instanceConfiguration)
CfnServiceProps.getInstanceConfiguration()instanceConfiguration - The runtime configuration of instances (scaling units) of the App Runner service.this@Stability(value=Stable) public CfnServiceProps.Builder instanceConfiguration(IResolvable instanceConfiguration)
CfnServiceProps.getInstanceConfiguration()instanceConfiguration - The runtime configuration of instances (scaling units) of the App Runner service.this@Stability(value=Stable) public CfnServiceProps.Builder serviceName(String serviceName)
CfnServiceProps.getServiceName()serviceName - A name for the new service.
It must be unique across all the running App Runner services in your AWS account in the AWS Region .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 your 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.