We recommend new projects start with resources from the AWS provider.
aws-native.acmpca.getCertificate
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::ACMPCA::Certificate
resource is used to issue a certificate using your private certificate authority. For more information, see the IssueCertificate action.
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(arn: Optional[str] = None,
certificate_authority_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCertificateResult
def get_certificate_output(arn: Optional[pulumi.Input[str]] = None,
certificate_authority_arn: 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:acmpca:getCertificate
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the issued certificate.
- string
- The Amazon Resource Name (ARN) for the private CA issues the certificate.
- Arn string
- The Amazon Resource Name (ARN) of the issued certificate.
- string
- The Amazon Resource Name (ARN) for the private CA issues the certificate.
- arn String
- The Amazon Resource Name (ARN) of the issued certificate.
- String
- The Amazon Resource Name (ARN) for the private CA issues the certificate.
- arn string
- The Amazon Resource Name (ARN) of the issued certificate.
- string
- The Amazon Resource Name (ARN) for the private CA issues the certificate.
- arn str
- The Amazon Resource Name (ARN) of the issued certificate.
- str
- The Amazon Resource Name (ARN) for the private CA issues the certificate.
- arn String
- The Amazon Resource Name (ARN) of the issued certificate.
- String
- The Amazon Resource Name (ARN) for the private CA issues the certificate.
getCertificate Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the issued certificate.
- Certificate
Value string - The issued Base64 PEM-encoded certificate.
- Arn string
- The Amazon Resource Name (ARN) of the issued certificate.
- Certificate string
- The issued Base64 PEM-encoded certificate.
- arn String
- The Amazon Resource Name (ARN) of the issued certificate.
- certificate String
- The issued Base64 PEM-encoded certificate.
- arn string
- The Amazon Resource Name (ARN) of the issued certificate.
- certificate string
- The issued Base64 PEM-encoded certificate.
- arn str
- The Amazon Resource Name (ARN) of the issued certificate.
- certificate str
- The issued Base64 PEM-encoded certificate.
- arn String
- The Amazon Resource Name (ARN) of the issued certificate.
- certificate String
- The issued Base64 PEM-encoded certificate.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.