v1alpha1

package
v0.50.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const (
	CRDGroup   = "cloudwatchlogs.aws.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// GroupVersion is the API Group Version used to register the objects
	GroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// 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
)
View Source
var (
	LogGroupKind             = "LogGroup"
	LogGroupGroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LogGroupKind}.String()
	LogGroupKindAPIVersion   = LogGroupKind + "." + GroupVersion.String()
	LogGroupGroupVersionKind = GroupVersion.WithKind(LogGroupKind)
)

Repository type metadata.

View Source
var (
	ResourcePolicyKind             = "ResourcePolicy"
	ResourcePolicyGroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourcePolicyKind}.String()
	ResourcePolicyKindAPIVersion   = ResourcePolicyKind + "." + GroupVersion.String()
	ResourcePolicyGroupVersionKind = GroupVersion.WithKind(ResourcePolicyKind)
)

Repository type metadata.

Functions

func LogGroupARN added in v0.30.0

func LogGroupARN() reference.ExtractValueFn

LogGroupARN returns the status.atProvider.ARN of a LogGroup.

Types

type AccountPolicy added in v0.44.0

type AccountPolicy struct {
	AccountID *string `json:"accountID,omitempty"`

	LastUpdatedTime *int64 `json:"lastUpdatedTime,omitempty"`

	PolicyName *string `json:"policyName,omitempty"`
}

+kubebuilder:skipversion

func (*AccountPolicy) DeepCopy added in v0.44.0

func (in *AccountPolicy) DeepCopy() *AccountPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountPolicy.

func (*AccountPolicy) DeepCopyInto added in v0.44.0

func (in *AccountPolicy) DeepCopyInto(out *AccountPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomLogGroupParameters

type CustomLogGroupParameters struct {
	// The number of days to retain the log events in the specified log group.
	// If you select 0, the events in the log group are always retained and never expire.
	// +kubebuilder:validation:Enum=0;1;3;5;7;14;30;60;90;120;150;180;365;400;545;731;1827;3653
	// +optional
	RetentionInDays *int64 `json:"retentionInDays,omitempty"`

	// The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
	// For more information, see Amazon Resource Names - AWS Key Management Service
	// (AWS KMS) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms).
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-aws/apis/kms/v1alpha1.Key
	// +crossplane:generate:reference:refFieldName=KMSKeyIDRef
	// +crossplane:generate:reference:selectorFieldName=KMSKeyIDSelector
	KMSKeyID *string `json:"kmsKeyID,omitempty"`

	// KMSKeyIDRef is a reference to a KMS Key used to set KMSKeyID.
	// +optional
	KMSKeyIDRef *xpv1.Reference `json:"kmsKeyIDRef,omitempty"`

	// KMSKeyIDSelector selects a reference to a KMS Key used to set KMSKeyID.
	// +optional
	KMSKeyIDSelector *xpv1.Selector `json:"kmsKeyIDSelector,omitempty"`
}

CustomLogGroupParameters contains the additional fields for LogGroup.

func (*CustomLogGroupParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomLogGroupParameters.

func (*CustomLogGroupParameters) DeepCopyInto

func (in *CustomLogGroupParameters) DeepCopyInto(out *CustomLogGroupParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomResourcePolicyParameters added in v0.50.0

type CustomResourcePolicyParameters struct{}

CustomResourcePolicyParameters includes the custom fields of ResourcePolicy.

func (*CustomResourcePolicyParameters) DeepCopy added in v0.50.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourcePolicyParameters.

func (*CustomResourcePolicyParameters) DeepCopyInto added in v0.50.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DataProtectionStatus added in v0.38.0

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"`
}

+kubebuilder:skipversion

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"`
}

+kubebuilder:skipversion

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"`
}

+kubebuilder:skipversion

func (*ExportTaskExecutionInfo) DeepCopy

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"`
}

+kubebuilder:skipversion

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 InheritedProperty added in v0.44.0

type InheritedProperty string
const (
	InheritedProperty_ACCOUNT_DATA_PROTECTION InheritedProperty = "ACCOUNT_DATA_PROTECTION"
)

type InputLogEvent

type InputLogEvent struct {
	Timestamp *int64 `json:"timestamp,omitempty"`
}

+kubebuilder:skipversion

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"`
	Status            LogGroupStatus `json:"status,omitempty"`
}

LogGroup is the Schema for the LogGroups API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*LogGroup) DeepCopy

func (in *LogGroup) DeepCopy() *LogGroup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogGroup.

func (*LogGroup) DeepCopyInto

func (in *LogGroup) DeepCopyInto(out *LogGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LogGroup) DeepCopyObject

func (in *LogGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LogGroup) GetCondition

func (mg *LogGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this LogGroup.

func (*LogGroup) GetDeletionPolicy

func (mg *LogGroup) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this LogGroup.

func (*LogGroup) GetManagementPolicies added in v0.43.0

func (mg *LogGroup) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this LogGroup.

func (*LogGroup) GetProviderConfigReference

func (mg *LogGroup) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this LogGroup.

func (*LogGroup) GetPublishConnectionDetailsTo

func (mg *LogGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this LogGroup.

func (*LogGroup) GetWriteConnectionSecretToReference

func (mg *LogGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this LogGroup.

func (*LogGroup) ResolveReferences

func (mg *LogGroup) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this LogGroup.

func (*LogGroup) SetConditions

func (mg *LogGroup) SetConditions(c ...xpv1.Condition)

SetConditions of this LogGroup.

func (*LogGroup) SetDeletionPolicy

func (mg *LogGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this LogGroup.

func (*LogGroup) SetManagementPolicies added in v0.43.0

func (mg *LogGroup) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this LogGroup.

func (*LogGroup) SetProviderConfigReference

func (mg *LogGroup) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this LogGroup.

func (*LogGroup) SetPublishConnectionDetailsTo

func (mg *LogGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this LogGroup.

func (*LogGroup) SetWriteConnectionSecretToReference

func (mg *LogGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this LogGroup.

type LogGroupList

type LogGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LogGroup `json:"items"`
}

LogGroupList contains a list of LogGroups

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.

func (*LogGroupList) GetItems

func (l *LogGroupList) GetItems() []resource.Managed

GetItems of this LogGroupList.

type LogGroupObservation

type LogGroupObservation struct {
	// The Amazon Resource Name (ARN) of the log group.
	ARN *string `json:"arn,omitempty"`
	// The creation time of the log group, expressed as the number of milliseconds
	// after Jan 1, 1970 00:00:00 UTC.
	CreationTime *int64 `json:"creationTime,omitempty"`
	// The Amazon Resource Name (ARN) of the KMS key to use when encrypting log
	// data.
	KMSKeyID *string `json:"kmsKeyID,omitempty"`
	// The name of the log group.
	LogGroupName *string `json:"logGroupName,omitempty"`
	// The number of metric filters.
	MetricFilterCount *int64 `json:"metricFilterCount,omitempty"`

	RetentionInDays *int64 `json:"retentionInDays,omitempty"`
	// The number of bytes stored.
	StoredBytes *int64 `json:"storedBytes,omitempty"`
}

LogGroupObservation defines the observed state of LogGroup

func (*LogGroupObservation) DeepCopy

func (in *LogGroupObservation) DeepCopy() *LogGroupObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogGroupObservation.

func (*LogGroupObservation) DeepCopyInto

func (in *LogGroupObservation) DeepCopyInto(out *LogGroupObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogGroupParameters

type LogGroupParameters struct {
	// Region is which region the LogGroup will be created.
	// +kubebuilder:validation:Required
	Region string `json:"region"`
	// The name of the log group.
	// +kubebuilder:validation:Required
	LogGroupName *string `json:"logGroupName"`
	// 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"`
	CustomLogGroupParameters `json:",inline"`
}

LogGroupParameters defines the desired state of LogGroup

func (*LogGroupParameters) DeepCopy

func (in *LogGroupParameters) DeepCopy() *LogGroupParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogGroupParameters.

func (*LogGroupParameters) DeepCopyInto

func (in *LogGroupParameters) DeepCopyInto(out *LogGroupParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogGroupSpec

type LogGroupSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       LogGroupParameters `json:"forProvider"`
}

LogGroupSpec defines the desired state of LogGroup

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 {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          LogGroupObservation `json:"atProvider,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"`

	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"`
}

+kubebuilder:skipversion

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"`
}

+kubebuilder:skipversion

func (*LogStream) DeepCopy

func (in *LogStream) DeepCopy() *LogStream

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogStream.

func (*LogStream) DeepCopyInto

func (in *LogStream) DeepCopyInto(out *LogStream)

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"`
}

+kubebuilder:skipversion

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 OrderBy

type OrderBy string
const (
	OrderBy_LogStreamName OrderBy = "LogStreamName"
	OrderBy_LastEventTime OrderBy = "LastEventTime"
)

type OutputLogEvent

type OutputLogEvent struct {
	IngestionTime *int64 `json:"ingestionTime,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`
}

+kubebuilder:skipversion

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 v0.44.0

type PolicyType string
const (
	PolicyType_DATA_PROTECTION_POLICY PolicyType = "DATA_PROTECTION_POLICY"
)

type QueryDefinition

type QueryDefinition struct {
	LastModified *int64 `json:"lastModified,omitempty"`
}

+kubebuilder:skipversion

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"`
}

+kubebuilder:skipversion

func (*QueryInfo) DeepCopy

func (in *QueryInfo) DeepCopy() *QueryInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryInfo.

func (*QueryInfo) DeepCopyInto

func (in *QueryInfo) DeepCopyInto(out *QueryInfo)

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 {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourcePolicySpec   `json:"spec"`
	Status            ResourcePolicyStatus `json:"status,omitempty"`
}

ResourcePolicy is the Schema for the ResourcePolicies API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

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.

func (*ResourcePolicy) DeepCopyObject added in v0.50.0

func (in *ResourcePolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ResourcePolicy) GetCondition added in v0.50.0

func (mg *ResourcePolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ResourcePolicy.

func (*ResourcePolicy) GetDeletionPolicy added in v0.50.0

func (mg *ResourcePolicy) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ResourcePolicy.

func (*ResourcePolicy) GetManagementPolicies added in v0.50.0

func (mg *ResourcePolicy) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ResourcePolicy.

func (*ResourcePolicy) GetProviderConfigReference added in v0.50.0

func (mg *ResourcePolicy) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ResourcePolicy.

func (*ResourcePolicy) GetPublishConnectionDetailsTo added in v0.50.0

func (mg *ResourcePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ResourcePolicy.

func (*ResourcePolicy) GetWriteConnectionSecretToReference added in v0.50.0

func (mg *ResourcePolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ResourcePolicy.

func (*ResourcePolicy) SetConditions added in v0.50.0

func (mg *ResourcePolicy) SetConditions(c ...xpv1.Condition)

SetConditions of this ResourcePolicy.

func (*ResourcePolicy) SetDeletionPolicy added in v0.50.0

func (mg *ResourcePolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ResourcePolicy.

func (*ResourcePolicy) SetManagementPolicies added in v0.50.0

func (mg *ResourcePolicy) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ResourcePolicy.

func (*ResourcePolicy) SetProviderConfigReference added in v0.50.0

func (mg *ResourcePolicy) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ResourcePolicy.

func (*ResourcePolicy) SetPublishConnectionDetailsTo added in v0.50.0

func (mg *ResourcePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ResourcePolicy.

func (*ResourcePolicy) SetWriteConnectionSecretToReference added in v0.50.0

func (mg *ResourcePolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ResourcePolicy.

type ResourcePolicyList added in v0.50.0

type ResourcePolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ResourcePolicy `json:"items"`
}

ResourcePolicyList contains a list of ResourcePolicies

func (*ResourcePolicyList) DeepCopy added in v0.50.0

func (in *ResourcePolicyList) DeepCopy() *ResourcePolicyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyList.

func (*ResourcePolicyList) DeepCopyInto added in v0.50.0

func (in *ResourcePolicyList) DeepCopyInto(out *ResourcePolicyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourcePolicyList) DeepCopyObject added in v0.50.0

func (in *ResourcePolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ResourcePolicyList) GetItems added in v0.50.0

func (l *ResourcePolicyList) GetItems() []resource.Managed

GetItems of this ResourcePolicyList.

type ResourcePolicyObservation added in v0.50.0

type ResourcePolicyObservation struct {
	// Timestamp showing when this policy was last updated, expressed as the number
	// of milliseconds after Jan 1, 1970 00:00:00 UTC.
	LastUpdatedTime *int64 `json:"lastUpdatedTime,omitempty"`
	// The name of the resource policy.
	PolicyName *string `json:"policyName,omitempty"`
}

ResourcePolicyObservation defines the observed state of ResourcePolicy

func (*ResourcePolicyObservation) DeepCopy added in v0.50.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyObservation.

func (*ResourcePolicyObservation) DeepCopyInto added in v0.50.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyParameters added in v0.50.0

type ResourcePolicyParameters struct {
	// Region is which region the ResourcePolicy will be created.
	// +kubebuilder:validation:Required
	Region string `json:"region"`
	// Details of the new policy, including the identity of the principal that is
	// enabled to put logs to this account. This is formatted as a JSON string.
	// This parameter is required.
	//
	// The following example creates a resource policy enabling the Route 53 service
	// to put DNS query logs in to the specified log group. Replace "logArn" with
	// the ARN of your CloudWatch Logs resource, such as a log group or log stream.
	//
	// CloudWatch Logs also supports aws:SourceArn (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-sourcearn)
	// and aws:SourceAccount (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-sourceaccount)
	// condition context keys.
	//
	// In the example resource policy, you would replace the value of SourceArn
	// with the resource making the call from Route 53 to CloudWatch Logs. You would
	// also replace the value of SourceAccount with the Amazon Web Services account
	// ID making that call.
	//
	// { "Version": "2012-10-17", "Statement": [ { "Sid": "Route53LogsToCloudWatchLogs",
	// "Effect": "Allow", "Principal": { "Service": [ "route53.amazonaws.com" ]
	// }, "Action": "logs:PutLogEvents", "Resource": "logArn", "Condition": { "ArnLike":
	// { "aws:SourceArn": "myRoute53ResourceArn" }, "StringEquals": { "aws:SourceAccount":
	// "myAwsAccountId" } } } ] }
	// +kubebuilder:validation:Required
	PolicyDocument                 *string `json:"policyDocument"`
	CustomResourcePolicyParameters `json:",inline"`
}

ResourcePolicyParameters defines the desired state of ResourcePolicy

func (*ResourcePolicyParameters) DeepCopy added in v0.50.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyParameters.

func (*ResourcePolicyParameters) DeepCopyInto added in v0.50.0

func (in *ResourcePolicyParameters) DeepCopyInto(out *ResourcePolicyParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicySpec added in v0.50.0

type ResourcePolicySpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       ResourcePolicyParameters `json:"forProvider"`
}

ResourcePolicySpec defines the desired state of ResourcePolicy

func (*ResourcePolicySpec) DeepCopy added in v0.50.0

func (in *ResourcePolicySpec) DeepCopy() *ResourcePolicySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicySpec.

func (*ResourcePolicySpec) DeepCopyInto added in v0.50.0

func (in *ResourcePolicySpec) DeepCopyInto(out *ResourcePolicySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyStatus added in v0.50.0

type ResourcePolicyStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          ResourcePolicyObservation `json:"atProvider,omitempty"`
}

ResourcePolicyStatus defines the observed state of ResourcePolicy.

func (*ResourcePolicyStatus) DeepCopy added in v0.50.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyStatus.

func (*ResourcePolicyStatus) DeepCopyInto added in v0.50.0

func (in *ResourcePolicyStatus) DeepCopyInto(out *ResourcePolicyStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicy_SDK added in v0.50.0

type ResourcePolicy_SDK struct {
	LastUpdatedTime *int64 `json:"lastUpdatedTime,omitempty"`

	PolicyDocument *string `json:"policyDocument,omitempty"`

	PolicyName *string `json:"policyName,omitempty"`
}

+kubebuilder:skipversion

func (*ResourcePolicy_SDK) DeepCopy added in v0.50.0

func (in *ResourcePolicy_SDK) DeepCopy() *ResourcePolicy_SDK

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicy_SDK.

func (*ResourcePolicy_SDK) DeepCopyInto added in v0.50.0

func (in *ResourcePolicy_SDK) DeepCopyInto(out *ResourcePolicy_SDK)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Scope added in v0.44.0

type Scope string
const (
	Scope_ALL Scope = "ALL"
)

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"`
}

+kubebuilder:skipversion

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL