Package com.pulumi.aws.apprunner
Class ServiceArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.apprunner.ServiceArgs.Builder
-
- Enclosing class:
- ServiceArgs
public static final class ServiceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ServiceArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ServiceArgs defaults)
-
-
Method Detail
-
autoScalingConfigurationArn
public ServiceArgs.Builder autoScalingConfigurationArn(@Nullable com.pulumi.core.Output<java.lang.String> autoScalingConfigurationArn)
- Parameters:
autoScalingConfigurationArn- 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.- Returns:
- builder
-
autoScalingConfigurationArn
public ServiceArgs.Builder autoScalingConfigurationArn(java.lang.String autoScalingConfigurationArn)
- Parameters:
autoScalingConfigurationArn- 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.- Returns:
- builder
-
encryptionConfiguration
public ServiceArgs.Builder encryptionConfiguration(@Nullable com.pulumi.core.Output<ServiceEncryptionConfigurationArgs> encryptionConfiguration)
- Parameters:
encryptionConfiguration- 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 CMK. See `encryptionConfiguration` below.- Returns:
- builder
-
encryptionConfiguration
public ServiceArgs.Builder encryptionConfiguration(ServiceEncryptionConfigurationArgs encryptionConfiguration)
- Parameters:
encryptionConfiguration- 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 CMK. See `encryptionConfiguration` below.- Returns:
- builder
-
healthCheckConfiguration
public ServiceArgs.Builder healthCheckConfiguration(@Nullable com.pulumi.core.Output<ServiceHealthCheckConfigurationArgs> healthCheckConfiguration)
- Parameters:
healthCheckConfiguration- Settings of the health check that AWS App Runner performs to monitor the health of your service. See `healthCheckConfiguration` below.- Returns:
- builder
-
healthCheckConfiguration
public ServiceArgs.Builder healthCheckConfiguration(ServiceHealthCheckConfigurationArgs healthCheckConfiguration)
- Parameters:
healthCheckConfiguration- Settings of the health check that AWS App Runner performs to monitor the health of your service. See `healthCheckConfiguration` below.- Returns:
- builder
-
instanceConfiguration
public ServiceArgs.Builder instanceConfiguration(@Nullable com.pulumi.core.Output<ServiceInstanceConfigurationArgs> instanceConfiguration)
- Parameters:
instanceConfiguration- Runtime configuration of instances (scaling units) of the App Runner service. See `instanceConfiguration` below.- Returns:
- builder
-
instanceConfiguration
public ServiceArgs.Builder instanceConfiguration(ServiceInstanceConfigurationArgs instanceConfiguration)
- Parameters:
instanceConfiguration- Runtime configuration of instances (scaling units) of the App Runner service. See `instanceConfiguration` below.- Returns:
- builder
-
networkConfiguration
public ServiceArgs.Builder networkConfiguration(@Nullable com.pulumi.core.Output<ServiceNetworkConfigurationArgs> networkConfiguration)
- Parameters:
networkConfiguration- Configuration settings related to network traffic of the web application that the App Runner service runs. See `networkConfiguration` below.- Returns:
- builder
-
networkConfiguration
public ServiceArgs.Builder networkConfiguration(ServiceNetworkConfigurationArgs networkConfiguration)
- Parameters:
networkConfiguration- Configuration settings related to network traffic of the web application that the App Runner service runs. See `networkConfiguration` below.- Returns:
- builder
-
observabilityConfiguration
public ServiceArgs.Builder observabilityConfiguration(@Nullable com.pulumi.core.Output<ServiceObservabilityConfigurationArgs> observabilityConfiguration)
- Parameters:
observabilityConfiguration- Observability configuration of your service. See `observabilityConfiguration` below.- Returns:
- builder
-
observabilityConfiguration
public ServiceArgs.Builder observabilityConfiguration(ServiceObservabilityConfigurationArgs observabilityConfiguration)
- Parameters:
observabilityConfiguration- Observability configuration of your service. See `observabilityConfiguration` below.- Returns:
- builder
-
region
public ServiceArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public ServiceArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
serviceName
public ServiceArgs.Builder serviceName(com.pulumi.core.Output<java.lang.String> serviceName)
- Parameters:
serviceName- Name of the service.- Returns:
- builder
-
serviceName
public ServiceArgs.Builder serviceName(java.lang.String serviceName)
- Parameters:
serviceName- Name of the service.- Returns:
- builder
-
sourceConfiguration
public ServiceArgs.Builder sourceConfiguration(com.pulumi.core.Output<ServiceSourceConfigurationArgs> sourceConfiguration)
- Parameters:
sourceConfiguration- Source to deploy to the App Runner service. Can be a code or an image repository. See `sourceConfiguration` below.- Returns:
- builder
-
sourceConfiguration
public ServiceArgs.Builder sourceConfiguration(ServiceSourceConfigurationArgs sourceConfiguration)
- Parameters:
sourceConfiguration- Source to deploy to the App Runner service. Can be a code or an image repository. See `sourceConfiguration` below.- Returns:
- builder
-
tags
public ServiceArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public ServiceArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
build
public ServiceArgs build()
-
-