Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=cloudwatchlogs.aws.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type Group
- func (in *Group) DeepCopy() *Group
- func (in *Group) DeepCopyInto(out *Group)
- func (in *Group) DeepCopyObject() runtime.Object
- func (mg *Group) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Group) GetConnectionDetailsMapping() map[string]string
- func (mg *Group) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Group) GetID() string
- func (tr *Group) GetObservation() (map[string]any, error)
- func (tr *Group) GetParameters() (map[string]any, error)
- func (mg *Group) GetProviderConfigReference() *xpv1.Reference
- func (mg *Group) GetProviderReference() *xpv1.Reference
- func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Group) GetTerraformResourceType() string
- func (tr *Group) GetTerraformSchemaVersion() int
- func (mg *Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Group) LateInitialize(attrs []byte) (bool, error)
- func (mg *Group) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Group) SetConditions(c ...xpv1.Condition)
- func (mg *Group) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Group) SetObservation(obs map[string]any) error
- func (tr *Group) SetParameters(params map[string]any) error
- func (mg *Group) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Group) SetProviderReference(r *xpv1.Reference)
- func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Group) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type GroupList
- type GroupObservation
- type GroupParameters
- type GroupSpec
- type GroupStatus
Constants ¶
const ( CRDGroup = "cloudwatchlogs.aws.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( Group_Kind = "Group" Group_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Group_Kind}.String() Group_KindAPIVersion = Group_Kind + "." + CRDGroupVersion.String() Group_GroupVersionKind = CRDGroupVersion.WithKind(Group_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GroupSpec `json:"spec"` Status GroupStatus `json:"status,omitempty"` }
Group is the Schema for the Groups API. Provides a CloudWatch Log Group resource. +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:resource:scope=Cluster,categories={crossplane,managed,aws}
func (*Group) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group.
func (*Group) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Group) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Group) GetCondition ¶
func (mg *Group) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Group.
func (*Group) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Group
func (*Group) GetDeletionPolicy ¶
func (mg *Group) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Group.
func (*Group) GetObservation ¶
GetObservation of this Group
func (*Group) GetParameters ¶
GetParameters of this Group
func (*Group) GetProviderConfigReference ¶
GetProviderConfigReference of this Group.
func (*Group) GetProviderReference ¶
GetProviderReference of this Group. Deprecated: Use GetProviderConfigReference.
func (*Group) GetPublishConnectionDetailsTo ¶
func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Group.
func (*Group) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Group
func (*Group) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Group) GetWriteConnectionSecretToReference ¶
func (mg *Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Group.
func (*Group) LateInitialize ¶
LateInitialize this Group using its observed tfState. returns True if there are any spec changes for the resource.
func (*Group) ResolveReferences ¶
ResolveReferences of this Group.
func (*Group) SetConditions ¶
SetConditions of this Group.
func (*Group) SetDeletionPolicy ¶
func (mg *Group) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Group.
func (*Group) SetObservation ¶
SetObservation for this Group
func (*Group) SetParameters ¶
SetParameters for this Group
func (*Group) SetProviderConfigReference ¶
SetProviderConfigReference of this Group.
func (*Group) SetProviderReference ¶
SetProviderReference of this Group. Deprecated: Use SetProviderConfigReference.
func (*Group) SetPublishConnectionDetailsTo ¶
func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Group.
func (*Group) SetWriteConnectionSecretToReference ¶
func (mg *Group) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Group.
type GroupList ¶
type GroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Group `json:"items"` }
GroupList contains a list of Groups
func (*GroupList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList.
func (*GroupList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupObservation ¶
type GroupObservation struct { // The Amazon Resource Name (ARN) specifying the log group. Any :* suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` }
func (*GroupObservation) DeepCopy ¶
func (in *GroupObservation) DeepCopy() *GroupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupObservation.
func (*GroupObservation) DeepCopyInto ¶
func (in *GroupObservation) DeepCopyInto(out *GroupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupParameters ¶
type GroupParameters struct { // The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, // AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires // permissions for the CMK whenever the encrypted data is requested. // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key // +kubebuilder:validation:Optional KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` // Reference to a Key in kms to populate kmsKeyId. // +kubebuilder:validation:Optional KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` // Selector for a Key in kms to populate kmsKeyId. // +kubebuilder:validation:Optional KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` // Region is the region you'd like your resource to be created in. // +upjet:crd:field:TFTag=- // +kubebuilder:validation:Required Region *string `json:"region" tf:"-"` // Specifies the number of days // you want to retain 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, 3653, and 0. // If you select 0, the events in the log group are always retained and never expire. // +kubebuilder:validation:Optional RetentionInDays *float64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"` // Key-value map of resource tags. // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*GroupParameters) DeepCopy ¶
func (in *GroupParameters) DeepCopy() *GroupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupParameters.
func (*GroupParameters) DeepCopyInto ¶
func (in *GroupParameters) DeepCopyInto(out *GroupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupSpec ¶
type GroupSpec struct { v1.ResourceSpec `json:",inline"` ForProvider GroupParameters `json:"forProvider"` }
GroupSpec defines the desired state of Group
func (*GroupSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSpec.
func (*GroupSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupStatus ¶
type GroupStatus struct { v1.ResourceStatus `json:",inline"` AtProvider GroupObservation `json:"atProvider,omitempty"` }
GroupStatus defines the observed state of Group.
func (*GroupStatus) DeepCopy ¶
func (in *GroupStatus) DeepCopy() *GroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupStatus.
func (*GroupStatus) DeepCopyInto ¶
func (in *GroupStatus) DeepCopyInto(out *GroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.