Document subnet properties

AWS::EC2::Subnet

Change-Id: I5270cc5203dbb13538413db27640609e8b113f19
Closes-bug: #1224151
This commit is contained in:
Jeff Peeler 2013-10-21 15:39:41 -04:00
parent daa8d6c216
commit 0801c231e9
1 changed files with 11 additions and 4 deletions

View File

@ -29,17 +29,24 @@ class Subnet(resource.Resource):
'Required': True}}
properties_schema = {
'AvailabilityZone': {'Type': 'String'},
'AvailabilityZone': {
'Type': 'String',
'Description': _('Availablity zone in which you want the '
'subnet.')},
'CidrBlock': {
'Type': 'String',
'Required': True},
'Required': True,
'Description': _('CIDR block to apply to subnet.')},
'VpcId': {
'Type': 'String',
'Required': True},
'Required': True,
'Description': _('Ref structure that contains the ID of the '
'VPC on which you want to create the subnet.')},
'Tags': {'Type': 'List', 'Schema': {
'Type': 'Map',
'Implemented': False,
'Schema': tags_schema}}
'Schema': tags_schema,
'Description': _('List of tags to attach to this resource.')}}
}
def handle_create(self):