<cloudwatch-query-parameter target="ctrl.annotation" datasource="ctrl.datasource"></cloudwatch-query-parameter>

<div class="editor-row" style="padding: 2rem 0">
	<div class="section">
		<h5>Prefix matching</h5>
		<div class="gf-form-inline">
			<gf-form-switch class="gf-form" label="Enable" checked="ctrl.annotation.prefixMatching" switch-class="max-width-6"></gf-form-switch>
			<div class="gf-form" ng-if="ctrl.annotation.prefixMatching">
				<span class="gf-form-label">Action</span>
				<input type="text" class="gf-form-input" ng-model='ctrl.annotation.actionPrefix'></input>
			</div>
			<div class="gf-form" ng-if="ctrl.annotation.prefixMatching">
				<span class="gf-form-label">Alarm Name</span>
				<input type="text" class="gf-form-input" ng-model='ctrl.annotation.alarmNamePrefix'></input>
			</div>
		</div>
	</div>
</div>
