{
 "additionalIdentifiers": [
  [
   "/properties/Id"
  ],
  [
   "/properties/Name"
  ]
 ],
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/CustomDomainName"
 ],
 "definitions": {
  "DnsEntry": {
   "additionalProperties": false,
   "properties": {
    "DomainName": {
     "type": "string"
    },
    "HostedZoneId": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 1,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "maxLength": 2048,
   "minLength": 20,
   "pattern": "^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}$",
   "type": "string"
  },
  "AuthType": {
   "default": "NONE",
   "enum": [
    "NONE",
    "AWS_IAM"
   ],
   "type": "string"
  },
  "CertificateArn": {
   "format": "AWS::ACM::Certificate.Arn",
   "maxLength": 2048,
   "pattern": "^(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:certificate/[0-9a-z-]+)?$",
   "type": "string"
  },
  "CreatedAt": {
   "type": "string"
  },
  "CustomDomainName": {
   "maxLength": 255,
   "minLength": 3,
   "type": "string"
  },
  "DnsEntry": {
   "$ref": "#/definitions/DnsEntry"
  },
  "Id": {
   "maxLength": 21,
   "minLength": 21,
   "pattern": "^svc-[0-9a-z]{17}$",
   "type": "string"
  },
  "LastUpdatedAt": {
   "type": "string"
  },
  "Name": {
   "maxLength": 40,
   "minLength": 3,
   "pattern": "^(?!svc-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$",
   "type": "string"
  },
  "Status": {
   "enum": [
    "ACTIVE",
    "CREATE_IN_PROGRESS",
    "DELETE_IN_PROGRESS",
    "CREATE_FAILED",
    "DELETE_FAILED"
   ],
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array",
   "uniqueItems": true
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/CreatedAt",
  "/properties/DnsEntry/DomainName",
  "/properties/DnsEntry/HostedZoneId",
  "/properties/Id",
  "/properties/LastUpdatedAt",
  "/properties/Status"
 ],
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::VpcLattice::Service"
}
