CloudWatchLogGroupSchema
Hierarchy
- BaseResourceSchema
- CloudWatchLogGroupSchema
Index
Properties
inheritedlocalResourceId
The ID the resource was created with, unique within its scope.
inheritedparents
The resources this one is built on top of.
properties
Input properties.
properties.awsAccountId- The AWS account id.properties.awsRegionId- The AWS region id.properties.logGroupName- The name of the log group. Part of its identity.properties.retentionInDays- How many days an event is kept before CloudWatch deletes it.
Type declaration
awsAccountId: string
awsRegionId: string
logGroupName: string
retentionInDays: 1 | 3 | 5 | 7 | 14 | 30 | 60 | 90 | 120 | 150 | 180 | 365 | 400 | 545 | 731 | 1096 | 1827 | 2192 | 2557 | 2922 | 3288 | 3653
inheritedresourceId
The ID of the resource, unique across the infrastructure: its localResourceId, followed by a hash
of its scope when it has one.
response
Saved response.
response.Arn- The ARN of the log group.response.LogGroupName- The name of the log group.
Type declaration
optionalArn?: string
optionalLogGroupName?: string
inheritedscope
The contexts of the models the resource is placed under, derived from where the node creating it sits in the model graph. Octo sets it; a resource created outside a model action has none.
inheritedtags
The tags applied to the resource.
Type declaration
[key string]: string
The
CloudWatchLogGroupSchemaclass is the schema for theCloudWatchLogGroupresource, which represents a CloudWatch Logs log group, and how long it keeps what is written to it. Terraform provisions it asaws_cloudwatch_log_group.Resources/CloudWatchLogGroup
resourceId - The resource id is of format
cloudwatch-log-group-<execution-id>.