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 DataProtectionStatus
- type Destination
- type Distribution
- type ExportTask
- type ExportTaskExecutionInfo
- type ExportTaskStatusCode
- type FilteredLogEvent
- type InputLogEvent
- type LogGroup
- type LogGroupList
- type LogGroupSpec
- type LogGroupStatus
- type LogGroup_SDK
- type LogStream
- type MetricFilter
- type OrderBy
- type OutputLogEvent
- type QueryDefinition
- type QueryInfo
- type QueryStatus
- type ResourcePolicy
- type StandardUnit
- type SubscriptionFilter
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 DataProtectionStatus ¶
type DataProtectionStatus string
const ( DataProtectionStatus_ACTIVATED DataProtectionStatus = "ACTIVATED" DataProtectionStatus_DELETED DataProtectionStatus = "DELETED" DataProtectionStatus_ARCHIVED DataProtectionStatus = "ARCHIVED" DataProtectionStatus_DISABLED DataProtectionStatus = "DISABLED" )
type Destination ¶
type Destination struct {
ARN *string `json:"arn,omitempty"`
CreationTime *int64 `json:"creationTime,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_Random Distribution = "Random" Distribution_ByLogStream Distribution = "ByLogStream" )
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 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 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 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 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"`
// 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"`
KMSKeyID *string `json:"kmsKeyID,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,
// 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"`
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 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 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 QueryStatus ¶
type QueryStatus string
const ( QueryStatus_Scheduled QueryStatus = "Scheduled" QueryStatus_Running QueryStatus = "Running" QueryStatus_Complete QueryStatus = "Complete" QueryStatus_Failed QueryStatus = "Failed" QueryStatus_Cancelled QueryStatus = "Cancelled" 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_Seconds StandardUnit = "Seconds" StandardUnit_Microseconds StandardUnit = "Microseconds" StandardUnit_Milliseconds StandardUnit = "Milliseconds" StandardUnit_Bytes StandardUnit = "Bytes" StandardUnit_Kilobytes StandardUnit = "Kilobytes" StandardUnit_Megabytes StandardUnit = "Megabytes" StandardUnit_Gigabytes StandardUnit = "Gigabytes" StandardUnit_Terabytes StandardUnit = "Terabytes" StandardUnit_Bits StandardUnit = "Bits" StandardUnit_Kilobits StandardUnit = "Kilobits" StandardUnit_Megabits StandardUnit = "Megabits" StandardUnit_Gigabits StandardUnit = "Gigabits" StandardUnit_Terabits StandardUnit = "Terabits" StandardUnit_Percent StandardUnit = "Percent" StandardUnit_Count StandardUnit = "Count" StandardUnit_Bytes_Second StandardUnit = "Bytes/Second" StandardUnit_Kilobytes_Second StandardUnit = "Kilobytes/Second" StandardUnit_Megabytes_Second StandardUnit = "Megabytes/Second" StandardUnit_Gigabytes_Second StandardUnit = "Gigabytes/Second" StandardUnit_Terabytes_Second StandardUnit = "Terabytes/Second" StandardUnit_Bits_Second StandardUnit = "Bits/Second" StandardUnit_Kilobits_Second StandardUnit = "Kilobits/Second" StandardUnit_Megabits_Second StandardUnit = "Megabits/Second" StandardUnit_Gigabits_Second StandardUnit = "Gigabits/Second" StandardUnit_Terabits_Second StandardUnit = "Terabits/Second" StandardUnit_Count_Second StandardUnit = "Count/Second" StandardUnit_None StandardUnit = "None" )
type SubscriptionFilter ¶
type SubscriptionFilter struct {
CreationTime *int64 `json:"creationTime,omitempty"`
LogGroupName *string `json:"logGroupName,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.