Skip to content

Resource: awsWorklinkWebsiteCertificateAuthorityAssociation

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.worklinkFleet.WorklinkFleet(this, "example", {
  name: "terraform-example",
});
new aws.worklinkWebsiteCertificateAuthorityAssociation.WorklinkWebsiteCertificateAuthorityAssociation(
  this,
  "test",
  {
    certificate: '${file("certificate.pem")}',
    fleetArn: "${aws_worklink_fleet.test.arn}",
  }
);

Argument Reference

The following arguments are supported:

  • fleetArn - (Required, ForceNew) The ARN of the fleet.
  • certificate - (Required, ForceNew) The root certificate of the Certificate Authority.
  • displayName - (Optional, ForceNew) The certificate name to display.

Attributes Reference

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

  • websiteCaId - A unique identifier for the Certificate Authority.

Import

WorkLink Website Certificate Authority can be imported using fleetArn,websiteCaId, e.g.,

$ terraform import aws_worklink_website_certificate_authority_association.example arn:aws:worklink::123456789012:fleet/example,abcdefghijk