» aws_api_gateway_client_certificate

Provides an API Gateway Client Certificate.

» Example Usage

resource "aws_api_gateway_client_certificate" "demo" {
  description = "My client certificate"

» Argument Reference

The following arguments are supported:

  • description - (Optional) The description of the client certificate.

» Attribute Reference

In addition to all arguments above, the following attributes are exported:

  • id - The identifier of the client certificate.
  • created_date - The date when the client certificate was created.
  • expiration_date - The date when the client certificate will expire.
  • pem_encoded_certificate - The PEM-encoded public key of the client certificate.

» Import

API Gateway Client Certificates can be imported using the id, e.g.

$ terraform import aws_api_gateway_client_certificate.demo ab1cqe