Class CfnServicePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin>
- Enclosing class:
CfnServicePropsMixin
CfnServicePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionautoScalingConfigurationArn(String autoScalingConfigurationArn) The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service.build()static CfnServicePropsMixin.Buildercreate()static CfnServicePropsMixin.Buildercreate(CfnPropertyMixinOptions options) encryptionConfiguration(CfnServicePropsMixin.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.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.healthCheckConfiguration(CfnServicePropsMixin.HealthCheckConfigurationProperty healthCheckConfiguration) The settings for the health check that AWS App Runner performs to monitor the health of the App Runner service.healthCheckConfiguration(IResolvable healthCheckConfiguration) The settings for the health check that AWS App Runner performs to monitor the health of the App Runner service.instanceConfiguration(CfnServicePropsMixin.InstanceConfigurationProperty instanceConfiguration) The runtime configuration of instances (scaling units) of your service.instanceConfiguration(IResolvable instanceConfiguration) The runtime configuration of instances (scaling units) of your service.networkConfiguration(CfnServicePropsMixin.NetworkConfigurationProperty networkConfiguration) Configuration settings related to network traffic of the web application that the App Runner service runs.networkConfiguration(IResolvable networkConfiguration) Configuration settings related to network traffic of the web application that the App Runner service runs.observabilityConfiguration(CfnServicePropsMixin.ServiceObservabilityConfigurationProperty observabilityConfiguration) The observability configuration of your service.observabilityConfiguration(IResolvable observabilityConfiguration) The observability configuration of your service.serviceName(String serviceName) A name for the App Runner service.sourceConfiguration(CfnServicePropsMixin.SourceConfigurationProperty sourceConfiguration) The source to deploy to the App Runner service.sourceConfiguration(IResolvable sourceConfiguration) The source to deploy to the App Runner service.An optional list of metadata items that you can associate with the App Runner service resource.
-
Method Details
-
create
@Stability(Stable) public static CfnServicePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnServicePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnServicePropsMixin.Builder.
-
autoScalingConfigurationArn
@Stability(Stable) public CfnServicePropsMixin.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.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/3Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability- Parameters:
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.- Returns:
this- See Also:
-
encryptionConfiguration
@Stability(Stable) public CfnServicePropsMixin.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.By default, App Runner uses an AWS managed key .
- Parameters:
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.- Returns:
this- See Also:
-
encryptionConfiguration
@Stability(Stable) public CfnServicePropsMixin.Builder encryptionConfiguration(CfnServicePropsMixin.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.By default, App Runner uses an AWS managed key .
- Parameters:
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.- Returns:
this- See Also:
-
healthCheckConfiguration
@Stability(Stable) public CfnServicePropsMixin.Builder healthCheckConfiguration(IResolvable healthCheckConfiguration) The settings for the health check that AWS App Runner performs to monitor the health of the App Runner service.- Parameters:
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.- Returns:
this- See Also:
-
healthCheckConfiguration
@Stability(Stable) public CfnServicePropsMixin.Builder healthCheckConfiguration(CfnServicePropsMixin.HealthCheckConfigurationProperty healthCheckConfiguration) The settings for the health check that AWS App Runner performs to monitor the health of the App Runner service.- Parameters:
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.- Returns:
this- See Also:
-
instanceConfiguration
@Stability(Stable) public CfnServicePropsMixin.Builder instanceConfiguration(IResolvable instanceConfiguration) The runtime configuration of instances (scaling units) of your service.- Parameters:
instanceConfiguration- The runtime configuration of instances (scaling units) of your service. This parameter is required.- Returns:
this- See Also:
-
instanceConfiguration
@Stability(Stable) public CfnServicePropsMixin.Builder instanceConfiguration(CfnServicePropsMixin.InstanceConfigurationProperty instanceConfiguration) The runtime configuration of instances (scaling units) of your service.- Parameters:
instanceConfiguration- The runtime configuration of instances (scaling units) of your service. This parameter is required.- Returns:
this- See Also:
-
networkConfiguration
@Stability(Stable) public CfnServicePropsMixin.Builder networkConfiguration(IResolvable networkConfiguration) Configuration settings related to network traffic of the web application that the App Runner service runs.- Parameters:
networkConfiguration- Configuration settings related to network traffic of the web application that the App Runner service runs. This parameter is required.- Returns:
this- See Also:
-
networkConfiguration
@Stability(Stable) public CfnServicePropsMixin.Builder networkConfiguration(CfnServicePropsMixin.NetworkConfigurationProperty networkConfiguration) Configuration settings related to network traffic of the web application that the App Runner service runs.- Parameters:
networkConfiguration- Configuration settings related to network traffic of the web application that the App Runner service runs. This parameter is required.- Returns:
this- See Also:
-
observabilityConfiguration
@Stability(Stable) public CfnServicePropsMixin.Builder observabilityConfiguration(IResolvable observabilityConfiguration) The observability configuration of your service.- Parameters:
observabilityConfiguration- The observability configuration of your service. This parameter is required.- Returns:
this- See Also:
-
observabilityConfiguration
@Stability(Stable) public CfnServicePropsMixin.Builder observabilityConfiguration(CfnServicePropsMixin.ServiceObservabilityConfigurationProperty observabilityConfiguration) The observability configuration of your service.- Parameters:
observabilityConfiguration- The observability configuration of your service. This parameter is required.- Returns:
this- See Also:
-
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, CloudFormation generates a name for your service.
- Parameters:
serviceName- A name for the App Runner service. This parameter is required.- Returns:
this- See Also:
-
sourceConfiguration
@Stability(Stable) public CfnServicePropsMixin.Builder sourceConfiguration(IResolvable sourceConfiguration) The source to deploy to the App Runner service.It can be a code or an image repository.
- Parameters:
sourceConfiguration- The source to deploy to the App Runner service. This parameter is required.- Returns:
this- See Also:
-
sourceConfiguration
@Stability(Stable) public CfnServicePropsMixin.Builder sourceConfiguration(CfnServicePropsMixin.SourceConfigurationProperty sourceConfiguration) The source to deploy to the App Runner service.It can be a code or an image repository.
- Parameters:
sourceConfiguration- The source to deploy to the App Runner service. This parameter is required.- Returns:
this- See Also:
-
tags
An optional list of metadata items that you can associate with the App Runner service resource.A tag is a key-value pair.
- Parameters:
tags- An optional list of metadata items that you can associate with the App Runner service resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin>- Returns:
- a newly built instance of
CfnServicePropsMixin.
-