feat: EC2 UI polished + storage persisting
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import type {ServiceSchema} from './types'
|
||||
|
||||
export function awsNotificationsSchema(): ServiceSchema {
|
||||
return {
|
||||
cloud: 'aws',
|
||||
service: 'notifications',
|
||||
displayName: 'Amazon SNS',
|
||||
fields: [
|
||||
{
|
||||
name: 'name',
|
||||
label: 'Topic Name',
|
||||
type: 'text',
|
||||
required: true,
|
||||
description: 'Up to 256 letters, numbers, hyphens, and underscores.',
|
||||
},
|
||||
],
|
||||
actions: ['list', 'create', 'inspect', 'delete'],
|
||||
filters: [{name: 'search', label: 'Search', type: 'text', required: false}],
|
||||
columns: [
|
||||
{name: 'name', label: 'Name'},
|
||||
{name: 'arn', label: 'Topic ARN', path: 'metadata.arn', format: 'code'},
|
||||
{name: 'type', label: 'Type'},
|
||||
],
|
||||
capabilities: {
|
||||
resourceActions: [
|
||||
{name: 'list', label: 'List topics', enabled: true, status: 'available', runtimeRequired: true},
|
||||
{name: 'create', label: 'Create topic', enabled: true, status: 'available', runtimeRequired: true},
|
||||
{name: 'delete', label: 'Delete topic', enabled: true, status: 'available', runtimeRequired: true},
|
||||
{name: 'inspect', label: 'Inspect topic', enabled: true, status: 'available', runtimeRequired: false},
|
||||
],
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user