#NEWLINE# def validate( self ) : #NEWLINE# #INDENT# volume_type = self . properties . get ( 'VolumeType' ) #NEWLINE# iops = self . properties . get ( 'Iops' ) #NEWLINE# if ( ( self == 'io1' ) and ( not iops ) ) : #NEWLINE# #INDENT# raise ValueError ( "Must specify Iops if VolumeType is 'io1'." )