AWS CloudWatch
AWS CloudWatch configuration
Type: aws-cloudwatch-logs-configuration
Properties
Name | Type | Description | Required |
---|---|---|---|
setup | object | Access configuration | yes |
settings | object | no |
Additional Properties: not allowed
Example
{
"setup": {
"reader_role_arn": "arn:aws:iam::123456789012:role/reader-role",
"reader_role_external_id": "external-id",
"reader_intermediate_role": "arn:aws:iam::123456789012:role/reader-role",
"reader_intermediate_role_external_id": "external-id"
},
"settings": {
"retention_in_days": 7
}
}
setup: Setup
Access configuration
Properties
Name | Type | Description | Required |
---|---|---|---|
reader_role_arn (Role ARN) | string | Main reader IAM role ARN than nullplatform assumes to collect logs, metrics, and observability data from your AWS account. Pattern: ^arn:aws:iam::\d{12}:role/[a-zA-Z0-9+=,.@\-_/]+$ | yes |
reader_role_external_id (Role external ID) | string | External ID required when assuming the main reader role, providing additional security for cross-account access. Pattern: ^[a-zA-Z0-9+=,.@\-_/]+$ | no |
reader_intermediate_role (Intermediate role ARN) | string | Intermediate IAM role ARN used when direct assumption of the main reader role isn't possible for CloudWatch data collection. Pattern: ^arn:aws:iam::\d{12}:role/[a-zA-Z0-9+=,.@\-_/]+$ | no |
reader_intermediate_role_external_id (Intermediate role external ID) | string | External ID for the intermediate role if additional security is required for role assumption. Pattern: ^[a-zA-Z0-9+=,.@\-_/]+$ | no |
Example
{
"reader_role_arn": "arn:aws:iam::123456789012:role/reader-role",
"reader_role_external_id": "external-id",
"reader_intermediate_role": "arn:aws:iam::123456789012:role/reader-role",
"reader_intermediate_role_external_id": "external-id"
}
settings: object
Properties
Name | Type | Description | Required |
---|---|---|---|
retention_in_days | integer | Number of days to retain CloudWatch log events. Must match one of the AWS-supported values. Default: 7 Enum: 1 , 3 , 5 , 7 , 14 , 30 , 60 , 90 , 120 , 150 , 180 , 365 , 400 , 545 , 731 , 1827 , 3653 , 0 |
Example
{
"retention_in_days": 7
}