1. Packages
  2. AWS Native
  3. API Docs
  4. lightsail
  5. getCertificate

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

aws-native.lightsail.getCertificate

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

    An example resource schema demonstrating some basic constructs and validation rules.

    Using getCertificate

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCertificate(args: GetCertificateArgs, opts?: InvokeOptions): Promise<GetCertificateResult>
    function getCertificateOutput(args: GetCertificateOutputArgs, opts?: InvokeOptions): Output<GetCertificateResult>
    def get_certificate(certificate_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCertificateResult
    def get_certificate_output(certificate_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCertificateResult]
    func LookupCertificate(ctx *Context, args *LookupCertificateArgs, opts ...InvokeOption) (*LookupCertificateResult, error)
    func LookupCertificateOutput(ctx *Context, args *LookupCertificateOutputArgs, opts ...InvokeOption) LookupCertificateResultOutput

    > Note: This function is named LookupCertificate in the Go SDK.

    public static class GetCertificate 
    {
        public static Task<GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetCertificateResult> Invoke(GetCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:lightsail:getCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CertificateName string
    The name for the certificate.
    CertificateName string
    The name for the certificate.
    certificateName String
    The name for the certificate.
    certificateName string
    The name for the certificate.
    certificate_name str
    The name for the certificate.
    certificateName String
    The name for the certificate.

    getCertificate Result

    The following output properties are available:

    CertificateArn string
    The Amazon Resource Name (ARN) of the certificate.
    Status string
    The validation status of the certificate.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    CertificateArn string
    The Amazon Resource Name (ARN) of the certificate.
    Status string
    The validation status of the certificate.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    certificateArn String
    The Amazon Resource Name (ARN) of the certificate.
    status String
    The validation status of the certificate.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    certificateArn string
    The Amazon Resource Name (ARN) of the certificate.
    status string
    The validation status of the certificate.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    certificate_arn str
    The Amazon Resource Name (ARN) of the certificate.
    status str
    The validation status of the certificate.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    certificateArn String
    The Amazon Resource Name (ARN) of the certificate.
    status String
    The validation status of the certificate.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi