Class SourceConfiguration

    • Method Detail

      • codeRepository

        public final CodeRepository codeRepository()

        The description of a source code repository.

        You must provide either this member or ImageRepository (but not both).

        Returns:
        The description of a source code repository.

        You must provide either this member or ImageRepository (but not both).

      • imageRepository

        public final ImageRepository imageRepository()

        The description of a source image repository.

        You must provide either this member or CodeRepository (but not both).

        Returns:
        The description of a source image repository.

        You must provide either this member or CodeRepository (but not both).

      • autoDeploymentsEnabled

        public final Boolean autoDeploymentsEnabled()

        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.

        Default: App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services 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).

        Returns:
        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.

        Default: App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services 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).

      • authenticationConfiguration

        public final AuthenticationConfiguration authenticationConfiguration()

        Describes the resources that are needed to authenticate access to some source repositories.

        Returns:
        Describes the resources that are needed to authenticate access to some source repositories.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)