Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "Parameters": {
- "InstanceType": {
- "Description": "Typ instancji serwera",
- "Type": "String",
- "Default": "t2.micro",
- "AllowedValues": [
- "t2.micro",
- "t2.small"
- ],
- "ConstraintDescription": "musi zawierać poprawny typ"
- },
- "KeyName": {
- "Description": "Nazwa klucza dostępowego do instancji",
- "Type": "AWS::EC2::KeyPair::KeyName",
- "ConstraintDescription": "Musi być istniejącym kluczem"
- },
- "SSHLocation": {
- "Description": "Zakres dozwolonych adresów IP dla SSH",
- "Type": "String",
- "MinLength": "9",
- "MaxLength": "18",
- "Default": "0.0.0.0/0",
- "AllowedPattern": "(\\d{1,3})\\.(\\d{1,3})\\.
- (\\d{1,3})\\.(\\d{1,3})/(\\d{1,2})",
- "ConstraintDescription": "Musi być poprawnym zakresem w
- formacie x.x.x.x/x.”
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement