-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #338 from ericzbeard/pkl-vpc
Update registry schemas and Pkl classes
- Loading branch information
Showing
192 changed files
with
19,344 additions
and
469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
171 changes: 171 additions & 0 deletions
171
internal/aws/cfn/schemas/aws/appintegrations/application.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
{ | ||
"typeName": "AWS::AppIntegrations::Application", | ||
"description": "Resource Type definition for AWS:AppIntegrations::Application", | ||
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", | ||
"definitions": { | ||
"Tag": { | ||
"description": "A label for tagging Application resources", | ||
"type": "object", | ||
"properties": { | ||
"Key": { | ||
"description": "A key to identify the tag.", | ||
"type": "string", | ||
"pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$", | ||
"minLength": 1, | ||
"maxLength": 128 | ||
}, | ||
"Value": { | ||
"description": "Corresponding tag value for the key.", | ||
"type": "string", | ||
"minLength": 0, | ||
"maxLength": 256 | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"Key", | ||
"Value" | ||
] | ||
}, | ||
"ExternalUrlConfig": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"AccessUrl", | ||
"ApprovedOrigins" | ||
], | ||
"properties": { | ||
"AccessUrl": { | ||
"type": "string", | ||
"pattern": "^\\w+\\:\\/\\/.*$", | ||
"minLength": 1, | ||
"maxLength": 1000 | ||
}, | ||
"ApprovedOrigins": { | ||
"type": "array", | ||
"insertionOrder": false, | ||
"items": { | ||
"$ref": "#/definitions/ApprovedOrigins" | ||
}, | ||
"minItems": 0, | ||
"maxItems": 50 | ||
} | ||
} | ||
}, | ||
"ApprovedOrigins": { | ||
"type": "string", | ||
"pattern": "^\\w+\\:\\/\\/.*$", | ||
"minLength": 1, | ||
"maxLength": 1000 | ||
} | ||
}, | ||
"properties": { | ||
"Name": { | ||
"description": "The name of the application.", | ||
"type": "string", | ||
"pattern": "^[a-zA-Z0-9/\\._\\-]+$", | ||
"minLength": 1, | ||
"maxLength": 255 | ||
}, | ||
"Id": { | ||
"description": "The id of the application.", | ||
"type": "string", | ||
"pattern": "^[a-zA-Z0-9/\\._\\-]+$", | ||
"minLength": 1, | ||
"maxLength": 255 | ||
}, | ||
"Namespace": { | ||
"description": "The namespace of the application.", | ||
"type": "string", | ||
"pattern": "^[a-zA-Z0-9/\\._\\-]+$", | ||
"minLength": 1, | ||
"maxLength": 255 | ||
}, | ||
"Description": { | ||
"description": "The application description.", | ||
"type": "string", | ||
"minLength": 1, | ||
"maxLength": 1000 | ||
}, | ||
"ApplicationArn": { | ||
"description": "The Amazon Resource Name (ARN) of the application.", | ||
"type": "string", | ||
"minLength": 1, | ||
"maxLength": 2048 | ||
}, | ||
"ApplicationSourceConfig": { | ||
"description": "Application source config", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"ExternalUrlConfig": { | ||
"$ref": "#/definitions/ExternalUrlConfig" | ||
} | ||
}, | ||
"required": [ | ||
"ExternalUrlConfig" | ||
] | ||
}, | ||
"Tags": { | ||
"description": "The tags (keys and values) associated with the application.", | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/Tag" | ||
}, | ||
"minItems": 0, | ||
"maxItems": 200 | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"Name", | ||
"Description", | ||
"ApplicationSourceConfig" | ||
], | ||
"tagging": { | ||
"taggable": true, | ||
"tagOnCreate": true, | ||
"tagUpdatable": true, | ||
"cloudFormationSystemTags": true, | ||
"tagProperty": "/properties/Tags" | ||
}, | ||
"readOnlyProperties": [ | ||
"/properties/ApplicationArn", | ||
"/properties/Id" | ||
], | ||
"primaryIdentifier": [ | ||
"/properties/ApplicationArn" | ||
], | ||
"handlers": { | ||
"create": { | ||
"permissions": [ | ||
"app-integrations:CreateApplication", | ||
"app-integrations:TagResource" | ||
] | ||
}, | ||
"read": { | ||
"permissions": [ | ||
"app-integrations:GetApplication" | ||
] | ||
}, | ||
"list": { | ||
"permissions": [ | ||
"app-integrations:ListApplications", | ||
"app-integrations:ListTagsForResource" | ||
] | ||
}, | ||
"update": { | ||
"permissions": [ | ||
"app-integrations:GetApplication", | ||
"app-integrations:UpdateApplication", | ||
"app-integrations:TagResource", | ||
"app-integrations:UntagResource" | ||
] | ||
}, | ||
"delete": { | ||
"permissions": [ | ||
"app-integrations:DeleteApplication" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
153 changes: 153 additions & 0 deletions
153
internal/aws/cfn/schemas/aws/arczonalshift/zonalautoshiftconfiguration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
{ | ||
"typeName": "AWS::ARCZonalShift::ZonalAutoshiftConfiguration", | ||
"description": "Definition of AWS::ARCZonalShift::ZonalAutoshiftConfiguration Resource Type", | ||
"definitions": { | ||
"ZonalAutoshiftStatus": { | ||
"type": "string", | ||
"enum": [ | ||
"ENABLED", | ||
"DISABLED" | ||
] | ||
}, | ||
"ControlCondition": { | ||
"type": "object", | ||
"properties": { | ||
"Type": { | ||
"$ref": "#/definitions/ControlConditionType" | ||
}, | ||
"AlarmIdentifier": { | ||
"type": "string", | ||
"maxLength": 1024, | ||
"minLength": 8, | ||
"pattern": "^arn:.*$" | ||
} | ||
}, | ||
"required": [ | ||
"AlarmIdentifier", | ||
"Type" | ||
], | ||
"additionalProperties": false | ||
}, | ||
"ControlConditionType": { | ||
"type": "string", | ||
"enum": [ | ||
"CLOUDWATCH" | ||
] | ||
}, | ||
"PracticeRunConfiguration": { | ||
"type": "object", | ||
"properties": { | ||
"BlockingAlarms": { | ||
"type": "array", | ||
"insertionOrder": false, | ||
"items": { | ||
"$ref": "#/definitions/ControlCondition" | ||
}, | ||
"maxItems": 1, | ||
"minItems": 1 | ||
}, | ||
"OutcomeAlarms": { | ||
"type": "array", | ||
"insertionOrder": false, | ||
"items": { | ||
"$ref": "#/definitions/ControlCondition" | ||
}, | ||
"maxItems": 1, | ||
"minItems": 1 | ||
}, | ||
"BlockedDates": { | ||
"type": "array", | ||
"insertionOrder": false, | ||
"items": { | ||
"type": "string", | ||
"maxLength": 10, | ||
"minLength": 10, | ||
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" | ||
}, | ||
"maxItems": 15, | ||
"minItems": 0 | ||
}, | ||
"BlockedWindows": { | ||
"type": "array", | ||
"insertionOrder": false, | ||
"items": { | ||
"type": "string", | ||
"maxLength": 19, | ||
"minLength": 19, | ||
"pattern": "^(Mon|Tue|Wed|Thu|Fri|Sat|Sun):[0-9]{2}:[0-9]{2}-(Mon|Tue|Wed|Thu|Fri|Sat|Sun):[0-9]{2}:[0-9]{2}$" | ||
}, | ||
"maxItems": 15, | ||
"minItems": 0 | ||
} | ||
}, | ||
"required": [ | ||
"OutcomeAlarms" | ||
], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"ZonalAutoshiftStatus": { | ||
"$ref": "#/definitions/ZonalAutoshiftStatus", | ||
"dependencies": { | ||
"ZonalAutoshiftStatus": [ | ||
"PracticeRunConfiguration" | ||
] | ||
} | ||
}, | ||
"PracticeRunConfiguration": { | ||
"$ref": "#/definitions/PracticeRunConfiguration" | ||
}, | ||
"ResourceIdentifier": { | ||
"type": "string", | ||
"maxLength": 1024, | ||
"minLength": 8 | ||
} | ||
}, | ||
"createOnlyProperties": [ | ||
"/properties/ResourceIdentifier" | ||
], | ||
"primaryIdentifier": [ | ||
"/properties/ResourceIdentifier" | ||
], | ||
"handlers": { | ||
"create": { | ||
"permissions": [ | ||
"arc-zonal-shift:CreatePracticeRunConfiguration", | ||
"arc-zonal-shift:GetManagedResource", | ||
"arc-zonal-shift:UpdateZonalAutoshiftConfiguration", | ||
"cloudwatch:DescribeAlarms", | ||
"iam:CreateServiceLinkedRole" | ||
] | ||
}, | ||
"read": { | ||
"permissions": [ | ||
"arc-zonal-shift:GetManagedResource" | ||
] | ||
}, | ||
"update": { | ||
"permissions": [ | ||
"arc-zonal-shift:GetManagedResource", | ||
"arc-zonal-shift:UpdatePracticeRunConfiguration", | ||
"arc-zonal-shift:UpdateZonalAutoshiftConfiguration", | ||
"cloudwatch:DescribeAlarms" | ||
] | ||
}, | ||
"delete": { | ||
"permissions": [ | ||
"arc-zonal-shift:DeletePracticeRunConfiguration", | ||
"arc-zonal-shift:GetManagedResource", | ||
"arc-zonal-shift:UpdateZonalAutoshiftConfiguration" | ||
] | ||
}, | ||
"list": { | ||
"permissions": [ | ||
"arc-zonal-shift:ListManagedResources" | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"tagging": { | ||
"taggable": false | ||
} | ||
} |
Oops, something went wrong.