#### {{ accountName }}

### {{ mode }} role

Role name @if (form.showError('role_name', formDir, 'required')) { This field is required. }
@if (!isEdit) {
Path @if (form.showError('role_path', formDir, 'required')) { This field is required. }
Trust policy @if (form.showError('role_assume_policy_doc', formDir, 'required')) { This field is required. } @if (form.showError('role_assume_policy_doc', formDir, 'json')) { Must be a valid JSON. }
} @if (isEdit) {
@if (form.showError('max_session_duration', formDir, 'required')) { This field is required. } @if (form.showError('max_session_duration', formDir, 'min')) { Minimum value is 1 hour. } @if (form.showError('max_session_duration', formDir, 'max')) { Maximum value is 12 hours. }
}