Class CertificateAuthorityState.Builder

  • Enclosing class:
    CertificateAuthorityState

    public static final class CertificateAuthorityState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public CertificateAuthorityState.Builder arn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the certificate authority.
        Returns:
        builder
      • certificate

        public CertificateAuthorityState.Builder certificate​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> certificate)
        Parameters:
        certificate - Base64-encoded certificate authority (CA) certificate. Only available after the certificate authority certificate has been imported.
        Returns:
        builder
      • certificate

        public CertificateAuthorityState.Builder certificate​(java.lang.String certificate)
        Parameters:
        certificate - Base64-encoded certificate authority (CA) certificate. Only available after the certificate authority certificate has been imported.
        Returns:
        builder
      • certificateChain

        public CertificateAuthorityState.Builder certificateChain​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> certificateChain)
        Parameters:
        certificateChain - Base64-encoded certificate chain that includes any intermediate certificates and chains up to root on-premises certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate. Only available after the certificate authority certificate has been imported.
        Returns:
        builder
      • certificateChain

        public CertificateAuthorityState.Builder certificateChain​(java.lang.String certificateChain)
        Parameters:
        certificateChain - Base64-encoded certificate chain that includes any intermediate certificates and chains up to root on-premises certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate. Only available after the certificate authority certificate has been imported.
        Returns:
        builder
      • certificateSigningRequest

        public CertificateAuthorityState.Builder certificateSigningRequest​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.String> certificateSigningRequest)
        Parameters:
        certificateSigningRequest - The base64 PEM-encoded certificate signing request (CSR) for your private CA certificate.
        Returns:
        builder
      • certificateSigningRequest

        public CertificateAuthorityState.Builder certificateSigningRequest​(java.lang.String certificateSigningRequest)
        Parameters:
        certificateSigningRequest - The base64 PEM-encoded certificate signing request (CSR) for your private CA certificate.
        Returns:
        builder
      • enabled

        public CertificateAuthorityState.Builder enabled​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> enabled)
        Parameters:
        enabled - Whether the certificate authority is enabled or disabled. Defaults to `true`. Can only be disabled if the CA is in an `ACTIVE` state.
        Returns:
        builder
      • enabled

        public CertificateAuthorityState.Builder enabled​(java.lang.Boolean enabled)
        Parameters:
        enabled - Whether the certificate authority is enabled or disabled. Defaults to `true`. Can only be disabled if the CA is in an `ACTIVE` state.
        Returns:
        builder
      • keyStorageSecurityStandard

        public CertificateAuthorityState.Builder keyStorageSecurityStandard​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.String> keyStorageSecurityStandard)
        Parameters:
        keyStorageSecurityStandard - Cryptographic key management compliance standard used for handling CA keys. Defaults to `FIPS_140_2_LEVEL_3_OR_HIGHER`. Valid values: `FIPS_140_2_LEVEL_3_OR_HIGHER` and `FIPS_140_2_LEVEL_2_OR_HIGHER`. Supported standard for each region can be found in the [Storage and security compliance of AWS Private CA private keys Documentation](https://docs.aws.amazon.com/privateca/latest/userguide/data-protection.html#private-keys).
        Returns:
        builder
      • keyStorageSecurityStandard

        public CertificateAuthorityState.Builder keyStorageSecurityStandard​(java.lang.String keyStorageSecurityStandard)
        Parameters:
        keyStorageSecurityStandard - Cryptographic key management compliance standard used for handling CA keys. Defaults to `FIPS_140_2_LEVEL_3_OR_HIGHER`. Valid values: `FIPS_140_2_LEVEL_3_OR_HIGHER` and `FIPS_140_2_LEVEL_2_OR_HIGHER`. Supported standard for each region can be found in the [Storage and security compliance of AWS Private CA private keys Documentation](https://docs.aws.amazon.com/privateca/latest/userguide/data-protection.html#private-keys).
        Returns:
        builder
      • notAfter

        public CertificateAuthorityState.Builder notAfter​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> notAfter)
        Parameters:
        notAfter - Date and time after which the certificate authority is not valid. Only available after the certificate authority certificate has been imported.
        Returns:
        builder
      • notAfter

        public CertificateAuthorityState.Builder notAfter​(java.lang.String notAfter)
        Parameters:
        notAfter - Date and time after which the certificate authority is not valid. Only available after the certificate authority certificate has been imported.
        Returns:
        builder
      • notBefore

        public CertificateAuthorityState.Builder notBefore​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> notBefore)
        Parameters:
        notBefore - Date and time before which the certificate authority is not valid. Only available after the certificate authority certificate has been imported.
        Returns:
        builder
      • notBefore

        public CertificateAuthorityState.Builder notBefore​(java.lang.String notBefore)
        Parameters:
        notBefore - Date and time before which the certificate authority is not valid. Only available after the certificate authority certificate has been imported.
        Returns:
        builder
      • permanentDeletionTimeInDays

        public CertificateAuthorityState.Builder permanentDeletionTimeInDays​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.Integer> permanentDeletionTimeInDays)
        Parameters:
        permanentDeletionTimeInDays - Number of days to make a CA restorable after it has been deleted, must be between 7 to 30 days, with default to 30 days.
        Returns:
        builder
      • permanentDeletionTimeInDays

        public CertificateAuthorityState.Builder permanentDeletionTimeInDays​(java.lang.Integer permanentDeletionTimeInDays)
        Parameters:
        permanentDeletionTimeInDays - Number of days to make a CA restorable after it has been deleted, must be between 7 to 30 days, with default to 30 days.
        Returns:
        builder
      • serial

        public CertificateAuthorityState.Builder serial​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> serial)
        Parameters:
        serial - Serial number of the certificate authority. Only available after the certificate authority certificate has been imported.
        Returns:
        builder
      • serial

        public CertificateAuthorityState.Builder serial​(java.lang.String serial)
        Parameters:
        serial - Serial number of the certificate authority. Only available after the certificate authority certificate has been imported.
        Returns:
        builder
      • tags

        public CertificateAuthorityState.Builder tags​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of user-defined tags that are attached to the certificate authority. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public CertificateAuthorityState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of user-defined tags that are attached to the certificate authority. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public CertificateAuthorityState.Builder tagsAll​(@Nullable
                                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public CertificateAuthorityState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • type

        public CertificateAuthorityState.Builder type​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Type of the certificate authority. Defaults to `SUBORDINATE`. Valid values: `ROOT` and `SUBORDINATE`.
        Returns:
        builder
      • type

        public CertificateAuthorityState.Builder type​(java.lang.String type)
        Parameters:
        type - Type of the certificate authority. Defaults to `SUBORDINATE`. Valid values: `ROOT` and `SUBORDINATE`.
        Returns:
        builder
      • usageMode

        public CertificateAuthorityState.Builder usageMode​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> usageMode)
        Parameters:
        usageMode - Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly. Short-lived certificate validity is limited to seven days. Defaults to `GENERAL_PURPOSE`. Valid values: `GENERAL_PURPOSE` and `SHORT_LIVED_CERTIFICATE`.
        Returns:
        builder
      • usageMode

        public CertificateAuthorityState.Builder usageMode​(java.lang.String usageMode)
        Parameters:
        usageMode - Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly. Short-lived certificate validity is limited to seven days. Defaults to `GENERAL_PURPOSE`. Valid values: `GENERAL_PURPOSE` and `SHORT_LIVED_CERTIFICATE`.
        Returns:
        builder