Class ServiceProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apprunner.alpha.ServiceProps.Jsii$Proxy
All Implemented Interfaces:
ServiceProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ServiceProps

@Stability(Experimental) @Internal public static final class ServiceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServiceProps
An implementation for ServiceProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.apprunner.alpha.ServiceProps

    ServiceProps.Builder, ServiceProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ServiceProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final IRole
    (experimental) The IAM role that grants the App Runner service access to a source repository.
    final Boolean
    (experimental) Specifies whether to enable continuous integration from the source repository.
    (experimental) Specifies an App Runner Auto Scaling Configuration.
    final Cpu
    (experimental) The number of CPU units reserved for each instance of your App Runner service.
    (experimental) Settings for the health check that AWS App Runner performs to monitor the health of a service.
    final IRole
    (experimental) The IAM role that provides permissions to your App Runner service.
    (experimental) The IP address type for your incoming public network configuration.
    final Boolean
    (experimental) Specifies whether your App Runner service is publicly accessible.
    final IKey
    (experimental) The customer managed key that AWS App Runner uses to encrypt copies of the source repository and service logs.
    final Memory
    (experimental) The amount of memory reserved for each instance of your App Runner service.
    (experimental) Settings for an App Runner observability configuration.
    final String
    (experimental) Name of the service.
    final Source
    (experimental) The source of the repository for the service.
    (experimental) Settings for an App Runner VPC connector to associate with the service.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ServiceProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ServiceProps.Builder.
  • Method Details

    • getSource

      public final Source getSource()
      Description copied from interface: ServiceProps
      (experimental) The source of the repository for the service.
      Specified by:
      getSource in interface ServiceProps
    • getAccessRole

      public final IRole getAccessRole()
      Description copied from interface: ServiceProps
      (experimental) The IAM role that grants the App Runner service access to a source repository.

      It's required for ECR image repositories (but not for ECR Public repositories).

      The role must be assumable by the 'build.apprunner.amazonaws.com' service principal.

      Default: - generate a new access role.

      Specified by:
      getAccessRole in interface ServiceProps
      See Also:
    • getAutoDeploymentsEnabled

      public final Boolean getAutoDeploymentsEnabled()
      Description copied from interface: ServiceProps
      (experimental) Specifies whether to enable continuous integration from the source repository.

      If true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment. By default, App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an AWS account other than the one that the service is in. App Runner sets to true in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).

      Default: - no value will be passed.

      Specified by:
      getAutoDeploymentsEnabled in interface ServiceProps
    • getAutoScalingConfiguration

      public final IAutoScalingConfiguration getAutoScalingConfiguration()
      Description copied from interface: ServiceProps
      (experimental) Specifies an App Runner Auto Scaling Configuration.

      A default configuration is either the AWS recommended configuration, or the configuration you set as the default.

      Default: - the latest revision of a default auto scaling configuration is used.

      Specified by:
      getAutoScalingConfiguration in interface ServiceProps
      See Also:
    • getCpu

      public final Cpu getCpu()
      Description copied from interface: ServiceProps
      (experimental) The number of CPU units reserved for each instance of your App Runner service.

      Default: Cpu.ONE_VCPU

      Specified by:
      getCpu in interface ServiceProps
    • getHealthCheck

      public final HealthCheck getHealthCheck()
      Description copied from interface: ServiceProps
      (experimental) Settings for the health check that AWS App Runner performs to monitor the health of a service.

      You can specify it by static methods HealthCheck.http or HealthCheck.tcp.

      Default: - no health check configuration

      Specified by:
      getHealthCheck in interface ServiceProps
    • getInstanceRole

      public final IRole getInstanceRole()
      Description copied from interface: ServiceProps
      (experimental) The IAM role that provides permissions to your App Runner service.

      These are permissions that your code needs when it calls any AWS APIs.

      The role must be assumable by the 'tasks.apprunner.amazonaws.com' service principal.

      Default: - generate a new instance role.

      Specified by:
      getInstanceRole in interface ServiceProps
      See Also:
    • getIpAddressType

      public final IpAddressType getIpAddressType()
      Description copied from interface: ServiceProps
      (experimental) The IP address type for your incoming public network configuration.

      Default: - IpAddressType.IPV4

      Specified by:
      getIpAddressType in interface ServiceProps
    • getIsPubliclyAccessible

      public final Boolean getIsPubliclyAccessible()
      Description copied from interface: ServiceProps
      (experimental) Specifies whether your App Runner service is publicly accessible.

      If you use VpcIngressConnection, you must set this property to false.

      Default: true

      Specified by:
      getIsPubliclyAccessible in interface ServiceProps
    • getKmsKey

      public final IKey getKmsKey()
      Description copied from interface: ServiceProps
      (experimental) The customer managed key that AWS App Runner uses to encrypt copies of the source repository and service logs.

      Default: - Use an AWS managed key

      Specified by:
      getKmsKey in interface ServiceProps
    • getMemory

      public final Memory getMemory()
      Description copied from interface: ServiceProps
      (experimental) The amount of memory reserved for each instance of your App Runner service.

      Default: Memory.TWO_GB

      Specified by:
      getMemory in interface ServiceProps
    • getObservabilityConfiguration

      public final IObservabilityConfiguration getObservabilityConfiguration()
      Description copied from interface: ServiceProps
      (experimental) Settings for an App Runner observability configuration.

      Default: - no observability configuration resource is associated with the service.

      Specified by:
      getObservabilityConfiguration in interface ServiceProps
    • getServiceName

      public final String getServiceName()
      Description copied from interface: ServiceProps
      (experimental) Name of the service.

      Default: - auto-generated if undefined.

      Specified by:
      getServiceName in interface ServiceProps
    • getVpcConnector

      public final IVpcConnector getVpcConnector()
      Description copied from interface: ServiceProps
      (experimental) Settings for an App Runner VPC connector to associate with the service.

      Default: - no VPC connector, uses the DEFAULT egress type instead

      Specified by:
      getVpcConnector in interface ServiceProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object