Class RepositoryEncryptionConfigurationArgs.Builder

    • Method Detail

      • encryptionType

        public RepositoryEncryptionConfigurationArgs.Builder encryptionType​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.String> encryptionType)
        Parameters:
        encryptionType - The encryption type to use for the repository. Valid values are `AES256` or `KMS`. Defaults to `AES256`.
        Returns:
        builder
      • encryptionType

        public RepositoryEncryptionConfigurationArgs.Builder encryptionType​(java.lang.String encryptionType)
        Parameters:
        encryptionType - The encryption type to use for the repository. Valid values are `AES256` or `KMS`. Defaults to `AES256`.
        Returns:
        builder
      • kmsKey

        public RepositoryEncryptionConfigurationArgs.Builder kmsKey​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> kmsKey)
        Parameters:
        kmsKey - The ARN of the KMS key to use when `encryptionType` is `KMS`. If not specified, uses the default AWS managed key for ECR.
        Returns:
        builder
      • kmsKey

        public RepositoryEncryptionConfigurationArgs.Builder kmsKey​(java.lang.String kmsKey)
        Parameters:
        kmsKey - The ARN of the KMS key to use when `encryptionType` is `KMS`. If not specified, uses the default AWS managed key for ECR.
        Returns:
        builder