Interface SourceConfiguration.Builder

    • Method Detail

      • codeRepository

        SourceConfiguration.Builder codeRepository​(CodeRepository codeRepository)

        The description of a source code repository.

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

        Parameters:
        codeRepository - The description of a source code repository.

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

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • imageRepository

        SourceConfiguration.Builder imageRepository​(ImageRepository imageRepository)

        The description of a source image repository.

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

        Parameters:
        imageRepository - The description of a source image repository.

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

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoDeploymentsEnabled

        SourceConfiguration.Builder autoDeploymentsEnabled​(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).

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • authenticationConfiguration

        SourceConfiguration.Builder authenticationConfiguration​(AuthenticationConfiguration authenticationConfiguration)

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

        Parameters:
        authenticationConfiguration - Describes the resources that are needed to authenticate access to some source repositories.
        Returns:
        Returns a reference to this object so that method calls can be chained together.