Skip to content

Certificate Resource Providers

Certificate Resource Providers

ImportCertificateProvider

Imports certificate by its ARN and makes it available to the blueprint constructs under the provided name.

Example Implementation:

blueprints.EksBlueprint.builder()
  .resourceProvider("test-cert", new blueprints.ImportCertificateProvider("arn:aws:acm:<region>:<account>:certificate/<cert-id>", "test-cert"))
  ...
  .build();

CreateCertificateProvider

Creates a new certificate for the specified domain and makes it available to the blueprint constructs under the provided name. Depends on a hosted zone to be registered for validation.

Example Implementation:

blueprints.EksBlueprint.builder()
  .resourceProvider("internal-zone", new blueprints.ImportHostedZoneProvider('hosted-zone-id', "internal.domain.com"))
  .resourceProvider("test-cert", new blueprints.CreateCertificateProvider("test-cert", "*.internal.domain.com", "internal-zone"))
  ...
  .build();