'MinSize': {'Required': True,
'Type': 'String'},
'Cooldown': {'Type': 'String'},
- 'DesiredCapacity': {'Type': 'Integer'},
+ 'DesiredCapacity': {'Type': 'Number'},
'HealthCheckGracePeriod': {'Type': 'Integer',
'Implemented': False},
'HealthCheckType': {'Type': 'String',
properties_schema = {
'AutoScalingGroupName': {'Type': 'String',
'Required': True},
- 'ScalingAdjustment': {'Type': 'Integer',
+ 'ScalingAdjustment': {'Type': 'Number',
'Required': True},
'AdjustmentType': {'Type': 'String',
'AllowedValues': ['ChangeInCapacity',
'ExactCapacity',
'PercentChangeInCapacity'],
'Required': True},
- 'Cooldown': {'Type': 'Integer'},
+ 'Cooldown': {'Type': 'Number'},
}
def __init__(self, name, json_snippet, stack):
class LoadBalancer(stack.Stack):
listeners_schema = {
- 'InstancePort': {'Type': 'Integer',
+ 'InstancePort': {'Type': 'Number',
'Required': True},
- 'LoadBalancerPort': {'Type': 'Integer',
+ 'LoadBalancerPort': {'Type': 'Number',
'Required': True},
'Protocol': {'Type': 'String',
'Required': True,
'AllowedValues': ['TCP', 'HTTP']},
'SSLCertificateId': {'Type': 'String',
'Implemented': False},
- 'PolicyNames': {'Type': 'Map',
+ 'PolicyNames': {'Type': 'List',
'Implemented': False}
}
healthcheck_schema = {
- 'HealthyThreshold': {'Type': 'Integer',
+ 'HealthyThreshold': {'Type': 'Number',
'Required': True},
- 'Interval': {'Type': 'Integer',
+ 'Interval': {'Type': 'Number',
'Required': True},
'Target': {'Type': 'String',
'Required': True},
- 'Timeout': {'Type': 'Integer',
+ 'Timeout': {'Type': 'Number',
'Required': True},
- 'UnhealthyThreshold': {'Type': 'Integer',
+ 'UnhealthyThreshold': {'Type': 'Number',
'Required': True},
}
class User(resource.Resource):
properties_schema = {'Path': {'Type': 'String'},
- 'Groups': {'Type': 'CommaDelimitedList'},
- 'LoginProfile': {'Type': 'List'},
+ 'Groups': {'Type': 'List'},
+ 'LoginProfile': {'Type': 'Map',
+ 'Schema': {
+ 'Password': {'Type': 'String'}
+ }},
'Policies': {'Type': 'List'}}
def __init__(self, name, json_snippet, stack):