Interface EcrConfiguration.Builder

  • Method Details

    • repositoryName

      EcrConfiguration.Builder repositoryName(String repositoryName)

      The name of the container repository where Image Builder pushes the container image for the vulnerability scan. Provide the repository name only (a namespace path is allowed, but not the registry hostname); the repository must already exist in your account. If you don't specify a repository name, Image Builder creates the default repository image-builder-image-scanning-repository in your account.

      Parameters:
      repositoryName - The name of the container repository where Image Builder pushes the container image for the vulnerability scan. Provide the repository name only (a namespace path is allowed, but not the registry hostname); the repository must already exist in your account. If you don't specify a repository name, Image Builder creates the default repository image-builder-image-scanning-repository in your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerTags

      EcrConfiguration.Builder containerTags(Collection<String> containerTags)

      Tags for Image Builder to apply to the output container image that Amazon Inspector scans. Tags can help you identify and manage your scanned images.

      Parameters:
      containerTags - Tags for Image Builder to apply to the output container image that Amazon Inspector scans. Tags can help you identify and manage your scanned images.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerTags

      EcrConfiguration.Builder containerTags(String... containerTags)

      Tags for Image Builder to apply to the output container image that Amazon Inspector scans. Tags can help you identify and manage your scanned images.

      Parameters:
      containerTags - Tags for Image Builder to apply to the output container image that Amazon Inspector scans. Tags can help you identify and manage your scanned images.
      Returns:
      Returns a reference to this object so that method calls can be chained together.