Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package Package v1alpha1 is the v1alpha1 version of the cloudwatchlogs.services.k8s.aws API. +groupName=cloudwatchlogs.services.k8s.aws
Index ¶
- Variables
- type AccountPolicy
- type AnomalyDetector
- type AnomalyDetectorStatus
- type DataProtectionStatus
- type Delivery
- type DeliveryDestination
- type DeliveryDestinationConfiguration
- type DeliveryDestinationType
- type DeliverySource
- type Destination
- type Distribution
- type EntityRejectionErrorType
- type EvaluationFrequency
- type ExportTask
- type ExportTaskExecutionInfo
- type ExportTaskStatusCode
- type FieldIndex
- type FilteredLogEvent
- type FlattenedElement
- type IndexPolicy
- type IndexSource
- type InheritedProperty
- type InputLogEvent
- type IntegrationStatus
- type IntegrationType
- type LiveTailSessionLogEvent
- type LiveTailSessionStart
- type LogEvent
- type LogGroup
- type LogGroupClass
- type LogGroupList
- type LogGroupSpec
- type LogGroupStatus
- type LogGroup_SDK
- type LogStream
- type MetricFilter
- type OpenSearchApplication
- type OpenSearchCollection
- type OpenSearchResourceConfig
- type OpenSearchResourceStatusType
- type OrderBy
- type OutputFormat
- type OutputLogEvent
- type PolicyType
- type PutSubscriptionFilterInput
- type QueryDefinition
- type QueryInfo
- type QueryLanguage
- type QueryStatus
- type ResourcePolicy
- type Scope
- type StandardUnit
- type State
- type SubscriptionFilter
- type SuppressionState
- type SuppressionType
- type SuppressionUnit
- type Type
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is the API Group Version used to register the objects GroupVersion = schema.GroupVersion{Group: "cloudwatchlogs.services.k8s.aws", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AccountPolicy ¶ added in v1.0.3
type AccountPolicy struct { AccountID *string `json:"accountID,omitempty"` LastUpdatedTime *int64 `json:"lastUpdatedTime,omitempty"` }
A structure that contains information about one CloudWatch Logs account policy.
func (*AccountPolicy) DeepCopy ¶ added in v1.0.3
func (in *AccountPolicy) DeepCopy() *AccountPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountPolicy.
func (*AccountPolicy) DeepCopyInto ¶ added in v1.0.3
func (in *AccountPolicy) DeepCopyInto(out *AccountPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnomalyDetector ¶ added in v1.0.3
type AnomalyDetector struct { // A symbolic description of how CloudWatch Logs should interpret the data in // each log event. For example, a log event can contain timestamps, IP addresses, // strings, and so on. You use the filter pattern to specify what to look for // in the log event message. FilterPattern *string `json:"filterPattern,omitempty"` KMSKeyID *string `json:"kmsKeyID,omitempty"` }
Contains information about one anomaly detector in the account.
func (*AnomalyDetector) DeepCopy ¶ added in v1.0.3
func (in *AnomalyDetector) DeepCopy() *AnomalyDetector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnomalyDetector.
func (*AnomalyDetector) DeepCopyInto ¶ added in v1.0.3
func (in *AnomalyDetector) DeepCopyInto(out *AnomalyDetector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnomalyDetectorStatus ¶ added in v1.0.3
type AnomalyDetectorStatus string
const ( AnomalyDetectorStatus_ANALYZING AnomalyDetectorStatus = "ANALYZING" AnomalyDetectorStatus_DELETED AnomalyDetectorStatus = "DELETED" AnomalyDetectorStatus_FAILED AnomalyDetectorStatus = "FAILED" AnomalyDetectorStatus_INITIALIZING AnomalyDetectorStatus = "INITIALIZING" AnomalyDetectorStatus_PAUSED AnomalyDetectorStatus = "PAUSED" AnomalyDetectorStatus_TRAINING AnomalyDetectorStatus = "TRAINING" )
type DataProtectionStatus ¶
type DataProtectionStatus string
const ( DataProtectionStatus_ACTIVATED DataProtectionStatus = "ACTIVATED" DataProtectionStatus_ARCHIVED DataProtectionStatus = "ARCHIVED" DataProtectionStatus_DELETED DataProtectionStatus = "DELETED" DataProtectionStatus_DISABLED DataProtectionStatus = "DISABLED" )
type Delivery ¶ added in v1.0.3
type Delivery struct { ARN *string `json:"arn,omitempty"` DeliveryDestinationARN *string `json:"deliveryDestinationARN,omitempty"` Tags map[string]*string `json:"tags,omitempty"` }
This structure contains information about one delivery in your account.
A delivery is a connection between a logical delivery source and a logical delivery destination.
For more information, see CreateDelivery (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html).
To update an existing delivery configuration, use UpdateDeliveryConfiguration (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html).
func (*Delivery) DeepCopy ¶ added in v1.0.3
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Delivery.
func (*Delivery) DeepCopyInto ¶ added in v1.0.3
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeliveryDestination ¶ added in v1.0.3
type DeliveryDestination struct { ARN *string `json:"arn,omitempty"` Tags map[string]*string `json:"tags,omitempty"` }
This structure contains information about one delivery destination in your account. A delivery destination is an Amazon Web Services resource that represents an Amazon Web Services service that logs can be sent to. CloudWatch Logs, Amazon S3, are supported as Firehose delivery destinations.
To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following:
Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html).
Create a delivery destination, which is a logical object that represents the actual delivery destination.
If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html) in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination.
Create a delivery by pairing exactly one delivery source and one delivery destination. For more information, see CreateDelivery (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html).
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
func (*DeliveryDestination) DeepCopy ¶ added in v1.0.3
func (in *DeliveryDestination) DeepCopy() *DeliveryDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryDestination.
func (*DeliveryDestination) DeepCopyInto ¶ added in v1.0.3
func (in *DeliveryDestination) DeepCopyInto(out *DeliveryDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeliveryDestinationConfiguration ¶ added in v1.0.3
type DeliveryDestinationConfiguration struct {
DestinationResourceARN *string `json:"destinationResourceARN,omitempty"`
}
A structure that contains information about one logs delivery destination.
func (*DeliveryDestinationConfiguration) DeepCopy ¶ added in v1.0.3
func (in *DeliveryDestinationConfiguration) DeepCopy() *DeliveryDestinationConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryDestinationConfiguration.
func (*DeliveryDestinationConfiguration) DeepCopyInto ¶ added in v1.0.3
func (in *DeliveryDestinationConfiguration) DeepCopyInto(out *DeliveryDestinationConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeliveryDestinationType ¶ added in v1.0.3
type DeliveryDestinationType string
const ( DeliveryDestinationType_CWL DeliveryDestinationType = "CWL" DeliveryDestinationType_FH DeliveryDestinationType = "FH" DeliveryDestinationType_S3 DeliveryDestinationType = "S3" )
type DeliverySource ¶ added in v1.0.3
type DeliverySource struct { ARN *string `json:"arn,omitempty"` Tags map[string]*string `json:"tags,omitempty"` }
This structure contains information about one delivery source in your account. A delivery source is an Amazon Web Services resource that sends logs to an Amazon Web Services destination. The destination can be CloudWatch Logs, Amazon S3, or Firehose.
Only some Amazon Web Services services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services. (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html)
To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following:
Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html).
Create a delivery destination, which is a logical object that represents the actual delivery destination. For more information, see PutDeliveryDestination (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html).
If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html) in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination.
Create a delivery by pairing exactly one delivery source and one delivery destination. For more information, see CreateDelivery (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html).
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
func (*DeliverySource) DeepCopy ¶ added in v1.0.3
func (in *DeliverySource) DeepCopy() *DeliverySource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliverySource.
func (*DeliverySource) DeepCopyInto ¶ added in v1.0.3
func (in *DeliverySource) DeepCopyInto(out *DeliverySource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Destination ¶
type Destination struct { ARN *string `json:"arn,omitempty"` CreationTime *int64 `json:"creationTime,omitempty"` RoleARN *string `json:"roleARN,omitempty"` }
Represents a cross-account destination that receives subscription log events.
func (*Destination) DeepCopy ¶
func (in *Destination) DeepCopy() *Destination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destination.
func (*Destination) DeepCopyInto ¶
func (in *Destination) DeepCopyInto(out *Destination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Distribution ¶
type Distribution string
const ( Distribution_ByLogStream Distribution = "ByLogStream" Distribution_Random Distribution = "Random" )
type EntityRejectionErrorType ¶ added in v1.0.3
type EntityRejectionErrorType string
const ( EntityRejectionErrorType_EntitySizeTooLarge EntityRejectionErrorType = "EntitySizeTooLarge" EntityRejectionErrorType_InvalidAttributes EntityRejectionErrorType = "InvalidAttributes" EntityRejectionErrorType_InvalidEntity EntityRejectionErrorType = "InvalidEntity" EntityRejectionErrorType_InvalidKeyAttributes EntityRejectionErrorType = "InvalidKeyAttributes" EntityRejectionErrorType_InvalidTypeValue EntityRejectionErrorType = "InvalidTypeValue" EntityRejectionErrorType_MissingRequiredFields EntityRejectionErrorType = "MissingRequiredFields" EntityRejectionErrorType_UnsupportedLogGroupType EntityRejectionErrorType = "UnsupportedLogGroupType" )
type EvaluationFrequency ¶ added in v1.0.3
type EvaluationFrequency string
const ( EvaluationFrequency_FIFTEEN_MIN EvaluationFrequency = "FIFTEEN_MIN" EvaluationFrequency_FIVE_MIN EvaluationFrequency = "FIVE_MIN" EvaluationFrequency_ONE_HOUR EvaluationFrequency = "ONE_HOUR" EvaluationFrequency_ONE_MIN EvaluationFrequency = "ONE_MIN" EvaluationFrequency_TEN_MIN EvaluationFrequency = "TEN_MIN" EvaluationFrequency_THIRTY_MIN EvaluationFrequency = "THIRTY_MIN" )
type ExportTask ¶
type ExportTask struct { From *int64 `json:"from,omitempty"` LogGroupName *string `json:"logGroupName,omitempty"` To *int64 `json:"to,omitempty"` }
Represents an export task.
func (*ExportTask) DeepCopy ¶
func (in *ExportTask) DeepCopy() *ExportTask
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportTask.
func (*ExportTask) DeepCopyInto ¶
func (in *ExportTask) DeepCopyInto(out *ExportTask)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExportTaskExecutionInfo ¶
type ExportTaskExecutionInfo struct { CompletionTime *int64 `json:"completionTime,omitempty"` CreationTime *int64 `json:"creationTime,omitempty"` }
Represents the status of an export task.
func (*ExportTaskExecutionInfo) DeepCopy ¶
func (in *ExportTaskExecutionInfo) DeepCopy() *ExportTaskExecutionInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportTaskExecutionInfo.
func (*ExportTaskExecutionInfo) DeepCopyInto ¶
func (in *ExportTaskExecutionInfo) DeepCopyInto(out *ExportTaskExecutionInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExportTaskStatusCode ¶
type ExportTaskStatusCode string
const ( ExportTaskStatusCode_CANCELLED ExportTaskStatusCode = "CANCELLED" ExportTaskStatusCode_COMPLETED ExportTaskStatusCode = "COMPLETED" ExportTaskStatusCode_FAILED ExportTaskStatusCode = "FAILED" ExportTaskStatusCode_PENDING ExportTaskStatusCode = "PENDING" ExportTaskStatusCode_PENDING_CANCEL ExportTaskStatusCode = "PENDING_CANCEL" ExportTaskStatusCode_RUNNING ExportTaskStatusCode = "RUNNING" )
type FieldIndex ¶ added in v1.0.3
type FieldIndex struct { FirstEventTime *int64 `json:"firstEventTime,omitempty"` LastEventTime *int64 `json:"lastEventTime,omitempty"` LastScanTime *int64 `json:"lastScanTime,omitempty"` }
This structure describes one log event field that is used as an index in at least one index policy in this account.
func (*FieldIndex) DeepCopy ¶ added in v1.0.3
func (in *FieldIndex) DeepCopy() *FieldIndex
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldIndex.
func (*FieldIndex) DeepCopyInto ¶ added in v1.0.3
func (in *FieldIndex) DeepCopyInto(out *FieldIndex)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FilteredLogEvent ¶
type FilteredLogEvent struct { IngestionTime *int64 `json:"ingestionTime,omitempty"` Timestamp *int64 `json:"timestamp,omitempty"` }
Represents a matched event.
func (*FilteredLogEvent) DeepCopy ¶
func (in *FilteredLogEvent) DeepCopy() *FilteredLogEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilteredLogEvent.
func (*FilteredLogEvent) DeepCopyInto ¶
func (in *FilteredLogEvent) DeepCopyInto(out *FilteredLogEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FlattenedElement ¶ added in v1.0.3
type FlattenedElement string
const ( FlattenedElement_first FlattenedElement = "first" FlattenedElement_last FlattenedElement = "last" )
type IndexPolicy ¶ added in v1.0.3
type IndexPolicy struct {
LastUpdateTime *int64 `json:"lastUpdateTime,omitempty"`
}
This structure contains information about one field index policy in this account.
func (*IndexPolicy) DeepCopy ¶ added in v1.0.3
func (in *IndexPolicy) DeepCopy() *IndexPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexPolicy.
func (*IndexPolicy) DeepCopyInto ¶ added in v1.0.3
func (in *IndexPolicy) DeepCopyInto(out *IndexPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexSource ¶ added in v1.0.3
type IndexSource string
const ( IndexSource_ACCOUNT IndexSource = "ACCOUNT" IndexSource_LOG_GROUP IndexSource = "LOG_GROUP" )
type InheritedProperty ¶ added in v1.0.3
type InheritedProperty string
const (
InheritedProperty_ACCOUNT_DATA_PROTECTION InheritedProperty = "ACCOUNT_DATA_PROTECTION"
)
type InputLogEvent ¶
type InputLogEvent struct {
Timestamp *int64 `json:"timestamp,omitempty"`
}
Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.
func (*InputLogEvent) DeepCopy ¶
func (in *InputLogEvent) DeepCopy() *InputLogEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputLogEvent.
func (*InputLogEvent) DeepCopyInto ¶
func (in *InputLogEvent) DeepCopyInto(out *InputLogEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntegrationStatus ¶ added in v1.0.3
type IntegrationStatus string
const ( IntegrationStatus_ACTIVE IntegrationStatus = "ACTIVE" IntegrationStatus_FAILED IntegrationStatus = "FAILED" IntegrationStatus_PROVISIONING IntegrationStatus = "PROVISIONING" )
type IntegrationType ¶ added in v1.0.3
type IntegrationType string
const (
IntegrationType_OPENSEARCH IntegrationType = "OPENSEARCH"
)
type LiveTailSessionLogEvent ¶ added in v1.0.3
type LiveTailSessionLogEvent struct { IngestionTime *int64 `json:"ingestionTime,omitempty"` Timestamp *int64 `json:"timestamp,omitempty"` }
This object contains the information for one log event returned in a Live Tail stream.
func (*LiveTailSessionLogEvent) DeepCopy ¶ added in v1.0.3
func (in *LiveTailSessionLogEvent) DeepCopy() *LiveTailSessionLogEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveTailSessionLogEvent.
func (*LiveTailSessionLogEvent) DeepCopyInto ¶ added in v1.0.3
func (in *LiveTailSessionLogEvent) DeepCopyInto(out *LiveTailSessionLogEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LiveTailSessionStart ¶ added in v1.0.3
type LiveTailSessionStart struct { // A symbolic description of how CloudWatch Logs should interpret the data in // each log event. For example, a log event can contain timestamps, IP addresses, // strings, and so on. You use the filter pattern to specify what to look for // in the log event message. LogEventFilterPattern *string `json:"logEventFilterPattern,omitempty"` }
This object contains information about this Live Tail session, including the log groups included and the log stream filters, if any.
func (*LiveTailSessionStart) DeepCopy ¶ added in v1.0.3
func (in *LiveTailSessionStart) DeepCopy() *LiveTailSessionStart
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveTailSessionStart.
func (*LiveTailSessionStart) DeepCopyInto ¶ added in v1.0.3
func (in *LiveTailSessionStart) DeepCopyInto(out *LiveTailSessionStart)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogEvent ¶ added in v1.0.3
type LogEvent struct {
Timestamp *int64 `json:"timestamp,omitempty"`
}
This structure contains the information for one sample log event that is associated with an anomaly found by a log anomaly detector.
func (*LogEvent) DeepCopy ¶ added in v1.0.3
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogEvent.
func (*LogEvent) DeepCopyInto ¶ added in v1.0.3
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogGroup ¶
type LogGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LogGroupSpec `json:"spec,omitempty"` Status LogGroupStatus `json:"status,omitempty"` }
LogGroup is the Schema for the LogGroups API +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*LogGroup) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogGroup.
func (*LogGroup) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogGroup) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogGroupClass ¶ added in v1.0.3
type LogGroupClass string
const ( LogGroupClass_INFREQUENT_ACCESS LogGroupClass = "INFREQUENT_ACCESS" LogGroupClass_STANDARD LogGroupClass = "STANDARD" )
type LogGroupList ¶
type LogGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LogGroup `json:"items"` }
LogGroupList contains a list of LogGroup +kubebuilder:object:root=true
func (*LogGroupList) DeepCopy ¶
func (in *LogGroupList) DeepCopy() *LogGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogGroupList.
func (*LogGroupList) DeepCopyInto ¶
func (in *LogGroupList) DeepCopyInto(out *LogGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogGroupList) DeepCopyObject ¶
func (in *LogGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogGroupSpec ¶
type LogGroupSpec struct { // The Amazon Resource Name (ARN) of the KMS key to use when encrypting log // data. For more information, see Amazon Resource Names (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms). KMSKeyID *string `json:"kmsKeyID,omitempty"` KMSKeyRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"kmsKeyRef,omitempty"` // +kubebuilder:validation:Required Name *string `json:"name"` RetentionDays *int64 `json:"retentionDays,omitempty"` SubscriptionFilters []*PutSubscriptionFilterInput `json:"subscriptionFilters,omitempty"` // The key-value pairs to use for the tags. // // You can grant users access to certain log groups while preventing them from // accessing other log groups. To do so, tag your groups and use IAM policies // that refer to those tags. To assign tags when you create a log group, you // must have either the logs:TagResource or logs:TagLogGroup permission. For // more information about tagging, see Tagging Amazon Web Services resources // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). For more // information about using tags to control access, see Controlling access to // Amazon Web Services resources using tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html). Tags map[string]*string `json:"tags,omitempty"` }
LogGroupSpec defines the desired state of LogGroup.
Represents a log group.
func (*LogGroupSpec) DeepCopy ¶
func (in *LogGroupSpec) DeepCopy() *LogGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogGroupSpec.
func (*LogGroupSpec) DeepCopyInto ¶
func (in *LogGroupSpec) DeepCopyInto(out *LogGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogGroupStatus ¶
type LogGroupStatus struct { // All CRs managed by ACK have a common `Status.ACKResourceMetadata` member // that is used to contain resource sync state, account ownership, // constructed ARN for the resource // +kubebuilder:validation:Optional ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"` // All CRs managed by ACK have a common `Status.Conditions` member that // contains a collection of `ackv1alpha1.Condition` objects that describe // the various terminal states of the CR and its backend AWS service API // resource // +kubebuilder:validation:Optional Conditions []*ackv1alpha1.Condition `json:"conditions"` // The creation time of the log group, expressed as the number of milliseconds // after Jan 1, 1970 00:00:00 UTC. // +kubebuilder:validation:Optional CreationTime *int64 `json:"creationTime,omitempty"` // Displays whether this log group has a protection policy, or whether it had // one in the past. For more information, see PutDataProtectionPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDataProtectionPolicy.html). // +kubebuilder:validation:Optional DataProtectionStatus *string `json:"dataProtectionStatus,omitempty"` // The number of metric filters. // +kubebuilder:validation:Optional MetricFilterCount *int64 `json:"metricFilterCount,omitempty"` // +kubebuilder:validation:Optional RetentionInDays *int64 `json:"retentionInDays,omitempty"` // The number of bytes stored. // +kubebuilder:validation:Optional StoredBytes *int64 `json:"storedBytes,omitempty"` }
LogGroupStatus defines the observed state of LogGroup
func (*LogGroupStatus) DeepCopy ¶
func (in *LogGroupStatus) DeepCopy() *LogGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogGroupStatus.
func (*LogGroupStatus) DeepCopyInto ¶
func (in *LogGroupStatus) DeepCopyInto(out *LogGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogGroup_SDK ¶
type LogGroup_SDK struct { ARN *string `json:"arn,omitempty"` CreationTime *int64 `json:"creationTime,omitempty"` DataProtectionStatus *string `json:"dataProtectionStatus,omitempty"` InheritedProperties []*string `json:"inheritedProperties,omitempty"` KMSKeyID *string `json:"kmsKeyID,omitempty"` LogGroupARN *string `json:"logGroupARN,omitempty"` LogGroupClass *string `json:"logGroupClass,omitempty"` LogGroupName *string `json:"logGroupName,omitempty"` MetricFilterCount *int64 `json:"metricFilterCount,omitempty"` // The number of days to retain the log events in the specified log group. Possible // values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, // 1096, 1827, 2192, 2557, 2922, 3288, and 3653. // // To set a log group so that its log events do not expire, use DeleteRetentionPolicy // (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html). RetentionInDays *int64 `json:"retentionInDays,omitempty"` StoredBytes *int64 `json:"storedBytes,omitempty"` }
Represents a log group.
func (*LogGroup_SDK) DeepCopy ¶
func (in *LogGroup_SDK) DeepCopy() *LogGroup_SDK
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogGroup_SDK.
func (*LogGroup_SDK) DeepCopyInto ¶
func (in *LogGroup_SDK) DeepCopyInto(out *LogGroup_SDK)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogStream ¶
type LogStream struct { ARN *string `json:"arn,omitempty"` CreationTime *int64 `json:"creationTime,omitempty"` FirstEventTimestamp *int64 `json:"firstEventTimestamp,omitempty"` LastEventTimestamp *int64 `json:"lastEventTimestamp,omitempty"` LastIngestionTime *int64 `json:"lastIngestionTime,omitempty"` StoredBytes *int64 `json:"storedBytes,omitempty"` }
Represents a log stream, which is a sequence of log events from a single emitter of logs.
func (*LogStream) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogStream.
func (*LogStream) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricFilter ¶
type MetricFilter struct { CreationTime *int64 `json:"creationTime,omitempty"` FilterName *string `json:"filterName,omitempty"` // A symbolic description of how CloudWatch Logs should interpret the data in // each log event. For example, a log event can contain timestamps, IP addresses, // strings, and so on. You use the filter pattern to specify what to look for // in the log event message. FilterPattern *string `json:"filterPattern,omitempty"` LogGroupName *string `json:"logGroupName,omitempty"` }
Metric filters express how CloudWatch Logs would extract metric observations from ingested log events and transform them into metric data in a CloudWatch metric.
func (*MetricFilter) DeepCopy ¶
func (in *MetricFilter) DeepCopy() *MetricFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricFilter.
func (*MetricFilter) DeepCopyInto ¶
func (in *MetricFilter) DeepCopyInto(out *MetricFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenSearchApplication ¶ added in v1.0.3
type OpenSearchApplication struct {
ApplicationARN *string `json:"applicationARN,omitempty"`
}
This structure contains information about the OpenSearch Service application used for this integration. An OpenSearch Service application is the web application created by the integration with CloudWatch Logs. It hosts the vended logs dashboards.
func (*OpenSearchApplication) DeepCopy ¶ added in v1.0.3
func (in *OpenSearchApplication) DeepCopy() *OpenSearchApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchApplication.
func (*OpenSearchApplication) DeepCopyInto ¶ added in v1.0.3
func (in *OpenSearchApplication) DeepCopyInto(out *OpenSearchApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenSearchCollection ¶ added in v1.0.3
type OpenSearchCollection struct {
CollectionARN *string `json:"collectionARN,omitempty"`
}
This structure contains information about the OpenSearch Service collection used for this integration. An OpenSearch Service collection is a logical grouping of one or more indexes that represent an analytics workload. For more information, see Creating and managing OpenSearch Service Serverless collections (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-collections.html).
func (*OpenSearchCollection) DeepCopy ¶ added in v1.0.3
func (in *OpenSearchCollection) DeepCopy() *OpenSearchCollection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchCollection.
func (*OpenSearchCollection) DeepCopyInto ¶ added in v1.0.3
func (in *OpenSearchCollection) DeepCopyInto(out *OpenSearchCollection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenSearchResourceConfig ¶ added in v1.0.3
type OpenSearchResourceConfig struct { ApplicationARN *string `json:"applicationARN,omitempty"` DataSourceRoleARN *string `json:"dataSourceRoleARN,omitempty"` KMSKeyARN *string `json:"kmsKeyARN,omitempty"` }
This structure contains configuration details about an integration between CloudWatch Logs and OpenSearch Service.
func (*OpenSearchResourceConfig) DeepCopy ¶ added in v1.0.3
func (in *OpenSearchResourceConfig) DeepCopy() *OpenSearchResourceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchResourceConfig.
func (*OpenSearchResourceConfig) DeepCopyInto ¶ added in v1.0.3
func (in *OpenSearchResourceConfig) DeepCopyInto(out *OpenSearchResourceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenSearchResourceStatusType ¶ added in v1.0.3
type OpenSearchResourceStatusType string
const ( OpenSearchResourceStatusType_ACTIVE OpenSearchResourceStatusType = "ACTIVE" OpenSearchResourceStatusType_ERROR OpenSearchResourceStatusType = "ERROR" OpenSearchResourceStatusType_NOT_FOUND OpenSearchResourceStatusType = "NOT_FOUND" )
type OutputFormat ¶ added in v1.0.3
type OutputFormat string
const ( OutputFormat_json OutputFormat = "json" OutputFormat_parquet OutputFormat = "parquet" OutputFormat_plain OutputFormat = "plain" OutputFormat_raw OutputFormat = "raw" OutputFormat_w3c OutputFormat = "w3c" )
type OutputLogEvent ¶
type OutputLogEvent struct { IngestionTime *int64 `json:"ingestionTime,omitempty"` Timestamp *int64 `json:"timestamp,omitempty"` }
Represents a log event.
func (*OutputLogEvent) DeepCopy ¶
func (in *OutputLogEvent) DeepCopy() *OutputLogEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputLogEvent.
func (*OutputLogEvent) DeepCopyInto ¶
func (in *OutputLogEvent) DeepCopyInto(out *OutputLogEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyType ¶ added in v1.0.3
type PolicyType string
const ( PolicyType_DATA_PROTECTION_POLICY PolicyType = "DATA_PROTECTION_POLICY" PolicyType_FIELD_INDEX_POLICY PolicyType = "FIELD_INDEX_POLICY" PolicyType_SUBSCRIPTION_FILTER_POLICY PolicyType = "SUBSCRIPTION_FILTER_POLICY" PolicyType_TRANSFORMER_POLICY PolicyType = "TRANSFORMER_POLICY" )
type PutSubscriptionFilterInput ¶ added in v0.0.8
type PutSubscriptionFilterInput struct { DestinationARN *string `json:"destinationARN,omitempty"` // The method used to distribute log data to the destination, which can be either // random or grouped by log stream. Distribution *string `json:"distribution,omitempty"` FilterName *string `json:"filterName,omitempty"` // A symbolic description of how CloudWatch Logs should interpret the data in // each log event. For example, a log event can contain timestamps, IP addresses, // strings, and so on. You use the filter pattern to specify what to look for // in the log event message. FilterPattern *string `json:"filterPattern,omitempty"` RoleARN *string `json:"roleARN,omitempty"` }
func (*PutSubscriptionFilterInput) DeepCopy ¶ added in v0.0.8
func (in *PutSubscriptionFilterInput) DeepCopy() *PutSubscriptionFilterInput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PutSubscriptionFilterInput.
func (*PutSubscriptionFilterInput) DeepCopyInto ¶ added in v0.0.8
func (in *PutSubscriptionFilterInput) DeepCopyInto(out *PutSubscriptionFilterInput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueryDefinition ¶
type QueryDefinition struct {
LastModified *int64 `json:"lastModified,omitempty"`
}
This structure contains details about a saved CloudWatch Logs Insights query definition.
func (*QueryDefinition) DeepCopy ¶
func (in *QueryDefinition) DeepCopy() *QueryDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryDefinition.
func (*QueryDefinition) DeepCopyInto ¶
func (in *QueryDefinition) DeepCopyInto(out *QueryDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueryInfo ¶
type QueryInfo struct { CreateTime *int64 `json:"createTime,omitempty"` LogGroupName *string `json:"logGroupName,omitempty"` }
Information about one CloudWatch Logs Insights query that matches the request in a DescribeQueries operation.
func (*QueryInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryInfo.
func (*QueryInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueryLanguage ¶ added in v1.0.3
type QueryLanguage string
const ( QueryLanguage_CWLI QueryLanguage = "CWLI" QueryLanguage_PPL QueryLanguage = "PPL" QueryLanguage_SQL QueryLanguage = "SQL" )
type QueryStatus ¶
type QueryStatus string
const ( QueryStatus_Cancelled QueryStatus = "Cancelled" QueryStatus_Complete QueryStatus = "Complete" QueryStatus_Failed QueryStatus = "Failed" QueryStatus_Running QueryStatus = "Running" QueryStatus_Scheduled QueryStatus = "Scheduled" QueryStatus_Timeout QueryStatus = "Timeout" QueryStatus_Unknown QueryStatus = "Unknown" )
type ResourcePolicy ¶
type ResourcePolicy struct {
LastUpdatedTime *int64 `json:"lastUpdatedTime,omitempty"`
}
A policy enabling one or more entities to put logs to a log group in this account.
func (*ResourcePolicy) DeepCopy ¶
func (in *ResourcePolicy) DeepCopy() *ResourcePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicy.
func (*ResourcePolicy) DeepCopyInto ¶
func (in *ResourcePolicy) DeepCopyInto(out *ResourcePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StandardUnit ¶
type StandardUnit string
const ( StandardUnit_Bits StandardUnit = "Bits" StandardUnit_Bits_Second StandardUnit = "Bits/Second" StandardUnit_Bytes StandardUnit = "Bytes" StandardUnit_Bytes_Second StandardUnit = "Bytes/Second" StandardUnit_Count StandardUnit = "Count" StandardUnit_Count_Second StandardUnit = "Count/Second" StandardUnit_Gigabits StandardUnit = "Gigabits" StandardUnit_Gigabits_Second StandardUnit = "Gigabits/Second" StandardUnit_Gigabytes StandardUnit = "Gigabytes" StandardUnit_Gigabytes_Second StandardUnit = "Gigabytes/Second" StandardUnit_Kilobits StandardUnit = "Kilobits" StandardUnit_Kilobits_Second StandardUnit = "Kilobits/Second" StandardUnit_Kilobytes StandardUnit = "Kilobytes" StandardUnit_Kilobytes_Second StandardUnit = "Kilobytes/Second" StandardUnit_Megabits StandardUnit = "Megabits" StandardUnit_Megabits_Second StandardUnit = "Megabits/Second" StandardUnit_Megabytes StandardUnit = "Megabytes" StandardUnit_Megabytes_Second StandardUnit = "Megabytes/Second" StandardUnit_Microseconds StandardUnit = "Microseconds" StandardUnit_Milliseconds StandardUnit = "Milliseconds" StandardUnit_None StandardUnit = "None" StandardUnit_Percent StandardUnit = "Percent" StandardUnit_Seconds StandardUnit = "Seconds" StandardUnit_Terabits StandardUnit = "Terabits" StandardUnit_Terabits_Second StandardUnit = "Terabits/Second" StandardUnit_Terabytes StandardUnit = "Terabytes" StandardUnit_Terabytes_Second StandardUnit = "Terabytes/Second" )
type SubscriptionFilter ¶
type SubscriptionFilter struct { CreationTime *int64 `json:"creationTime,omitempty"` DestinationARN *string `json:"destinationARN,omitempty"` // The method used to distribute log data to the destination, which can be either // random or grouped by log stream. Distribution *string `json:"distribution,omitempty"` FilterName *string `json:"filterName,omitempty"` // A symbolic description of how CloudWatch Logs should interpret the data in // each log event. For example, a log event can contain timestamps, IP addresses, // strings, and so on. You use the filter pattern to specify what to look for // in the log event message. FilterPattern *string `json:"filterPattern,omitempty"` LogGroupName *string `json:"logGroupName,omitempty"` RoleARN *string `json:"roleARN,omitempty"` }
Represents a subscription filter.
func (*SubscriptionFilter) DeepCopy ¶
func (in *SubscriptionFilter) DeepCopy() *SubscriptionFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionFilter.
func (*SubscriptionFilter) DeepCopyInto ¶
func (in *SubscriptionFilter) DeepCopyInto(out *SubscriptionFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SuppressionState ¶ added in v1.0.3
type SuppressionState string
const ( SuppressionState_SUPPRESSED SuppressionState = "SUPPRESSED" SuppressionState_UNSUPPRESSED SuppressionState = "UNSUPPRESSED" )
type SuppressionType ¶ added in v1.0.3
type SuppressionType string
const ( SuppressionType_INFINITE SuppressionType = "INFINITE" SuppressionType_LIMITED SuppressionType = "LIMITED" )
type SuppressionUnit ¶ added in v1.0.3
type SuppressionUnit string
const ( SuppressionUnit_HOURS SuppressionUnit = "HOURS" SuppressionUnit_MINUTES SuppressionUnit = "MINUTES" SuppressionUnit_SECONDS SuppressionUnit = "SECONDS" )