Definitions for @turbot/aws-outposts

AvailabilityZone

{
"type": "string",
"pattern": "[a-z\\d-]+",
"minLength": 1,
"maxLength": 1000,
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/AvailabilityZone",
"modUri": "tmod:@turbot/aws-outposts"
}
}

AvailabilityZoneId

{
"type": "string",
"pattern": "[a-z]+[0-9]+-az[0-9]+",
"minLength": 1,
"maxLength": 255,
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/AvailabilityZoneId",
"modUri": "tmod:@turbot/aws-outposts"
}
}

InstanceTypes

{
"type": "array",
"items": {
"type": "object",
"properties": {
"InstanceType": {
"type": "string"
}
}
},
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/InstanceTypes",
"modUri": "tmod:@turbot/aws-outposts"
}
}

LifeCycleStatus

{
"type": "string",
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/LifeCycleStatus",
"modUri": "tmod:@turbot/aws-outposts"
}
}

localGateway

{
"type": "object",
"properties": {
"LocalGatewayId": {
"$ref": "#/definitions/LocalGatewayId"
},
"OutpostArn": {
"$ref": "#/definitions/OutpostArn"
},
"OwnerId": {
"$ref": "#/definitions/OwnerId"
},
"State": {
"type": "string"
},
"Tags": {
"$ref": "aws#/definitions/tagList"
},
"turbot": {
"type": "object",
"properties": {
"tags": {
"$ref": "aws#/definitions/tagsMap"
},
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/localGatewayAka"
}
},
"title": {
"type": "string"
},
"metadata": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
},
"createTimestamp": {
"$ref": "turbot#/definitions/isoTimestamp"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Valid - All properties",
"input": {
"LocalGatewayId": "lgw-03a4947af0e1cef25",
"OutpostArn": "arn:aws:outposts:us-west-2:472917514601:outpost/op-0cef59a427027be8d",
"OwnerId": "472917514601",
"State": "Available",
"Tags": [
{
"Key": "Env",
"Value": "Test"
},
{
"Key": "App",
"Value": "turbot"
}
],
"turbot": {
"title": "lgw-03a4947af0e1cef25",
"akas": [
"arn:aws:outposts:us-west-2:472917514601:local-gateway/lgw-03a4947af0e1cef25"
],
"tags": {
"Env": "Test",
"App": "Facebook"
},
"custom": {
"aws": {
"accountId": 472917514601,
"regionName": "us-west-2"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/localGateway",
"modUri": "tmod:@turbot/aws-outposts"
}
}

localGatewayAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:outposts:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:local-gateway/lgw-[a-f0-9]{17}$",
"tests": [
{
"description": "Base",
"input": "arn:aws:outposts:us-west-2:472917514601:local-gateway/lgw-03a4947af0e1cef25"
},
{
"description": "Invalid region name",
"input": "arn:aws:outposts:us-eastdk-74381:472917514601:local-gateway/lgw-03a4947af0e1cef25",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/localGatewayAka",
"modUri": "tmod:@turbot/aws-outposts"
}
}

LocalGatewayId

{
"type": "string",
"pattern": "^lgw-[a-f0-9]{17}$",
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/LocalGatewayId",
"modUri": "tmod:@turbot/aws-outposts"
}
}

localGatewayRouteTable

{
"type": "object",
"properties": {
"LocalGatewayRouteTableId": {
"$ref": "#/definitions/LocalGatewayRouteTableId"
},
"LocalGatewayId": {
"$ref": "#/definitions/LocalGatewayId"
},
"OutpostArn": {
"$ref": "#/definitions/OutpostArn"
},
"State": {
"type": "string"
},
"Tags": {
"$ref": "aws#/definitions/tagList"
},
"turbot": {
"type": "object",
"properties": {
"tags": {
"$ref": "aws#/definitions/tagsMap"
},
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/localGatewayRouteTableAka"
}
},
"title": {
"type": "string"
},
"metadata": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
},
"createTimestamp": {
"$ref": "turbot#/definitions/isoTimestamp"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Valid - All properties",
"input": {
"LocalGatewayRouteTableId": "lgw-rtb-062897d0ffbf7d751",
"LocalGatewayId": "lgw-03a4947af0e1cef25",
"OutpostArn": "arn:aws:outposts:us-west-2:472917514601:outpost/op-0cef59a427027be8d",
"State": "Available",
"Tags": [
{
"Key": "Env",
"Value": "Test"
},
{
"Key": "App",
"Value": "turbot"
}
],
"turbot": {
"title": "lgw-rtb-062897d0ffbf7d751",
"akas": [
"arn:aws:outposts:us-west-2:472917514601:local-gateway-route-table/lgw-rtb-062897d0ffbf7d751"
],
"tags": {
"Env": "Test",
"App": "Facebook"
},
"custom": {
"aws": {
"accountId": 472917514601,
"regionName": "us-west-2"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/localGatewayRouteTable",
"modUri": "tmod:@turbot/aws-outposts"
}
}

localGatewayRouteTableAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:outposts:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:local-gateway-route-table/lgw-rtb-[a-f0-9]{17}$",
"tests": [
{
"description": "Base",
"input": "arn:aws:outposts:us-west-2:472917514601:local-gateway-route-table/lgw-rtb-062897d0ffbf7d751"
},
{
"description": "Invalid region name",
"input": "arn:aws:outposts:us-eastdk-74381:472917514601:local-gateway-route-table/lgw-rtb-062897d0ffbf7d751",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/localGatewayRouteTableAka",
"modUri": "tmod:@turbot/aws-outposts"
}
}

LocalGatewayRouteTableId

{
"type": "string",
"pattern": "^lgw-rtb-[a-f0-9]{17}$",
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/LocalGatewayRouteTableId",
"modUri": "tmod:@turbot/aws-outposts"
}
}

localGatewayVirtualInterface

{
"type": "object",
"properties": {
"LocalGatewayVirtualInterfaceId": {
"$ref": "#/definitions/LocalGatewayVirtualInterfaceId"
},
"LocalGatewayId": {
"$ref": "#/definitions/LocalGatewayId"
},
"Vlan": {
"type": "integer"
},
"LocalAddress": {
"type": "string"
},
"PeerAddress": {
"type": "string"
},
"LocalBgpAsn": {
"type": "integer"
},
"PeerBgpAsn": {
"type": "integer"
},
"Tags": {
"$ref": "aws#/definitions/tagList"
},
"turbot": {
"type": "object",
"properties": {
"tags": {
"$ref": "aws#/definitions/tagsMap"
},
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/localGatewayVirtualInterfaceAka"
}
},
"title": {
"type": "string"
},
"metadata": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
},
"createTimestamp": {
"$ref": "turbot#/definitions/isoTimestamp"
}
}
}
}
}
},
"additionalProperties": true,
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/localGatewayVirtualInterface",
"modUri": "tmod:@turbot/aws-outposts"
}
}

localGatewayVirtualInterfaceAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:outposts:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:local-gateway-virtual-interface/lgw-vif-[a-f0-9]{17}$",
"tests": [
{
"description": "Base",
"input": "arn:aws:outposts:us-west-2:472917514601:local-gateway-virtual-interface/lgw-vif-0ce0f7c2bf888c2b9"
},
{
"description": "Invalid region name",
"input": "arn:aws:outposts:us-eastdk-74381:472917514601:local-gateway-virtual-interface/lgw-vif-0ce0f7c2bf888c2b9",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/localGatewayVirtualInterfaceAka",
"modUri": "tmod:@turbot/aws-outposts"
}
}

localGatewayVirtualInterfaceGroup

{
"type": "object",
"properties": {
"LocalGatewayVirtualInterfaceGroupId": {
"$ref": "#/definitions/LocalGatewayVirtualInterfaceGroupId"
},
"LocalGatewayId": {
"$ref": "#/definitions/LocalGatewayId"
},
"LocalGatewayVirtualInterfaceIds": {
"type": "array",
"items": {
"$ref": "#/definitions/LocalGatewayVirtualInterfaceId"
}
},
"Tags": {
"$ref": "aws#/definitions/tagList"
},
"turbot": {
"type": "object",
"properties": {
"tags": {
"$ref": "aws#/definitions/tagsMap"
},
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/localGatewayVirtualInterfaceGroupAka"
}
},
"title": {
"type": "string"
},
"metadata": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
},
"createTimestamp": {
"$ref": "turbot#/definitions/isoTimestamp"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Valid - All properties",
"input": {
"LocalGatewayVirtualInterfaceGroupId": "lgw-vif-grp-0b26c32d4a2291e11",
"LocalGatewayId": "lgw-03a4947af0e1cef25",
"LocalGatewayVirtualInterfaceIds": [
"lgw-vif-0988a41efdb2066d4",
"lgw-vif-0ce0f7c2bf888c2b9"
],
"Tags": [
{
"Key": "Env",
"Value": "Test"
},
{
"Key": "App",
"Value": "turbot"
}
],
"turbot": {
"title": "lgw-vif-grp-0b26c32d4a2291e11",
"akas": [
"arn:aws:outposts:us-west-2:472917514601:local-gateway-virtual-interface-group/lgw-vif-grp-0b26c32d4a2291e11"
],
"tags": {
"Env": "Test",
"App": "Facebook"
},
"custom": {
"aws": {
"accountId": 472917514601,
"regionName": "us-west-2"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/localGatewayVirtualInterfaceGroup",
"modUri": "tmod:@turbot/aws-outposts"
}
}

localGatewayVirtualInterfaceGroupAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:outposts:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:local-gateway-virtual-interface-group/lgw-vif-grp-[a-f0-9]{17}$",
"tests": [
{
"description": "Base",
"input": "arn:aws:outposts:us-west-2:472917514601:local-gateway-virtual-interface-group/lgw-vif-grp-0b26c32d4a2291e11"
},
{
"description": "Invalid region name",
"input": "arn:aws:outposts:us-eastdk-74381:472917514601:local-gateway-virtual-interface-group/lgw-vif-grp-0b26c32d4a2291e11",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/localGatewayVirtualInterfaceGroupAka",
"modUri": "tmod:@turbot/aws-outposts"
}
}

LocalGatewayVirtualInterfaceGroupId

{
"type": "string",
"pattern": "^lgw-vif-grp-[a-f0-9]{17}$",
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/LocalGatewayVirtualInterfaceGroupId",
"modUri": "tmod:@turbot/aws-outposts"
}
}

LocalGatewayVirtualInterfaceId

{
"type": "string",
"pattern": "^lgw-vif-[a-f0-9]{17}$",
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/LocalGatewayVirtualInterfaceId",
"modUri": "tmod:@turbot/aws-outposts"
}
}

outpost

{
"type": "object",
"properties": {
"OutpostId": {
"$ref": "#/definitions/OutpostId"
},
"OwnerId": {
"$ref": "#/definitions/OwnerId"
},
"OutpostArn": {
"$ref": "#/definitions/OutpostArn"
},
"SiteId": {
"$ref": "#/definitions/SiteId"
},
"Name": {
"$ref": "#/definitions/OutpostName"
},
"Description": {
"$ref": "#/definitions/OutpostDescription"
},
"LifeCycleStatus": {
"$ref": "#/definitions/LifeCycleStatus"
},
"AvailabilityZone": {
"$ref": "#/definitions/AvailabilityZone"
},
"AvailabilityZoneId": {
"$ref": "#/definitions/AvailabilityZoneId"
},
"turbot": {
"type": "object",
"properties": {
"tags": {
"$ref": "aws#/definitions/tagsMap"
},
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/outpostAka"
}
},
"title": {
"type": "string"
},
"metadata": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
},
"createTimestamp": {
"$ref": "turbot#/definitions/isoTimestamp"
}
}
}
}
}
},
"additionalProperties": true,
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/outpost",
"modUri": "tmod:@turbot/aws-outposts"
}
}

outpostAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:outposts:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:outpost/op-[a-f0-9]{17}$",
"tests": [
{
"description": "Base",
"input": "arn:aws:outposts:us-west-2:472917514601:outpost/op-0cef59a427027be8d"
},
{
"description": "Invalid service name",
"input": "arn:aws:amplifye:us-east-1:123456789012",
"expected": false
},
{
"description": "Invalid region name",
"input": "arn:aws:outposts:us-eastdk-74381:123456786354",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/outpostAka",
"modUri": "tmod:@turbot/aws-outposts"
}
}

OutpostArn

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:outposts:[a-z\\d-]+:\\d{12}:outpost/op-[a-f0-9]{17}$",
"minLength": 1,
"maxLength": 255,
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/OutpostArn",
"modUri": "tmod:@turbot/aws-outposts"
}
}

OutpostDescription

{
"type": "string",
"pattern": "^[\\S ]+$",
"minLength": 1,
"maxLength": 1000,
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/OutpostDescription",
"modUri": "tmod:@turbot/aws-outposts"
}
}

OutpostId

{
"type": "string",
"pattern": "^op-[a-f0-9]{17}$",
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/OutpostId",
"modUri": "tmod:@turbot/aws-outposts"
}
}

OutpostName

{
"type": "string",
"pattern": "^[\\S ]+$",
"minLength": 1,
"maxLength": 255,
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/OutpostName",
"modUri": "tmod:@turbot/aws-outposts"
}
}

outposts

{
"allOf": [
{
"$ref": "turbot#/definitions/service"
},
{
"type": "object",
"properties": {
"name": {
"const": "Outposts"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/outpostsAka"
}
},
"title": {
"const": "Outposts"
},
"custom": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Valid - All properties",
"input": {
"name": "Outposts",
"turbot": {
"akas": [
"arn:aws:outposts:us-east-1:123456789012"
],
"title": "Outposts",
"custom": {
"aws": {
"accountId": 123456789012,
"regionName": "us-east-1",
"partition": "aws"
}
}
}
}
}
]
}
],
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/outposts",
"modUri": "tmod:@turbot/aws-outposts"
}
}

outpostsAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:outposts:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}$",
"tests": [
{
"description": "Base",
"input": "arn:aws:outposts:us-east-1:123456789012"
},
{
"description": "Invalid service name",
"input": "arn:aws:amplifye:us-east-1:123456789012",
"expected": false
},
{
"description": "Invalid region name",
"input": "arn:aws:outposts:us-eastdk-74381:123456786354",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/outpostsAka",
"modUri": "tmod:@turbot/aws-outposts"
}
}

OwnerId

{
"type": "string",
"pattern": "\\d{12}",
"minLength": 12,
"maxLength": 12,
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/OwnerId",
"modUri": "tmod:@turbot/aws-outposts"
}
}

SiteId

{
"type": "string",
"pattern": "os-[a-f0-9]{17}",
".turbot": {
"uri": "tmod:@turbot/aws-outposts#/definitions/SiteId",
"modUri": "tmod:@turbot/aws-outposts"
}
}