{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-lightsail-loadbalancertlscertificate.json",
  "title": "AWSLightsailLoadBalancerTlsCertificateProperties",
  "description": "Resource Type definition for AWS::Lightsail::LoadBalancerTlsCertificate. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-lightsail.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-lightsail-loadbalancertlscertificate.json",
    "sourceSha256": "a0fb82f8dc4b12c5a5ffcffae7aa4e75562d5dfbaf7133a9b4a677a94a9767fa"
  },
  "type": "object",
  "properties": {
    "LoadBalancerName": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "\\w[\\w\\-]*\\w"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of your load balancer."
    },
    "CertificateName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The SSL/TLS certificate name."
    },
    "CertificateDomainName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The domain name (e.g., example.com ) for your SSL/TLS certificate."
    },
    "CertificateAlternativeNames": {
      "description": "An array of strings listing alternative domains and subdomains for your SSL/TLS certificate.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "type": "string"
      }
    },
    "IsAttached": {
      "description": "When true, the SSL/TLS certificate is attached to the Lightsail load balancer.",
      "type": "boolean"
    },
    "HttpsRedirectionEnabled": {
      "description": "A Boolean value that indicates whether HTTPS redirection is enabled for the load balancer.",
      "type": "boolean"
    }
  },
  "typeName": "AWS::Lightsail::LoadBalancerTlsCertificate",
  "createOnlyProperties": [
    "/properties/LoadBalancerName",
    "/properties/CertificateName",
    "/properties/CertificateDomainName",
    "/properties/CertificateAlternativeNames"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-lightsail.git",
  "primaryIdentifier": [
    "/properties/CertificateName",
    "/properties/LoadBalancerName"
  ],
  "additionalProperties": false,
  "required": [
    "LoadBalancerName",
    "CertificateName",
    "CertificateDomainName"
  ],
  "readOnlyProperties": [
    "/properties/LoadBalancerTlsCertificateArn",
    "/properties/Status"
  ],
  "taggable": true
}
