v1beta1

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloudwatchlogs.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "cloudwatchlogs.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Definition_Kind             = "Definition"
	Definition_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Definition_Kind}.String()
	Definition_KindAPIVersion   = Definition_Kind + "." + CRDGroupVersion.String()
	Definition_GroupVersionKind = CRDGroupVersion.WithKind(Definition_Kind)
)

Repository type metadata.

View Source
var (
	Destination_Kind             = "Destination"
	Destination_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Destination_Kind}.String()
	Destination_KindAPIVersion   = Destination_Kind + "." + CRDGroupVersion.String()
	Destination_GroupVersionKind = CRDGroupVersion.WithKind(Destination_Kind)
)

Repository type metadata.

View Source
var (
	DestinationPolicy_Kind             = "DestinationPolicy"
	DestinationPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DestinationPolicy_Kind}.String()
	DestinationPolicy_KindAPIVersion   = DestinationPolicy_Kind + "." + CRDGroupVersion.String()
	DestinationPolicy_GroupVersionKind = CRDGroupVersion.WithKind(DestinationPolicy_Kind)
)

Repository type metadata.

View Source
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.

View Source
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
)
View Source
var (
	MetricFilter_Kind             = "MetricFilter"
	MetricFilter_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MetricFilter_Kind}.String()
	MetricFilter_KindAPIVersion   = MetricFilter_Kind + "." + CRDGroupVersion.String()
	MetricFilter_GroupVersionKind = CRDGroupVersion.WithKind(MetricFilter_Kind)
)

Repository type metadata.

View Source
var (
	ResourcePolicy_Kind             = "ResourcePolicy"
	ResourcePolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourcePolicy_Kind}.String()
	ResourcePolicy_KindAPIVersion   = ResourcePolicy_Kind + "." + CRDGroupVersion.String()
	ResourcePolicy_GroupVersionKind = CRDGroupVersion.WithKind(ResourcePolicy_Kind)
)

Repository type metadata.

View Source
var (
	Stream_Kind             = "Stream"
	Stream_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Stream_Kind}.String()
	Stream_KindAPIVersion   = Stream_Kind + "." + CRDGroupVersion.String()
	Stream_GroupVersionKind = CRDGroupVersion.WithKind(Stream_Kind)
)

Repository type metadata.

View Source
var (
	SubscriptionFilter_Kind             = "SubscriptionFilter"
	SubscriptionFilter_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SubscriptionFilter_Kind}.String()
	SubscriptionFilter_KindAPIVersion   = SubscriptionFilter_Kind + "." + CRDGroupVersion.String()
	SubscriptionFilter_GroupVersionKind = CRDGroupVersion.WithKind(SubscriptionFilter_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Definition added in v0.20.0

type Definition struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.queryString) || (has(self.initProvider) && has(self.initProvider.queryString))",message="spec.forProvider.queryString is a required parameter"
	Spec   DefinitionSpec   `json:"spec"`
	Status DefinitionStatus `json:"status,omitempty"`
}

Definition is the Schema for the Definitions API. Provides a CloudWatch Logs query definition resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Definition) DeepCopy added in v0.20.0

func (in *Definition) DeepCopy() *Definition

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

func (*Definition) DeepCopyInto added in v0.20.0

func (in *Definition) DeepCopyInto(out *Definition)

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

func (*Definition) DeepCopyObject added in v0.20.0

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

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

func (*Definition) GetCondition added in v0.20.0

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

GetCondition of this Definition.

func (*Definition) GetConnectionDetailsMapping added in v0.20.0

func (tr *Definition) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Definition

func (*Definition) GetDeletionPolicy added in v0.20.0

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

GetDeletionPolicy of this Definition.

func (*Definition) GetID added in v0.20.0

func (tr *Definition) GetID() string

GetID returns ID of underlying Terraform resource of this Definition

func (*Definition) GetInitParameters added in v0.38.0

func (tr *Definition) GetInitParameters() (map[string]any, error)

GetInitParameters of this Definition

func (*Definition) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Definition.

func (*Definition) GetMergedParameters added in v0.44.0

func (tr *Definition) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Definition

func (*Definition) GetObservation added in v0.20.0

func (tr *Definition) GetObservation() (map[string]any, error)

GetObservation of this Definition

func (*Definition) GetParameters added in v0.20.0

func (tr *Definition) GetParameters() (map[string]any, error)

GetParameters of this Definition

func (*Definition) GetProviderConfigReference added in v0.20.0

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

GetProviderConfigReference of this Definition.

func (*Definition) GetPublishConnectionDetailsTo added in v0.20.0

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

GetPublishConnectionDetailsTo of this Definition.

func (*Definition) GetTerraformResourceType added in v0.20.0

func (mg *Definition) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Definition

func (*Definition) GetTerraformSchemaVersion added in v0.20.0

func (tr *Definition) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Definition) GetWriteConnectionSecretToReference added in v0.20.0

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

GetWriteConnectionSecretToReference of this Definition.

func (*Definition) Hub added in v0.47.2

func (tr *Definition) Hub()

Hub marks this type as a conversion hub.

func (*Definition) LateInitialize added in v0.20.0

func (tr *Definition) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Definition using its observed tfState. returns True if there are any spec changes for the resource.

func (*Definition) SetConditions added in v0.20.0

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

SetConditions of this Definition.

func (*Definition) SetDeletionPolicy added in v0.20.0

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

SetDeletionPolicy of this Definition.

func (*Definition) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Definition.

func (*Definition) SetObservation added in v0.20.0

func (tr *Definition) SetObservation(obs map[string]any) error

SetObservation for this Definition

func (*Definition) SetParameters added in v0.20.0

func (tr *Definition) SetParameters(params map[string]any) error

SetParameters for this Definition

func (*Definition) SetProviderConfigReference added in v0.20.0

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

SetProviderConfigReference of this Definition.

func (*Definition) SetPublishConnectionDetailsTo added in v0.20.0

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

SetPublishConnectionDetailsTo of this Definition.

func (*Definition) SetWriteConnectionSecretToReference added in v0.20.0

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

SetWriteConnectionSecretToReference of this Definition.

type DefinitionInitParameters added in v0.38.0

type DefinitionInitParameters struct {

	// Specific log groups to use with the query.
	LogGroupNames []*string `json:"logGroupNames,omitempty" tf:"log_group_names,omitempty"`

	// The name of the query.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The query to save. You can read more about CloudWatch Logs Query Syntax in the documentation.
	QueryString *string `json:"queryString,omitempty" tf:"query_string,omitempty"`
}

func (*DefinitionInitParameters) DeepCopy added in v0.38.0

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

func (*DefinitionInitParameters) DeepCopyInto added in v0.38.0

func (in *DefinitionInitParameters) DeepCopyInto(out *DefinitionInitParameters)

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

type DefinitionList added in v0.20.0

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

DefinitionList contains a list of Definitions

func (*DefinitionList) DeepCopy added in v0.20.0

func (in *DefinitionList) DeepCopy() *DefinitionList

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

func (*DefinitionList) DeepCopyInto added in v0.20.0

func (in *DefinitionList) DeepCopyInto(out *DefinitionList)

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

func (*DefinitionList) DeepCopyObject added in v0.20.0

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

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

func (*DefinitionList) GetItems added in v0.20.0

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

GetItems of this DefinitionList.

type DefinitionObservation added in v0.20.0

type DefinitionObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specific log groups to use with the query.
	LogGroupNames []*string `json:"logGroupNames,omitempty" tf:"log_group_names,omitempty"`

	// The name of the query.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The query definition ID.
	QueryDefinitionID *string `json:"queryDefinitionId,omitempty" tf:"query_definition_id,omitempty"`

	// The query to save. You can read more about CloudWatch Logs Query Syntax in the documentation.
	QueryString *string `json:"queryString,omitempty" tf:"query_string,omitempty"`
}

func (*DefinitionObservation) DeepCopy added in v0.20.0

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

func (*DefinitionObservation) DeepCopyInto added in v0.20.0

func (in *DefinitionObservation) DeepCopyInto(out *DefinitionObservation)

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

type DefinitionParameters added in v0.20.0

type DefinitionParameters struct {

	// Specific log groups to use with the query.
	// +kubebuilder:validation:Optional
	LogGroupNames []*string `json:"logGroupNames,omitempty" tf:"log_group_names,omitempty"`

	// The name of the query.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The query to save. You can read more about CloudWatch Logs Query Syntax in the documentation.
	// +kubebuilder:validation:Optional
	QueryString *string `json:"queryString,omitempty" tf:"query_string,omitempty"`

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

func (*DefinitionParameters) DeepCopy added in v0.20.0

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

func (*DefinitionParameters) DeepCopyInto added in v0.20.0

func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters)

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

type DefinitionSpec added in v0.20.0

type DefinitionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DefinitionParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DefinitionInitParameters `json:"initProvider,omitempty"`
}

DefinitionSpec defines the desired state of Definition

func (*DefinitionSpec) DeepCopy added in v0.20.0

func (in *DefinitionSpec) DeepCopy() *DefinitionSpec

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

func (*DefinitionSpec) DeepCopyInto added in v0.20.0

func (in *DefinitionSpec) DeepCopyInto(out *DefinitionSpec)

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

type DefinitionStatus added in v0.20.0

type DefinitionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DefinitionObservation `json:"atProvider,omitempty"`
}

DefinitionStatus defines the observed state of Definition.

func (*DefinitionStatus) DeepCopy added in v0.20.0

func (in *DefinitionStatus) DeepCopy() *DefinitionStatus

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

func (*DefinitionStatus) DeepCopyInto added in v0.20.0

func (in *DefinitionStatus) DeepCopyInto(out *DefinitionStatus)

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

type Destination added in v0.24.0

type Destination struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DestinationSpec   `json:"spec"`
	Status            DestinationStatus `json:"status,omitempty"`
}

Destination is the Schema for the Destinations API. Provides a CloudWatch Logs destination. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Destination) DeepCopy added in v0.24.0

func (in *Destination) DeepCopy() *Destination

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

func (*Destination) DeepCopyInto added in v0.24.0

func (in *Destination) DeepCopyInto(out *Destination)

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

func (*Destination) DeepCopyObject added in v0.24.0

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

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

func (*Destination) GetCondition added in v0.24.0

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

GetCondition of this Destination.

func (*Destination) GetConnectionDetailsMapping added in v0.24.0

func (tr *Destination) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Destination

func (*Destination) GetDeletionPolicy added in v0.24.0

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

GetDeletionPolicy of this Destination.

func (*Destination) GetID added in v0.24.0

func (tr *Destination) GetID() string

GetID returns ID of underlying Terraform resource of this Destination

func (*Destination) GetInitParameters added in v0.38.0

func (tr *Destination) GetInitParameters() (map[string]any, error)

GetInitParameters of this Destination

func (*Destination) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Destination.

func (*Destination) GetMergedParameters added in v0.44.0

func (tr *Destination) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Destination

func (*Destination) GetObservation added in v0.24.0

func (tr *Destination) GetObservation() (map[string]any, error)

GetObservation of this Destination

func (*Destination) GetParameters added in v0.24.0

func (tr *Destination) GetParameters() (map[string]any, error)

GetParameters of this Destination

func (*Destination) GetProviderConfigReference added in v0.24.0

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

GetProviderConfigReference of this Destination.

func (*Destination) GetPublishConnectionDetailsTo added in v0.24.0

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

GetPublishConnectionDetailsTo of this Destination.

func (*Destination) GetTerraformResourceType added in v0.24.0

func (mg *Destination) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Destination

func (*Destination) GetTerraformSchemaVersion added in v0.24.0

func (tr *Destination) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Destination) GetWriteConnectionSecretToReference added in v0.24.0

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

GetWriteConnectionSecretToReference of this Destination.

func (*Destination) Hub added in v0.47.2

func (tr *Destination) Hub()

Hub marks this type as a conversion hub.

func (*Destination) LateInitialize added in v0.24.0

func (tr *Destination) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Destination using its observed tfState. returns True if there are any spec changes for the resource.

func (*Destination) ResolveReferences added in v0.24.0

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

func (*Destination) SetConditions added in v0.24.0

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

SetConditions of this Destination.

func (*Destination) SetDeletionPolicy added in v0.24.0

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

SetDeletionPolicy of this Destination.

func (*Destination) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Destination.

func (*Destination) SetObservation added in v0.24.0

func (tr *Destination) SetObservation(obs map[string]any) error

SetObservation for this Destination

func (*Destination) SetParameters added in v0.24.0

func (tr *Destination) SetParameters(params map[string]any) error

SetParameters for this Destination

func (*Destination) SetProviderConfigReference added in v0.24.0

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

SetProviderConfigReference of this Destination.

func (*Destination) SetPublishConnectionDetailsTo added in v0.24.0

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

SetPublishConnectionDetailsTo of this Destination.

func (*Destination) SetWriteConnectionSecretToReference added in v0.24.0

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

SetWriteConnectionSecretToReference of this Destination.

type DestinationInitParameters added in v0.38.0

type DestinationInitParameters struct {

	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Reference to a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The ARN of the target Amazon Kinesis stream resource for the destination.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	TargetArn *string `json:"targetArn,omitempty" tf:"target_arn,omitempty"`

	// Reference to a Stream in kinesis to populate targetArn.
	// +kubebuilder:validation:Optional
	TargetArnRef *v1.Reference `json:"targetArnRef,omitempty" tf:"-"`

	// Selector for a Stream in kinesis to populate targetArn.
	// +kubebuilder:validation:Optional
	TargetArnSelector *v1.Selector `json:"targetArnSelector,omitempty" tf:"-"`
}

func (*DestinationInitParameters) DeepCopy added in v0.38.0

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

func (*DestinationInitParameters) DeepCopyInto added in v0.38.0

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

type DestinationList added in v0.24.0

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

DestinationList contains a list of Destinations

func (*DestinationList) DeepCopy added in v0.24.0

func (in *DestinationList) DeepCopy() *DestinationList

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

func (*DestinationList) DeepCopyInto added in v0.24.0

func (in *DestinationList) DeepCopyInto(out *DestinationList)

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

func (*DestinationList) DeepCopyObject added in v0.24.0

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

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

func (*DestinationList) GetItems added in v0.24.0

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

GetItems of this DestinationList.

type DestinationObservation added in v0.24.0

type DestinationObservation struct {

	// The Amazon Resource Name (ARN) specifying the log destination.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target.
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// The ARN of the target Amazon Kinesis stream resource for the destination.
	TargetArn *string `json:"targetArn,omitempty" tf:"target_arn,omitempty"`
}

func (*DestinationObservation) DeepCopy added in v0.24.0

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

func (*DestinationObservation) DeepCopyInto added in v0.24.0

func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation)

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

type DestinationParameters added in v0.24.0

type DestinationParameters struct {

	// 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:"-"`

	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Reference to a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The ARN of the target Amazon Kinesis stream resource for the destination.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	// +kubebuilder:validation:Optional
	TargetArn *string `json:"targetArn,omitempty" tf:"target_arn,omitempty"`

	// Reference to a Stream in kinesis to populate targetArn.
	// +kubebuilder:validation:Optional
	TargetArnRef *v1.Reference `json:"targetArnRef,omitempty" tf:"-"`

	// Selector for a Stream in kinesis to populate targetArn.
	// +kubebuilder:validation:Optional
	TargetArnSelector *v1.Selector `json:"targetArnSelector,omitempty" tf:"-"`
}

func (*DestinationParameters) DeepCopy added in v0.24.0

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

func (*DestinationParameters) DeepCopyInto added in v0.24.0

func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters)

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

type DestinationPolicy added in v0.24.0

type DestinationPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessPolicy) || (has(self.initProvider) && has(self.initProvider.accessPolicy))",message="spec.forProvider.accessPolicy is a required parameter"
	Spec   DestinationPolicySpec   `json:"spec"`
	Status DestinationPolicyStatus `json:"status,omitempty"`
}

DestinationPolicy is the Schema for the DestinationPolicys API. Provides a CloudWatch Logs destination policy. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*DestinationPolicy) DeepCopy added in v0.24.0

func (in *DestinationPolicy) DeepCopy() *DestinationPolicy

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

func (*DestinationPolicy) DeepCopyInto added in v0.24.0

func (in *DestinationPolicy) DeepCopyInto(out *DestinationPolicy)

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

func (*DestinationPolicy) DeepCopyObject added in v0.24.0

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

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

func (*DestinationPolicy) GetCondition added in v0.24.0

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

GetCondition of this DestinationPolicy.

func (*DestinationPolicy) GetConnectionDetailsMapping added in v0.24.0

func (tr *DestinationPolicy) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DestinationPolicy

func (*DestinationPolicy) GetDeletionPolicy added in v0.24.0

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

GetDeletionPolicy of this DestinationPolicy.

func (*DestinationPolicy) GetID added in v0.24.0

func (tr *DestinationPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this DestinationPolicy

func (*DestinationPolicy) GetInitParameters added in v0.38.0

func (tr *DestinationPolicy) GetInitParameters() (map[string]any, error)

GetInitParameters of this DestinationPolicy

func (*DestinationPolicy) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this DestinationPolicy.

func (*DestinationPolicy) GetMergedParameters added in v0.44.0

func (tr *DestinationPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this DestinationPolicy

func (*DestinationPolicy) GetObservation added in v0.24.0

func (tr *DestinationPolicy) GetObservation() (map[string]any, error)

GetObservation of this DestinationPolicy

func (*DestinationPolicy) GetParameters added in v0.24.0

func (tr *DestinationPolicy) GetParameters() (map[string]any, error)

GetParameters of this DestinationPolicy

func (*DestinationPolicy) GetProviderConfigReference added in v0.24.0

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

GetProviderConfigReference of this DestinationPolicy.

func (*DestinationPolicy) GetPublishConnectionDetailsTo added in v0.24.0

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

GetPublishConnectionDetailsTo of this DestinationPolicy.

func (*DestinationPolicy) GetTerraformResourceType added in v0.24.0

func (mg *DestinationPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DestinationPolicy

func (*DestinationPolicy) GetTerraformSchemaVersion added in v0.24.0

func (tr *DestinationPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DestinationPolicy) GetWriteConnectionSecretToReference added in v0.24.0

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

GetWriteConnectionSecretToReference of this DestinationPolicy.

func (*DestinationPolicy) Hub added in v0.47.2

func (tr *DestinationPolicy) Hub()

Hub marks this type as a conversion hub.

func (*DestinationPolicy) LateInitialize added in v0.24.0

func (tr *DestinationPolicy) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DestinationPolicy using its observed tfState. returns True if there are any spec changes for the resource.

func (*DestinationPolicy) SetConditions added in v0.24.0

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

SetConditions of this DestinationPolicy.

func (*DestinationPolicy) SetDeletionPolicy added in v0.24.0

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

SetDeletionPolicy of this DestinationPolicy.

func (*DestinationPolicy) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this DestinationPolicy.

func (*DestinationPolicy) SetObservation added in v0.24.0

func (tr *DestinationPolicy) SetObservation(obs map[string]any) error

SetObservation for this DestinationPolicy

func (*DestinationPolicy) SetParameters added in v0.24.0

func (tr *DestinationPolicy) SetParameters(params map[string]any) error

SetParameters for this DestinationPolicy

func (*DestinationPolicy) SetProviderConfigReference added in v0.24.0

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

SetProviderConfigReference of this DestinationPolicy.

func (*DestinationPolicy) SetPublishConnectionDetailsTo added in v0.24.0

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

SetPublishConnectionDetailsTo of this DestinationPolicy.

func (*DestinationPolicy) SetWriteConnectionSecretToReference added in v0.24.0

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

SetWriteConnectionSecretToReference of this DestinationPolicy.

type DestinationPolicyInitParameters added in v0.38.0

type DestinationPolicyInitParameters struct {

	// The policy document. This is a JSON formatted string.
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts.
	ForceUpdate *bool `json:"forceUpdate,omitempty" tf:"force_update,omitempty"`
}

func (*DestinationPolicyInitParameters) DeepCopy added in v0.38.0

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

func (*DestinationPolicyInitParameters) DeepCopyInto added in v0.38.0

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

type DestinationPolicyList added in v0.24.0

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

DestinationPolicyList contains a list of DestinationPolicys

func (*DestinationPolicyList) DeepCopy added in v0.24.0

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

func (*DestinationPolicyList) DeepCopyInto added in v0.24.0

func (in *DestinationPolicyList) DeepCopyInto(out *DestinationPolicyList)

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

func (*DestinationPolicyList) DeepCopyObject added in v0.24.0

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

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

func (*DestinationPolicyList) GetItems added in v0.24.0

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

GetItems of this DestinationPolicyList.

type DestinationPolicyObservation added in v0.24.0

type DestinationPolicyObservation struct {

	// The policy document. This is a JSON formatted string.
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts.
	ForceUpdate *bool `json:"forceUpdate,omitempty" tf:"force_update,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*DestinationPolicyObservation) DeepCopy added in v0.24.0

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

func (*DestinationPolicyObservation) DeepCopyInto added in v0.24.0

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

type DestinationPolicyParameters added in v0.24.0

type DestinationPolicyParameters struct {

	// The policy document. This is a JSON formatted string.
	// +kubebuilder:validation:Optional
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts.
	// +kubebuilder:validation:Optional
	ForceUpdate *bool `json:"forceUpdate,omitempty" tf:"force_update,omitempty"`

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

func (*DestinationPolicyParameters) DeepCopy added in v0.24.0

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

func (*DestinationPolicyParameters) DeepCopyInto added in v0.24.0

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

type DestinationPolicySpec added in v0.24.0

type DestinationPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DestinationPolicyParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DestinationPolicyInitParameters `json:"initProvider,omitempty"`
}

DestinationPolicySpec defines the desired state of DestinationPolicy

func (*DestinationPolicySpec) DeepCopy added in v0.24.0

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

func (*DestinationPolicySpec) DeepCopyInto added in v0.24.0

func (in *DestinationPolicySpec) DeepCopyInto(out *DestinationPolicySpec)

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

type DestinationPolicyStatus added in v0.24.0

type DestinationPolicyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DestinationPolicyObservation `json:"atProvider,omitempty"`
}

DestinationPolicyStatus defines the observed state of DestinationPolicy.

func (*DestinationPolicyStatus) DeepCopy added in v0.24.0

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

func (*DestinationPolicyStatus) DeepCopyInto added in v0.24.0

func (in *DestinationPolicyStatus) DeepCopyInto(out *DestinationPolicyStatus)

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

type DestinationSpec added in v0.24.0

type DestinationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DestinationParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DestinationInitParameters `json:"initProvider,omitempty"`
}

DestinationSpec defines the desired state of Destination

func (*DestinationSpec) DeepCopy added in v0.24.0

func (in *DestinationSpec) DeepCopy() *DestinationSpec

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

func (*DestinationSpec) DeepCopyInto added in v0.24.0

func (in *DestinationSpec) DeepCopyInto(out *DestinationSpec)

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

type DestinationStatus added in v0.24.0

type DestinationStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DestinationObservation `json:"atProvider,omitempty"`
}

DestinationStatus defines the observed state of Destination.

func (*DestinationStatus) DeepCopy added in v0.24.0

func (in *DestinationStatus) DeepCopy() *DestinationStatus

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

func (*DestinationStatus) DeepCopyInto added in v0.24.0

func (in *DestinationStatus) DeepCopyInto(out *DestinationStatus)

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

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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

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

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

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

func (*Group) DeepCopyObject

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

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

func (tr *Group) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Group

func (*Group) GetDeletionPolicy

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

GetDeletionPolicy of this Group.

func (*Group) GetID

func (tr *Group) GetID() string

GetID returns ID of underlying Terraform resource of this Group

func (*Group) GetInitParameters added in v0.38.0

func (tr *Group) GetInitParameters() (map[string]any, error)

GetInitParameters of this Group

func (*Group) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Group.

func (*Group) GetMergedParameters added in v0.44.0

func (tr *Group) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Group

func (*Group) GetObservation

func (tr *Group) GetObservation() (map[string]any, error)

GetObservation of this Group

func (*Group) GetParameters

func (tr *Group) GetParameters() (map[string]any, error)

GetParameters of this Group

func (*Group) GetProviderConfigReference

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

GetProviderConfigReference of this Group.

func (*Group) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Group.

func (*Group) GetTerraformResourceType

func (mg *Group) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Group

func (*Group) GetTerraformSchemaVersion

func (tr *Group) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Group) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Group.

func (*Group) Hub added in v0.47.2

func (tr *Group) Hub()

Hub marks this type as a conversion hub.

func (*Group) LateInitialize

func (tr *Group) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Group using its observed tfState. returns True if there are any spec changes for the resource.

func (*Group) ResolveReferences

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

ResolveReferences of this Group.

func (*Group) SetConditions

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

SetConditions of this Group.

func (*Group) SetDeletionPolicy

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

SetDeletionPolicy of this Group.

func (*Group) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Group.

func (*Group) SetObservation

func (tr *Group) SetObservation(obs map[string]any) error

SetObservation for this Group

func (*Group) SetParameters

func (tr *Group) SetParameters(params map[string]any) error

SetParameters for this Group

func (*Group) SetProviderConfigReference

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

SetProviderConfigReference of this Group.

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 GroupInitParameters added in v0.38.0

type GroupInitParameters 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
	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:"-"`

	// Specified the log class of the log group. Possible values are: STANDARD or INFREQUENT_ACCESS.
	LogGroupClass *string `json:"logGroupClass,omitempty" tf:"log_group_class,omitempty"`

	// 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, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
	// If you select 0, the events in the log group are always retained and never expire.
	RetentionInDays *float64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"`

	SkipDestroy *bool `json:"skipDestroy,omitempty" tf:"skip_destroy,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*GroupInitParameters) DeepCopy added in v0.38.0

func (in *GroupInitParameters) DeepCopy() *GroupInitParameters

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

func (*GroupInitParameters) DeepCopyInto added in v0.38.0

func (in *GroupInitParameters) DeepCopyInto(out *GroupInitParameters)

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

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

func (in *GroupList) DeepCopy() *GroupList

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

func (*GroupList) DeepCopyInto

func (in *GroupList) DeepCopyInto(out *GroupList)

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

func (*GroupList) DeepCopyObject

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

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

func (*GroupList) GetItems

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

GetItems of this GroupList.

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

	// 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.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Specified the log class of the log group. Possible values are: STANDARD or INFREQUENT_ACCESS.
	LogGroupClass *string `json:"logGroupClass,omitempty" tf:"log_group_class,omitempty"`

	// 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, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
	// If you select 0, the events in the log group are always retained and never expire.
	RetentionInDays *float64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"`

	SkipDestroy *bool `json:"skipDestroy,omitempty" tf:"skip_destroy,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	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:"-"`

	// Specified the log class of the log group. Possible values are: STANDARD or INFREQUENT_ACCESS.
	// +kubebuilder:validation:Optional
	LogGroupClass *string `json:"logGroupClass,omitempty" tf:"log_group_class,omitempty"`

	// 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, 1096, 1827, 2192, 2557, 2922, 3288, 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"`

	// +kubebuilder:validation:Optional
	SkipDestroy *bool `json:"skipDestroy,omitempty" tf:"skip_destroy,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider GroupInitParameters `json:"initProvider,omitempty"`
}

GroupSpec defines the desired state of Group

func (*GroupSpec) DeepCopy

func (in *GroupSpec) DeepCopy() *GroupSpec

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

func (*GroupSpec) DeepCopyInto

func (in *GroupSpec) DeepCopyInto(out *GroupSpec)

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.

type MetricFilter added in v0.20.0

type MetricFilter struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricTransformation) || (has(self.initProvider) && has(self.initProvider.metricTransformation))",message="spec.forProvider.metricTransformation is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.pattern) || (has(self.initProvider) && has(self.initProvider.pattern))",message="spec.forProvider.pattern is a required parameter"
	Spec   MetricFilterSpec   `json:"spec"`
	Status MetricFilterStatus `json:"status,omitempty"`
}

MetricFilter is the Schema for the MetricFilters API. Provides a CloudWatch Log Metric Filter resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*MetricFilter) DeepCopy added in v0.20.0

func (in *MetricFilter) DeepCopy() *MetricFilter

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

func (*MetricFilter) DeepCopyInto added in v0.20.0

func (in *MetricFilter) DeepCopyInto(out *MetricFilter)

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

func (*MetricFilter) DeepCopyObject added in v0.20.0

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

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

func (*MetricFilter) GetCondition added in v0.20.0

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

GetCondition of this MetricFilter.

func (*MetricFilter) GetConnectionDetailsMapping added in v0.20.0

func (tr *MetricFilter) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MetricFilter

func (*MetricFilter) GetDeletionPolicy added in v0.20.0

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

GetDeletionPolicy of this MetricFilter.

func (*MetricFilter) GetID added in v0.20.0

func (tr *MetricFilter) GetID() string

GetID returns ID of underlying Terraform resource of this MetricFilter

func (*MetricFilter) GetInitParameters added in v0.38.0

func (tr *MetricFilter) GetInitParameters() (map[string]any, error)

GetInitParameters of this MetricFilter

func (*MetricFilter) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this MetricFilter.

func (*MetricFilter) GetMergedParameters added in v0.44.0

func (tr *MetricFilter) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MetricFilter

func (*MetricFilter) GetObservation added in v0.20.0

func (tr *MetricFilter) GetObservation() (map[string]any, error)

GetObservation of this MetricFilter

func (*MetricFilter) GetParameters added in v0.20.0

func (tr *MetricFilter) GetParameters() (map[string]any, error)

GetParameters of this MetricFilter

func (*MetricFilter) GetProviderConfigReference added in v0.20.0

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

GetProviderConfigReference of this MetricFilter.

func (*MetricFilter) GetPublishConnectionDetailsTo added in v0.20.0

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

GetPublishConnectionDetailsTo of this MetricFilter.

func (*MetricFilter) GetTerraformResourceType added in v0.20.0

func (mg *MetricFilter) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MetricFilter

func (*MetricFilter) GetTerraformSchemaVersion added in v0.20.0

func (tr *MetricFilter) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MetricFilter) GetWriteConnectionSecretToReference added in v0.20.0

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

GetWriteConnectionSecretToReference of this MetricFilter.

func (*MetricFilter) Hub added in v0.47.2

func (tr *MetricFilter) Hub()

Hub marks this type as a conversion hub.

func (*MetricFilter) LateInitialize added in v0.20.0

func (tr *MetricFilter) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MetricFilter using its observed tfState. returns True if there are any spec changes for the resource.

func (*MetricFilter) ResolveReferences added in v0.20.0

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

ResolveReferences of this MetricFilter.

func (*MetricFilter) SetConditions added in v0.20.0

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

SetConditions of this MetricFilter.

func (*MetricFilter) SetDeletionPolicy added in v0.20.0

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

SetDeletionPolicy of this MetricFilter.

func (*MetricFilter) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this MetricFilter.

func (*MetricFilter) SetObservation added in v0.20.0

func (tr *MetricFilter) SetObservation(obs map[string]any) error

SetObservation for this MetricFilter

func (*MetricFilter) SetParameters added in v0.20.0

func (tr *MetricFilter) SetParameters(params map[string]any) error

SetParameters for this MetricFilter

func (*MetricFilter) SetProviderConfigReference added in v0.20.0

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

SetProviderConfigReference of this MetricFilter.

func (*MetricFilter) SetPublishConnectionDetailsTo added in v0.20.0

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

SetPublishConnectionDetailsTo of this MetricFilter.

func (*MetricFilter) SetWriteConnectionSecretToReference added in v0.20.0

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

SetWriteConnectionSecretToReference of this MetricFilter.

type MetricFilterInitParameters added in v0.38.0

type MetricFilterInitParameters struct {

	// The name of the log group to associate the metric filter with.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group
	LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`

	// Reference to a Group in cloudwatchlogs to populate logGroupName.
	// +kubebuilder:validation:Optional
	LogGroupNameRef *v1.Reference `json:"logGroupNameRef,omitempty" tf:"-"`

	// Selector for a Group in cloudwatchlogs to populate logGroupName.
	// +kubebuilder:validation:Optional
	LogGroupNameSelector *v1.Selector `json:"logGroupNameSelector,omitempty" tf:"-"`

	// A block defining collection of information needed to define how metric data gets emitted. See below.
	MetricTransformation []MetricTransformationInitParameters `json:"metricTransformation,omitempty" tf:"metric_transformation,omitempty"`

	// A valid CloudWatch Logs filter pattern
	// for extracting metric data out of ingested log events.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*MetricFilterInitParameters) DeepCopy added in v0.38.0

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

func (*MetricFilterInitParameters) DeepCopyInto added in v0.38.0

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

type MetricFilterList added in v0.20.0

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

MetricFilterList contains a list of MetricFilters

func (*MetricFilterList) DeepCopy added in v0.20.0

func (in *MetricFilterList) DeepCopy() *MetricFilterList

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

func (*MetricFilterList) DeepCopyInto added in v0.20.0

func (in *MetricFilterList) DeepCopyInto(out *MetricFilterList)

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

func (*MetricFilterList) DeepCopyObject added in v0.20.0

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

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

func (*MetricFilterList) GetItems added in v0.20.0

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

GetItems of this MetricFilterList.

type MetricFilterObservation added in v0.20.0

type MetricFilterObservation struct {

	// The name of the metric filter.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the log group to associate the metric filter with.
	LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`

	// A block defining collection of information needed to define how metric data gets emitted. See below.
	MetricTransformation []MetricTransformationObservation `json:"metricTransformation,omitempty" tf:"metric_transformation,omitempty"`

	// A valid CloudWatch Logs filter pattern
	// for extracting metric data out of ingested log events.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*MetricFilterObservation) DeepCopy added in v0.20.0

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

func (*MetricFilterObservation) DeepCopyInto added in v0.20.0

func (in *MetricFilterObservation) DeepCopyInto(out *MetricFilterObservation)

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

type MetricFilterParameters added in v0.20.0

type MetricFilterParameters struct {

	// The name of the log group to associate the metric filter with.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group
	// +kubebuilder:validation:Optional
	LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`

	// Reference to a Group in cloudwatchlogs to populate logGroupName.
	// +kubebuilder:validation:Optional
	LogGroupNameRef *v1.Reference `json:"logGroupNameRef,omitempty" tf:"-"`

	// Selector for a Group in cloudwatchlogs to populate logGroupName.
	// +kubebuilder:validation:Optional
	LogGroupNameSelector *v1.Selector `json:"logGroupNameSelector,omitempty" tf:"-"`

	// A block defining collection of information needed to define how metric data gets emitted. See below.
	// +kubebuilder:validation:Optional
	MetricTransformation []MetricTransformationParameters `json:"metricTransformation,omitempty" tf:"metric_transformation,omitempty"`

	// A valid CloudWatch Logs filter pattern
	// for extracting metric data out of ingested log events.
	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

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

func (*MetricFilterParameters) DeepCopy added in v0.20.0

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

func (*MetricFilterParameters) DeepCopyInto added in v0.20.0

func (in *MetricFilterParameters) DeepCopyInto(out *MetricFilterParameters)

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

type MetricFilterSpec added in v0.20.0

type MetricFilterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MetricFilterParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MetricFilterInitParameters `json:"initProvider,omitempty"`
}

MetricFilterSpec defines the desired state of MetricFilter

func (*MetricFilterSpec) DeepCopy added in v0.20.0

func (in *MetricFilterSpec) DeepCopy() *MetricFilterSpec

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

func (*MetricFilterSpec) DeepCopyInto added in v0.20.0

func (in *MetricFilterSpec) DeepCopyInto(out *MetricFilterSpec)

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

type MetricFilterStatus added in v0.20.0

type MetricFilterStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MetricFilterObservation `json:"atProvider,omitempty"`
}

MetricFilterStatus defines the observed state of MetricFilter.

func (*MetricFilterStatus) DeepCopy added in v0.20.0

func (in *MetricFilterStatus) DeepCopy() *MetricFilterStatus

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

func (*MetricFilterStatus) DeepCopyInto added in v0.20.0

func (in *MetricFilterStatus) DeepCopyInto(out *MetricFilterStatus)

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

type MetricTransformationInitParameters added in v0.38.0

type MetricTransformationInitParameters struct {

	// The value to emit when a filter pattern does not match a log event. Conflicts with dimensions.
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"`

	// Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with default_value.
	// +mapType=granular
	Dimensions map[string]*string `json:"dimensions,omitempty" tf:"dimensions,omitempty"`

	// The name of the CloudWatch metric to which the monitored log information should be published (e.g., ErrorCount)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The destination namespace of the CloudWatch metric.
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The unit to assign to the metric. If you omit this, the unit is set as None.
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`

	// What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*MetricTransformationInitParameters) DeepCopy added in v0.38.0

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

func (*MetricTransformationInitParameters) DeepCopyInto added in v0.38.0

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

type MetricTransformationObservation added in v0.20.0

type MetricTransformationObservation struct {

	// The value to emit when a filter pattern does not match a log event. Conflicts with dimensions.
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"`

	// Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with default_value.
	// +mapType=granular
	Dimensions map[string]*string `json:"dimensions,omitempty" tf:"dimensions,omitempty"`

	// The name of the CloudWatch metric to which the monitored log information should be published (e.g., ErrorCount)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The destination namespace of the CloudWatch metric.
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The unit to assign to the metric. If you omit this, the unit is set as None.
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`

	// What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*MetricTransformationObservation) DeepCopy added in v0.20.0

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

func (*MetricTransformationObservation) DeepCopyInto added in v0.20.0

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

type MetricTransformationParameters added in v0.20.0

type MetricTransformationParameters struct {

	// The value to emit when a filter pattern does not match a log event. Conflicts with dimensions.
	// +kubebuilder:validation:Optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"`

	// Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with default_value.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Dimensions map[string]*string `json:"dimensions,omitempty" tf:"dimensions,omitempty"`

	// The name of the CloudWatch metric to which the monitored log information should be published (e.g., ErrorCount)
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// The destination namespace of the CloudWatch metric.
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace" tf:"namespace,omitempty"`

	// The unit to assign to the metric. If you omit this, the unit is set as None.
	// +kubebuilder:validation:Optional
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`

	// What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*MetricTransformationParameters) DeepCopy added in v0.20.0

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

func (*MetricTransformationParameters) DeepCopyInto added in v0.20.0

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

type ResourcePolicy added in v0.20.0

type ResourcePolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyDocument) || (has(self.initProvider) && has(self.initProvider.policyDocument))",message="spec.forProvider.policyDocument is a required parameter"
	Spec   ResourcePolicySpec   `json:"spec"`
	Status ResourcePolicyStatus `json:"status,omitempty"`
}

ResourcePolicy is the Schema for the ResourcePolicys API. Provides a resource to manage a CloudWatch log resource policy +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*ResourcePolicy) DeepCopy added in v0.20.0

func (in *ResourcePolicy) DeepCopy() *ResourcePolicy

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

func (*ResourcePolicy) DeepCopyInto added in v0.20.0

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.20.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.20.0

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

GetCondition of this ResourcePolicy.

func (*ResourcePolicy) GetConnectionDetailsMapping added in v0.20.0

func (tr *ResourcePolicy) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ResourcePolicy

func (*ResourcePolicy) GetDeletionPolicy added in v0.20.0

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

GetDeletionPolicy of this ResourcePolicy.

func (*ResourcePolicy) GetID added in v0.20.0

func (tr *ResourcePolicy) GetID() string

GetID returns ID of underlying Terraform resource of this ResourcePolicy

func (*ResourcePolicy) GetInitParameters added in v0.38.0

func (tr *ResourcePolicy) GetInitParameters() (map[string]any, error)

GetInitParameters of this ResourcePolicy

func (*ResourcePolicy) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this ResourcePolicy.

func (*ResourcePolicy) GetMergedParameters added in v0.44.0

func (tr *ResourcePolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this ResourcePolicy

func (*ResourcePolicy) GetObservation added in v0.20.0

func (tr *ResourcePolicy) GetObservation() (map[string]any, error)

GetObservation of this ResourcePolicy

func (*ResourcePolicy) GetParameters added in v0.20.0

func (tr *ResourcePolicy) GetParameters() (map[string]any, error)

GetParameters of this ResourcePolicy

func (*ResourcePolicy) GetProviderConfigReference added in v0.20.0

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

GetProviderConfigReference of this ResourcePolicy.

func (*ResourcePolicy) GetPublishConnectionDetailsTo added in v0.20.0

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

GetPublishConnectionDetailsTo of this ResourcePolicy.

func (*ResourcePolicy) GetTerraformResourceType added in v0.20.0

func (mg *ResourcePolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourcePolicy

func (*ResourcePolicy) GetTerraformSchemaVersion added in v0.20.0

func (tr *ResourcePolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourcePolicy) GetWriteConnectionSecretToReference added in v0.20.0

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

GetWriteConnectionSecretToReference of this ResourcePolicy.

func (*ResourcePolicy) Hub added in v0.47.2

func (tr *ResourcePolicy) Hub()

Hub marks this type as a conversion hub.

func (*ResourcePolicy) LateInitialize added in v0.20.0

func (tr *ResourcePolicy) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ResourcePolicy using its observed tfState. returns True if there are any spec changes for the resource.

func (*ResourcePolicy) SetConditions added in v0.20.0

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

SetConditions of this ResourcePolicy.

func (*ResourcePolicy) SetDeletionPolicy added in v0.20.0

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

SetDeletionPolicy of this ResourcePolicy.

func (*ResourcePolicy) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this ResourcePolicy.

func (*ResourcePolicy) SetObservation added in v0.20.0

func (tr *ResourcePolicy) SetObservation(obs map[string]any) error

SetObservation for this ResourcePolicy

func (*ResourcePolicy) SetParameters added in v0.20.0

func (tr *ResourcePolicy) SetParameters(params map[string]any) error

SetParameters for this ResourcePolicy

func (*ResourcePolicy) SetProviderConfigReference added in v0.20.0

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

SetProviderConfigReference of this ResourcePolicy.

func (*ResourcePolicy) SetPublishConnectionDetailsTo added in v0.20.0

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

SetPublishConnectionDetailsTo of this ResourcePolicy.

func (*ResourcePolicy) SetWriteConnectionSecretToReference added in v0.20.0

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

SetWriteConnectionSecretToReference of this ResourcePolicy.

type ResourcePolicyInitParameters added in v0.38.0

type ResourcePolicyInitParameters struct {

	// Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters.
	PolicyDocument *string `json:"policyDocument,omitempty" tf:"policy_document,omitempty"`
}

func (*ResourcePolicyInitParameters) DeepCopy added in v0.38.0

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

func (*ResourcePolicyInitParameters) DeepCopyInto added in v0.38.0

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

type ResourcePolicyList added in v0.20.0

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

ResourcePolicyList contains a list of ResourcePolicys

func (*ResourcePolicyList) DeepCopy added in v0.20.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.20.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.20.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.20.0

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

GetItems of this ResourcePolicyList.

type ResourcePolicyObservation added in v0.20.0

type ResourcePolicyObservation struct {

	// The name of the CloudWatch log resource policy
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters.
	PolicyDocument *string `json:"policyDocument,omitempty" tf:"policy_document,omitempty"`
}

func (*ResourcePolicyObservation) DeepCopy added in v0.20.0

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

func (*ResourcePolicyObservation) DeepCopyInto added in v0.20.0

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

type ResourcePolicyParameters added in v0.20.0

type ResourcePolicyParameters struct {

	// Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters.
	// +kubebuilder:validation:Optional
	PolicyDocument *string `json:"policyDocument,omitempty" tf:"policy_document,omitempty"`

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

func (*ResourcePolicyParameters) DeepCopy added in v0.20.0

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

func (*ResourcePolicyParameters) DeepCopyInto added in v0.20.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.20.0

type ResourcePolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResourcePolicyParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ResourcePolicyInitParameters `json:"initProvider,omitempty"`
}

ResourcePolicySpec defines the desired state of ResourcePolicy

func (*ResourcePolicySpec) DeepCopy added in v0.20.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.20.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.20.0

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

ResourcePolicyStatus defines the observed state of ResourcePolicy.

func (*ResourcePolicyStatus) DeepCopy added in v0.20.0

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

func (*ResourcePolicyStatus) DeepCopyInto added in v0.20.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 Stream added in v0.20.0

type Stream struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   StreamSpec   `json:"spec"`
	Status StreamStatus `json:"status,omitempty"`
}

Stream is the Schema for the Streams API. Provides a CloudWatch Log Stream resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Stream) DeepCopy added in v0.20.0

func (in *Stream) DeepCopy() *Stream

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

func (*Stream) DeepCopyInto added in v0.20.0

func (in *Stream) DeepCopyInto(out *Stream)

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

func (*Stream) DeepCopyObject added in v0.20.0

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

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

func (*Stream) GetCondition added in v0.20.0

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

GetCondition of this Stream.

func (*Stream) GetConnectionDetailsMapping added in v0.20.0

func (tr *Stream) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Stream

func (*Stream) GetDeletionPolicy added in v0.20.0

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

GetDeletionPolicy of this Stream.

func (*Stream) GetID added in v0.20.0

func (tr *Stream) GetID() string

GetID returns ID of underlying Terraform resource of this Stream

func (*Stream) GetInitParameters added in v0.38.0

func (tr *Stream) GetInitParameters() (map[string]any, error)

GetInitParameters of this Stream

func (*Stream) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Stream.

func (*Stream) GetMergedParameters added in v0.44.0

func (tr *Stream) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Stream

func (*Stream) GetObservation added in v0.20.0

func (tr *Stream) GetObservation() (map[string]any, error)

GetObservation of this Stream

func (*Stream) GetParameters added in v0.20.0

func (tr *Stream) GetParameters() (map[string]any, error)

GetParameters of this Stream

func (*Stream) GetProviderConfigReference added in v0.20.0

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

GetProviderConfigReference of this Stream.

func (*Stream) GetPublishConnectionDetailsTo added in v0.20.0

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

GetPublishConnectionDetailsTo of this Stream.

func (*Stream) GetTerraformResourceType added in v0.20.0

func (mg *Stream) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Stream

func (*Stream) GetTerraformSchemaVersion added in v0.20.0

func (tr *Stream) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Stream) GetWriteConnectionSecretToReference added in v0.20.0

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

GetWriteConnectionSecretToReference of this Stream.

func (*Stream) Hub added in v0.47.2

func (tr *Stream) Hub()

Hub marks this type as a conversion hub.

func (*Stream) LateInitialize added in v0.20.0

func (tr *Stream) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Stream using its observed tfState. returns True if there are any spec changes for the resource.

func (*Stream) ResolveReferences added in v0.20.0

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

ResolveReferences of this Stream.

func (*Stream) SetConditions added in v0.20.0

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

SetConditions of this Stream.

func (*Stream) SetDeletionPolicy added in v0.20.0

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

SetDeletionPolicy of this Stream.

func (*Stream) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Stream.

func (*Stream) SetObservation added in v0.20.0

func (tr *Stream) SetObservation(obs map[string]any) error

SetObservation for this Stream

func (*Stream) SetParameters added in v0.20.0

func (tr *Stream) SetParameters(params map[string]any) error

SetParameters for this Stream

func (*Stream) SetProviderConfigReference added in v0.20.0

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

SetProviderConfigReference of this Stream.

func (*Stream) SetPublishConnectionDetailsTo added in v0.20.0

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

SetPublishConnectionDetailsTo of this Stream.

func (*Stream) SetWriteConnectionSecretToReference added in v0.20.0

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

SetWriteConnectionSecretToReference of this Stream.

type StreamInitParameters added in v0.38.0

type StreamInitParameters struct {

	// The name of the log group under which the log stream is to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group
	LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`

	// Reference to a Group in cloudwatchlogs to populate logGroupName.
	// +kubebuilder:validation:Optional
	LogGroupNameRef *v1.Reference `json:"logGroupNameRef,omitempty" tf:"-"`

	// Selector for a Group in cloudwatchlogs to populate logGroupName.
	// +kubebuilder:validation:Optional
	LogGroupNameSelector *v1.Selector `json:"logGroupNameSelector,omitempty" tf:"-"`

	// The name of the log stream. Must not be longer than 512 characters and must not contain :
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*StreamInitParameters) DeepCopy added in v0.38.0

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

func (*StreamInitParameters) DeepCopyInto added in v0.38.0

func (in *StreamInitParameters) DeepCopyInto(out *StreamInitParameters)

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

type StreamList added in v0.20.0

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

StreamList contains a list of Streams

func (*StreamList) DeepCopy added in v0.20.0

func (in *StreamList) DeepCopy() *StreamList

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

func (*StreamList) DeepCopyInto added in v0.20.0

func (in *StreamList) DeepCopyInto(out *StreamList)

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

func (*StreamList) DeepCopyObject added in v0.20.0

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

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

func (*StreamList) GetItems added in v0.20.0

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

GetItems of this StreamList.

type StreamObservation added in v0.20.0

type StreamObservation struct {

	// The Amazon Resource Name (ARN) specifying the log stream.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the log group under which the log stream is to be created.
	LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`

	// The name of the log stream. Must not be longer than 512 characters and must not contain :
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*StreamObservation) DeepCopy added in v0.20.0

func (in *StreamObservation) DeepCopy() *StreamObservation

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

func (*StreamObservation) DeepCopyInto added in v0.20.0

func (in *StreamObservation) DeepCopyInto(out *StreamObservation)

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

type StreamParameters added in v0.20.0

type StreamParameters struct {

	// The name of the log group under which the log stream is to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group
	// +kubebuilder:validation:Optional
	LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`

	// Reference to a Group in cloudwatchlogs to populate logGroupName.
	// +kubebuilder:validation:Optional
	LogGroupNameRef *v1.Reference `json:"logGroupNameRef,omitempty" tf:"-"`

	// Selector for a Group in cloudwatchlogs to populate logGroupName.
	// +kubebuilder:validation:Optional
	LogGroupNameSelector *v1.Selector `json:"logGroupNameSelector,omitempty" tf:"-"`

	// The name of the log stream. Must not be longer than 512 characters and must not contain :
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

func (*StreamParameters) DeepCopy added in v0.20.0

func (in *StreamParameters) DeepCopy() *StreamParameters

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

func (*StreamParameters) DeepCopyInto added in v0.20.0

func (in *StreamParameters) DeepCopyInto(out *StreamParameters)

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

type StreamSpec added in v0.20.0

type StreamSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StreamParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider StreamInitParameters `json:"initProvider,omitempty"`
}

StreamSpec defines the desired state of Stream

func (*StreamSpec) DeepCopy added in v0.20.0

func (in *StreamSpec) DeepCopy() *StreamSpec

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

func (*StreamSpec) DeepCopyInto added in v0.20.0

func (in *StreamSpec) DeepCopyInto(out *StreamSpec)

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

type StreamStatus added in v0.20.0

type StreamStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        StreamObservation `json:"atProvider,omitempty"`
}

StreamStatus defines the observed state of Stream.

func (*StreamStatus) DeepCopy added in v0.20.0

func (in *StreamStatus) DeepCopy() *StreamStatus

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

func (*StreamStatus) DeepCopyInto added in v0.20.0

func (in *StreamStatus) DeepCopyInto(out *StreamStatus)

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

type SubscriptionFilter added in v0.24.0

type SubscriptionFilter struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filterPattern) || (has(self.initProvider) && has(self.initProvider.filterPattern))",message="spec.forProvider.filterPattern is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.logGroupName) || (has(self.initProvider) && has(self.initProvider.logGroupName))",message="spec.forProvider.logGroupName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   SubscriptionFilterSpec   `json:"spec"`
	Status SubscriptionFilterStatus `json:"status,omitempty"`
}

SubscriptionFilter is the Schema for the SubscriptionFilters API. Provides a CloudWatch Logs subscription filter. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*SubscriptionFilter) DeepCopy added in v0.24.0

func (in *SubscriptionFilter) DeepCopy() *SubscriptionFilter

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

func (*SubscriptionFilter) DeepCopyInto added in v0.24.0

func (in *SubscriptionFilter) DeepCopyInto(out *SubscriptionFilter)

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

func (*SubscriptionFilter) DeepCopyObject added in v0.24.0

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

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

func (*SubscriptionFilter) GetCondition added in v0.24.0

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

GetCondition of this SubscriptionFilter.

func (*SubscriptionFilter) GetConnectionDetailsMapping added in v0.24.0

func (tr *SubscriptionFilter) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SubscriptionFilter

func (*SubscriptionFilter) GetDeletionPolicy added in v0.24.0

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

GetDeletionPolicy of this SubscriptionFilter.

func (*SubscriptionFilter) GetID added in v0.24.0

func (tr *SubscriptionFilter) GetID() string

GetID returns ID of underlying Terraform resource of this SubscriptionFilter

func (*SubscriptionFilter) GetInitParameters added in v0.38.0

func (tr *SubscriptionFilter) GetInitParameters() (map[string]any, error)

GetInitParameters of this SubscriptionFilter

func (*SubscriptionFilter) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this SubscriptionFilter.

func (*SubscriptionFilter) GetMergedParameters added in v0.44.0

func (tr *SubscriptionFilter) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this SubscriptionFilter

func (*SubscriptionFilter) GetObservation added in v0.24.0

func (tr *SubscriptionFilter) GetObservation() (map[string]any, error)

GetObservation of this SubscriptionFilter

func (*SubscriptionFilter) GetParameters added in v0.24.0

func (tr *SubscriptionFilter) GetParameters() (map[string]any, error)

GetParameters of this SubscriptionFilter

func (*SubscriptionFilter) GetProviderConfigReference added in v0.24.0

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

GetProviderConfigReference of this SubscriptionFilter.

func (*SubscriptionFilter) GetPublishConnectionDetailsTo added in v0.24.0

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

GetPublishConnectionDetailsTo of this SubscriptionFilter.

func (*SubscriptionFilter) GetTerraformResourceType added in v0.24.0

func (mg *SubscriptionFilter) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SubscriptionFilter

func (*SubscriptionFilter) GetTerraformSchemaVersion added in v0.24.0

func (tr *SubscriptionFilter) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SubscriptionFilter) GetWriteConnectionSecretToReference added in v0.24.0

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

GetWriteConnectionSecretToReference of this SubscriptionFilter.

func (*SubscriptionFilter) Hub added in v0.47.2

func (tr *SubscriptionFilter) Hub()

Hub marks this type as a conversion hub.

func (*SubscriptionFilter) LateInitialize added in v0.24.0

func (tr *SubscriptionFilter) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SubscriptionFilter using its observed tfState. returns True if there are any spec changes for the resource.

func (*SubscriptionFilter) ResolveReferences added in v0.24.0

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

ResolveReferences of this SubscriptionFilter.

func (*SubscriptionFilter) SetConditions added in v0.24.0

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

SetConditions of this SubscriptionFilter.

func (*SubscriptionFilter) SetDeletionPolicy added in v0.24.0

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

SetDeletionPolicy of this SubscriptionFilter.

func (*SubscriptionFilter) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this SubscriptionFilter.

func (*SubscriptionFilter) SetObservation added in v0.24.0

func (tr *SubscriptionFilter) SetObservation(obs map[string]any) error

SetObservation for this SubscriptionFilter

func (*SubscriptionFilter) SetParameters added in v0.24.0

func (tr *SubscriptionFilter) SetParameters(params map[string]any) error

SetParameters for this SubscriptionFilter

func (*SubscriptionFilter) SetProviderConfigReference added in v0.24.0

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

SetProviderConfigReference of this SubscriptionFilter.

func (*SubscriptionFilter) SetPublishConnectionDetailsTo added in v0.24.0

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

SetPublishConnectionDetailsTo of this SubscriptionFilter.

func (*SubscriptionFilter) SetWriteConnectionSecretToReference added in v0.24.0

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

SetWriteConnectionSecretToReference of this SubscriptionFilter.

type SubscriptionFilterInitParameters added in v0.38.0

type SubscriptionFilterInitParameters struct {

	// The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`

	// Reference to a Stream in kinesis to populate destinationArn.
	// +kubebuilder:validation:Optional
	DestinationArnRef *v1.Reference `json:"destinationArnRef,omitempty" tf:"-"`

	// Selector for a Stream in kinesis to populate destinationArn.
	// +kubebuilder:validation:Optional
	DestinationArnSelector *v1.Selector `json:"destinationArnSelector,omitempty" tf:"-"`

	// The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
	Distribution *string `json:"distribution,omitempty" tf:"distribution,omitempty"`

	// A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string "" to match everything. For more information, see the Amazon CloudWatch Logs User Guide.
	FilterPattern *string `json:"filterPattern,omitempty" tf:"filter_pattern,omitempty"`

	// The name of the log group to associate the subscription filter with
	LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`

	// A name for the subscription filter
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use aws_lambda_permission resource for granting access from CloudWatch logs to the destination Lambda function.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Reference to a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`
}

func (*SubscriptionFilterInitParameters) DeepCopy added in v0.38.0

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

func (*SubscriptionFilterInitParameters) DeepCopyInto added in v0.38.0

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

type SubscriptionFilterList added in v0.24.0

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

SubscriptionFilterList contains a list of SubscriptionFilters

func (*SubscriptionFilterList) DeepCopy added in v0.24.0

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

func (*SubscriptionFilterList) DeepCopyInto added in v0.24.0

func (in *SubscriptionFilterList) DeepCopyInto(out *SubscriptionFilterList)

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

func (*SubscriptionFilterList) DeepCopyObject added in v0.24.0

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

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

func (*SubscriptionFilterList) GetItems added in v0.24.0

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

GetItems of this SubscriptionFilterList.

type SubscriptionFilterObservation added in v0.24.0

type SubscriptionFilterObservation struct {

	// The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`

	// The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
	Distribution *string `json:"distribution,omitempty" tf:"distribution,omitempty"`

	// A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string "" to match everything. For more information, see the Amazon CloudWatch Logs User Guide.
	FilterPattern *string `json:"filterPattern,omitempty" tf:"filter_pattern,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the log group to associate the subscription filter with
	LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`

	// A name for the subscription filter
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use aws_lambda_permission resource for granting access from CloudWatch logs to the destination Lambda function.
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
}

func (*SubscriptionFilterObservation) DeepCopy added in v0.24.0

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

func (*SubscriptionFilterObservation) DeepCopyInto added in v0.24.0

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

type SubscriptionFilterParameters added in v0.24.0

type SubscriptionFilterParameters struct {

	// The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kinesis/v1beta1.Stream
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	// +kubebuilder:validation:Optional
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`

	// Reference to a Stream in kinesis to populate destinationArn.
	// +kubebuilder:validation:Optional
	DestinationArnRef *v1.Reference `json:"destinationArnRef,omitempty" tf:"-"`

	// Selector for a Stream in kinesis to populate destinationArn.
	// +kubebuilder:validation:Optional
	DestinationArnSelector *v1.Selector `json:"destinationArnSelector,omitempty" tf:"-"`

	// The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
	// +kubebuilder:validation:Optional
	Distribution *string `json:"distribution,omitempty" tf:"distribution,omitempty"`

	// A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string "" to match everything. For more information, see the Amazon CloudWatch Logs User Guide.
	// +kubebuilder:validation:Optional
	FilterPattern *string `json:"filterPattern,omitempty" tf:"filter_pattern,omitempty"`

	// The name of the log group to associate the subscription filter with
	// +kubebuilder:validation:Optional
	LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`

	// A name for the subscription filter
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// 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:"-"`

	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use aws_lambda_permission resource for granting access from CloudWatch logs to the destination Lambda function.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Reference to a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`
}

func (*SubscriptionFilterParameters) DeepCopy added in v0.24.0

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

func (*SubscriptionFilterParameters) DeepCopyInto added in v0.24.0

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

type SubscriptionFilterSpec added in v0.24.0

type SubscriptionFilterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SubscriptionFilterParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SubscriptionFilterInitParameters `json:"initProvider,omitempty"`
}

SubscriptionFilterSpec defines the desired state of SubscriptionFilter

func (*SubscriptionFilterSpec) DeepCopy added in v0.24.0

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

func (*SubscriptionFilterSpec) DeepCopyInto added in v0.24.0

func (in *SubscriptionFilterSpec) DeepCopyInto(out *SubscriptionFilterSpec)

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

type SubscriptionFilterStatus added in v0.24.0

type SubscriptionFilterStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SubscriptionFilterObservation `json:"atProvider,omitempty"`
}

SubscriptionFilterStatus defines the observed state of SubscriptionFilter.

func (*SubscriptionFilterStatus) DeepCopy added in v0.24.0

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

func (*SubscriptionFilterStatus) DeepCopyInto added in v0.24.0

func (in *SubscriptionFilterStatus) DeepCopyInto(out *SubscriptionFilterStatus)

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