Class ServerCertificateArgs.Builder

  • Enclosing class:
    ServerCertificateArgs

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

      • certificateBody

        public ServerCertificateArgs.Builder certificateBody​(com.pulumi.core.Output<java.lang.String> certificateBody)
        Parameters:
        certificateBody - The contents of the public key certificate in PEM-encoded format.
        Returns:
        builder
      • certificateBody

        public ServerCertificateArgs.Builder certificateBody​(java.lang.String certificateBody)
        Parameters:
        certificateBody - The contents of the public key certificate in PEM-encoded format.
        Returns:
        builder
      • certificateChain

        public ServerCertificateArgs.Builder certificateChain​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> certificateChain)
        Parameters:
        certificateChain - The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.
        Returns:
        builder
      • certificateChain

        public ServerCertificateArgs.Builder certificateChain​(java.lang.String certificateChain)
        Parameters:
        certificateChain - The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.
        Returns:
        builder
      • name

        public ServerCertificateArgs.Builder name​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the Server Certificate. Do not include the path in this value. If omitted, the provider will assign a random, unique name.
        Returns:
        builder
      • name

        public ServerCertificateArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the Server Certificate. Do not include the path in this value. If omitted, the provider will assign a random, unique name.
        Returns:
        builder
      • namePrefix

        public ServerCertificateArgs.Builder namePrefix​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • namePrefix

        public ServerCertificateArgs.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • path

        public ServerCertificateArgs.Builder path​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> path)
        Parameters:
        path - The IAM path for the server certificate. If it is not included, it defaults to a slash (/). If this certificate is for use with AWS CloudFront, the path must be in format `/cloudfront/your_path_here`. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more details on IAM Paths.
        Returns:
        builder
      • path

        public ServerCertificateArgs.Builder path​(java.lang.String path)
        Parameters:
        path - The IAM path for the server certificate. If it is not included, it defaults to a slash (/). If this certificate is for use with AWS CloudFront, the path must be in format `/cloudfront/your_path_here`. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more details on IAM Paths.
        Returns:
        builder
      • privateKey

        public ServerCertificateArgs.Builder privateKey​(com.pulumi.core.Output<java.lang.String> privateKey)
        Parameters:
        privateKey - The contents of the private key in PEM-encoded format.
        Returns:
        builder
      • privateKey

        public ServerCertificateArgs.Builder privateKey​(java.lang.String privateKey)
        Parameters:
        privateKey - The contents of the private key in PEM-encoded format.
        Returns:
        builder
      • tags

        public ServerCertificateArgs.Builder tags​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of resource tags for the server certificate. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **NOTE:** AWS performs behind-the-scenes modifications to some certificate files if they do not adhere to a specific format. These modifications will result in this provider forever believing that it needs to update the resources since the local and AWS file contents will not match after theses modifications occur. In order to prevent this from happening you must ensure that all your PEM-encoded files use UNIX line-breaks and that `certificateBody` contains only one certificate. All other certificates should go in `certificateChain`. It is common for some Certificate Authorities to issue certificate files that have DOS line-breaks and that are actually multiple certificates concatenated together in order to form a full certificate chain.
        Returns:
        builder
      • tags

        public ServerCertificateArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of resource tags for the server certificate. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **NOTE:** AWS performs behind-the-scenes modifications to some certificate files if they do not adhere to a specific format. These modifications will result in this provider forever believing that it needs to update the resources since the local and AWS file contents will not match after theses modifications occur. In order to prevent this from happening you must ensure that all your PEM-encoded files use UNIX line-breaks and that `certificateBody` contains only one certificate. All other certificates should go in `certificateChain`. It is common for some Certificate Authorities to issue certificate files that have DOS line-breaks and that are actually multiple certificates concatenated together in order to form a full certificate chain.
        Returns:
        builder