W3cubDocs

/Terraform

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

© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/api_gateway_client_certificate.html