|
43 | 43 | }, |
44 | 44 | "additionalProperties": false, |
45 | 45 | "markdownDescription": "Logging configuration\n\n---\n\nRequired: No \nUpdate requires: No interruption\n" |
| 46 | + }, |
| 47 | + "Label": { |
| 48 | + "description": "Series label", |
| 49 | + "type": "object", |
| 50 | + "properties": { |
| 51 | + "Name": { |
| 52 | + "type": "string", |
| 53 | + "description": "Name of the label", |
| 54 | + "minLength": 1, |
| 55 | + "markdownDescription": "Name of the label\n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 1 \nPattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ \nUpdate requires: No interruption\n" |
| 56 | + }, |
| 57 | + "Value": { |
| 58 | + "type": "string", |
| 59 | + "description": "Value of the label", |
| 60 | + "minLength": 1, |
| 61 | + "markdownDescription": "Value of the label\n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 1 \nUpdate requires: No interruption\n" |
| 62 | + } |
| 63 | + }, |
| 64 | + "required": [ |
| 65 | + "Name", |
| 66 | + "Value" |
| 67 | + ], |
| 68 | + "additionalProperties": false, |
| 69 | + "markdownDescription": "Series label\n\n---\n\nRequired: No \nUpdate requires: No interruption\n" |
| 70 | + }, |
| 71 | + "LimitsPerLabelSetEntry": { |
| 72 | + "description": "Limits that can be applied to a label set", |
| 73 | + "type": "object", |
| 74 | + "properties": { |
| 75 | + "MaxSeries": { |
| 76 | + "description": "The maximum number of active series that can be ingested for this label set", |
| 77 | + "type": "integer", |
| 78 | + "minimum": 0, |
| 79 | + "markdownDescription": "The maximum number of active series that can be ingested for this label set\n\n---\n\nRequired: No \nType: Integer \nUpdate requires: No interruption\n" |
| 80 | + } |
| 81 | + }, |
| 82 | + "additionalProperties": false, |
| 83 | + "markdownDescription": "Limits that can be applied to a label set\n\n---\n\nRequired: No \nUpdate requires: No interruption\n" |
| 84 | + }, |
| 85 | + "LimitsPerLabelSet": { |
| 86 | + "description": "Label set and its associated limits", |
| 87 | + "type": "object", |
| 88 | + "properties": { |
| 89 | + "Limits": { |
| 90 | + "$ref": "#/definitions/LimitsPerLabelSetEntry" |
| 91 | + }, |
| 92 | + "LabelSet": { |
| 93 | + "description": "An array of series labels", |
| 94 | + "type": "array", |
| 95 | + "uniqueItems": true, |
| 96 | + "insertionOrder": false, |
| 97 | + "items": { |
| 98 | + "$ref": "#/definitions/Label" |
| 99 | + }, |
| 100 | + "minItems": 0, |
| 101 | + "markdownDescription": "An array of series labels\n\n---\n\nRequired: Yes \nType: Array \nUpdate requires: No interruption\n" |
| 102 | + } |
| 103 | + }, |
| 104 | + "required": [ |
| 105 | + "Limits", |
| 106 | + "LabelSet" |
| 107 | + ], |
| 108 | + "additionalProperties": false, |
| 109 | + "markdownDescription": "Label set and its associated limits\n\n---\n\nRequired: No \nUpdate requires: No interruption\n" |
| 110 | + }, |
| 111 | + "WorkspaceConfiguration": { |
| 112 | + "description": "Workspace configuration", |
| 113 | + "type": "object", |
| 114 | + "properties": { |
| 115 | + "RetentionPeriodInDays": { |
| 116 | + "description": "How many days that metrics are retained in the workspace", |
| 117 | + "type": "integer", |
| 118 | + "minimum": 1, |
| 119 | + "markdownDescription": "How many days that metrics are retained in the workspace\n\n---\n\nRequired: No \nType: Integer \nUpdate requires: No interruption\n" |
| 120 | + }, |
| 121 | + "LimitsPerLabelSets": { |
| 122 | + "description": "An array of label set and associated limits", |
| 123 | + "type": "array", |
| 124 | + "uniqueItems": true, |
| 125 | + "insertionOrder": false, |
| 126 | + "items": { |
| 127 | + "$ref": "#/definitions/LimitsPerLabelSet" |
| 128 | + }, |
| 129 | + "minItems": 0, |
| 130 | + "markdownDescription": "An array of label set and associated limits\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n" |
| 131 | + } |
| 132 | + }, |
| 133 | + "additionalProperties": false, |
| 134 | + "markdownDescription": "Workspace configuration\n\n---\n\nRequired: No \nUpdate requires: No interruption\n" |
46 | 135 | } |
47 | 136 | }, |
48 | 137 | "properties": { |
|
80 | 169 | "LoggingConfiguration": { |
81 | 170 | "$ref": "#/definitions/LoggingConfiguration" |
82 | 171 | }, |
| 172 | + "WorkspaceConfiguration": { |
| 173 | + "$ref": "#/definitions/WorkspaceConfiguration" |
| 174 | + }, |
83 | 175 | "KmsKeyArn": { |
84 | 176 | "description": "KMS Key ARN used to encrypt and decrypt AMP workspace data.", |
85 | 177 | "type": "string", |
|
131 | 223 | "aps:CreateAlertManagerDefinition", |
132 | 224 | "aps:DescribeAlertManagerDefinition", |
133 | 225 | "aps:CreateLoggingConfiguration", |
| 226 | + "aps:DescribeWorkspaceConfiguration", |
| 227 | + "aps:UpdateWorkspaceConfiguration", |
134 | 228 | "logs:CreateLogDelivery", |
135 | 229 | "logs:GetLogDelivery", |
136 | 230 | "logs:ListLogDeliveries", |
|
145 | 239 | "aps:DescribeWorkspace", |
146 | 240 | "aps:ListTagsForResource", |
147 | 241 | "aps:DescribeAlertManagerDefinition", |
148 | | - "aps:DescribeLoggingConfiguration" |
| 242 | + "aps:DescribeLoggingConfiguration", |
| 243 | + "aps:DescribeWorkspaceConfiguration" |
149 | 244 | ] |
150 | 245 | }, |
151 | 246 | "update": { |
|
162 | 257 | "aps:DescribeLoggingConfiguration", |
163 | 258 | "aps:UpdateLoggingConfiguration", |
164 | 259 | "aps:DeleteLoggingConfiguration", |
| 260 | + "aps:DescribeWorkspaceConfiguration", |
| 261 | + "aps:UpdateWorkspaceConfiguration", |
165 | 262 | "logs:CreateLogDelivery", |
166 | 263 | "logs:GetLogDelivery", |
167 | 264 | "logs:UpdateLogDelivery", |
|
0 commit comments