v1beta1

package
v0.21.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CompositeAlarm_Kind             = "CompositeAlarm"
	CompositeAlarm_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CompositeAlarm_Kind}.String()
	CompositeAlarm_KindAPIVersion   = CompositeAlarm_Kind + "." + CRDGroupVersion.String()
	CompositeAlarm_GroupVersionKind = CRDGroupVersion.WithKind(CompositeAlarm_Kind)
)

Repository type metadata.

View Source
var (
	Dashboard_Kind             = "Dashboard"
	Dashboard_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Dashboard_Kind}.String()
	Dashboard_KindAPIVersion   = Dashboard_Kind + "." + CRDGroupVersion.String()
	Dashboard_GroupVersionKind = CRDGroupVersion.WithKind(Dashboard_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 (
	MetricAlarm_Kind             = "MetricAlarm"
	MetricAlarm_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MetricAlarm_Kind}.String()
	MetricAlarm_KindAPIVersion   = MetricAlarm_Kind + "." + CRDGroupVersion.String()
	MetricAlarm_GroupVersionKind = CRDGroupVersion.WithKind(MetricAlarm_Kind)
)

Repository type metadata.

View Source
var (
	MetricStream_Kind             = "MetricStream"
	MetricStream_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MetricStream_Kind}.String()
	MetricStream_KindAPIVersion   = MetricStream_Kind + "." + CRDGroupVersion.String()
	MetricStream_GroupVersionKind = CRDGroupVersion.WithKind(MetricStream_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type CompositeAlarm

type CompositeAlarm struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CompositeAlarmSpec   `json:"spec"`
	Status            CompositeAlarmStatus `json:"status,omitempty"`
}

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

func (*CompositeAlarm) DeepCopy

func (in *CompositeAlarm) DeepCopy() *CompositeAlarm

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

func (*CompositeAlarm) DeepCopyInto

func (in *CompositeAlarm) DeepCopyInto(out *CompositeAlarm)

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

func (*CompositeAlarm) DeepCopyObject

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

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

func (*CompositeAlarm) GetCondition

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

GetCondition of this CompositeAlarm.

func (*CompositeAlarm) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CompositeAlarm

func (*CompositeAlarm) GetDeletionPolicy

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

GetDeletionPolicy of this CompositeAlarm.

func (*CompositeAlarm) GetID

func (tr *CompositeAlarm) GetID() string

GetID returns ID of underlying Terraform resource of this CompositeAlarm

func (*CompositeAlarm) GetObservation

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

GetObservation of this CompositeAlarm

func (*CompositeAlarm) GetParameters

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

GetParameters of this CompositeAlarm

func (*CompositeAlarm) GetProviderConfigReference

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

GetProviderConfigReference of this CompositeAlarm.

func (*CompositeAlarm) GetProviderReference

func (mg *CompositeAlarm) GetProviderReference() *xpv1.Reference

GetProviderReference of this CompositeAlarm. Deprecated: Use GetProviderConfigReference.

func (*CompositeAlarm) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CompositeAlarm.

func (*CompositeAlarm) GetTerraformResourceType

func (mg *CompositeAlarm) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CompositeAlarm

func (*CompositeAlarm) GetTerraformSchemaVersion

func (tr *CompositeAlarm) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CompositeAlarm) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CompositeAlarm.

func (*CompositeAlarm) LateInitialize

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

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

func (*CompositeAlarm) ResolveReferences

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

ResolveReferences of this CompositeAlarm.

func (*CompositeAlarm) SetConditions

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

SetConditions of this CompositeAlarm.

func (*CompositeAlarm) SetDeletionPolicy

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

SetDeletionPolicy of this CompositeAlarm.

func (*CompositeAlarm) SetObservation

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

SetObservation for this CompositeAlarm

func (*CompositeAlarm) SetParameters

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

SetParameters for this CompositeAlarm

func (*CompositeAlarm) SetProviderConfigReference

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

SetProviderConfigReference of this CompositeAlarm.

func (*CompositeAlarm) SetProviderReference

func (mg *CompositeAlarm) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this CompositeAlarm. Deprecated: Use SetProviderConfigReference.

func (*CompositeAlarm) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CompositeAlarm.

func (*CompositeAlarm) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CompositeAlarm.

type CompositeAlarmList

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

CompositeAlarmList contains a list of CompositeAlarms

func (*CompositeAlarmList) DeepCopy

func (in *CompositeAlarmList) DeepCopy() *CompositeAlarmList

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

func (*CompositeAlarmList) DeepCopyInto

func (in *CompositeAlarmList) DeepCopyInto(out *CompositeAlarmList)

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

func (*CompositeAlarmList) DeepCopyObject

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

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

func (*CompositeAlarmList) GetItems

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

GetItems of this CompositeAlarmList.

type CompositeAlarmObservation

type CompositeAlarmObservation struct {

	// The ARN of the composite alarm.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The ID of the composite alarm resource, which is equivalent to its alarm_name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

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

func (*CompositeAlarmObservation) DeepCopy

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

func (*CompositeAlarmObservation) DeepCopyInto

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

type CompositeAlarmParameters

type CompositeAlarmParameters struct {

	// Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. Defaults to true.
	// +kubebuilder:validation:Optional
	ActionsEnabled *bool `json:"actionsEnabled,omitempty" tf:"actions_enabled,omitempty"`

	// The set of actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	AlarmActions []*string `json:"alarmActions,omitempty" tf:"alarm_actions,omitempty"`

	// References to Topic in sns to populate alarmActions.
	// +kubebuilder:validation:Optional
	AlarmActionsRefs []v1.Reference `json:"alarmActionsRefs,omitempty" tf:"-"`

	// Selector for a list of Topic in sns to populate alarmActions.
	// +kubebuilder:validation:Optional
	AlarmActionsSelector *v1.Selector `json:"alarmActionsSelector,omitempty" tf:"-"`

	// The description for the composite alarm.
	// +kubebuilder:validation:Optional
	AlarmDescription *string `json:"alarmDescription,omitempty" tf:"alarm_description,omitempty"`

	// An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For syntax, see Creating a Composite Alarm. The maximum length is 10240 characters.
	// +kubebuilder:validation:Required
	AlarmRule *string `json:"alarmRule" tf:"alarm_rule,omitempty"`

	// The set of actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	// +kubebuilder:validation:Optional
	InsufficientDataActions []*string `json:"insufficientDataActions,omitempty" tf:"insufficient_data_actions,omitempty"`

	// The set of actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	OkActions []*string `json:"okActions,omitempty" tf:"ok_actions,omitempty"`

	// References to Topic in sns to populate okActions.
	// +kubebuilder:validation:Optional
	OkActionsRefs []v1.Reference `json:"okActionsRefs,omitempty" tf:"-"`

	// Selector for a list of Topic in sns to populate okActions.
	// +kubebuilder:validation:Optional
	OkActionsSelector *v1.Selector `json:"okActionsSelector,omitempty" tf:"-"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

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

func (*CompositeAlarmParameters) DeepCopy

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

func (*CompositeAlarmParameters) DeepCopyInto

func (in *CompositeAlarmParameters) DeepCopyInto(out *CompositeAlarmParameters)

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

type CompositeAlarmSpec

type CompositeAlarmSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CompositeAlarmParameters `json:"forProvider"`
}

CompositeAlarmSpec defines the desired state of CompositeAlarm

func (*CompositeAlarmSpec) DeepCopy

func (in *CompositeAlarmSpec) DeepCopy() *CompositeAlarmSpec

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

func (*CompositeAlarmSpec) DeepCopyInto

func (in *CompositeAlarmSpec) DeepCopyInto(out *CompositeAlarmSpec)

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

type CompositeAlarmStatus

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

CompositeAlarmStatus defines the observed state of CompositeAlarm.

func (*CompositeAlarmStatus) DeepCopy

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

func (*CompositeAlarmStatus) DeepCopyInto

func (in *CompositeAlarmStatus) DeepCopyInto(out *CompositeAlarmStatus)

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

type Dashboard

type Dashboard struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DashboardSpec   `json:"spec"`
	Status            DashboardStatus `json:"status,omitempty"`
}

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

func (*Dashboard) DeepCopy

func (in *Dashboard) DeepCopy() *Dashboard

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

func (*Dashboard) DeepCopyInto

func (in *Dashboard) DeepCopyInto(out *Dashboard)

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

func (*Dashboard) DeepCopyObject

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

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

func (*Dashboard) GetCondition

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

GetCondition of this Dashboard.

func (*Dashboard) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Dashboard

func (*Dashboard) GetDeletionPolicy

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

GetDeletionPolicy of this Dashboard.

func (*Dashboard) GetID

func (tr *Dashboard) GetID() string

GetID returns ID of underlying Terraform resource of this Dashboard

func (*Dashboard) GetObservation

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

GetObservation of this Dashboard

func (*Dashboard) GetParameters

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

GetParameters of this Dashboard

func (*Dashboard) GetProviderConfigReference

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

GetProviderConfigReference of this Dashboard.

func (*Dashboard) GetProviderReference

func (mg *Dashboard) GetProviderReference() *xpv1.Reference

GetProviderReference of this Dashboard. Deprecated: Use GetProviderConfigReference.

func (*Dashboard) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Dashboard.

func (*Dashboard) GetTerraformResourceType

func (mg *Dashboard) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Dashboard

func (*Dashboard) GetTerraformSchemaVersion

func (tr *Dashboard) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Dashboard) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Dashboard.

func (*Dashboard) LateInitialize

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

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

func (*Dashboard) SetConditions

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

SetConditions of this Dashboard.

func (*Dashboard) SetDeletionPolicy

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

SetDeletionPolicy of this Dashboard.

func (*Dashboard) SetObservation

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

SetObservation for this Dashboard

func (*Dashboard) SetParameters

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

SetParameters for this Dashboard

func (*Dashboard) SetProviderConfigReference

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

SetProviderConfigReference of this Dashboard.

func (*Dashboard) SetProviderReference

func (mg *Dashboard) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Dashboard. Deprecated: Use SetProviderConfigReference.

func (*Dashboard) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Dashboard.

func (*Dashboard) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Dashboard.

type DashboardList

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

DashboardList contains a list of Dashboards

func (*DashboardList) DeepCopy

func (in *DashboardList) DeepCopy() *DashboardList

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

func (*DashboardList) DeepCopyInto

func (in *DashboardList) DeepCopyInto(out *DashboardList)

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

func (*DashboardList) DeepCopyObject

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

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

func (*DashboardList) GetItems

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

GetItems of this DashboardList.

type DashboardObservation

type DashboardObservation struct {

	// The Amazon Resource Name (ARN) of the dashboard.
	DashboardArn *string `json:"dashboardArn,omitempty" tf:"dashboard_arn,omitempty"`

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

func (*DashboardObservation) DeepCopy

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

func (*DashboardObservation) DeepCopyInto

func (in *DashboardObservation) DeepCopyInto(out *DashboardObservation)

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

type DashboardParameters

type DashboardParameters struct {

	// The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the documentation.
	// +kubebuilder:validation:Required
	DashboardBody *string `json:"dashboardBody" tf:"dashboard_body,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 (*DashboardParameters) DeepCopy

func (in *DashboardParameters) DeepCopy() *DashboardParameters

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

func (*DashboardParameters) DeepCopyInto

func (in *DashboardParameters) DeepCopyInto(out *DashboardParameters)

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

type DashboardSpec

type DashboardSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DashboardParameters `json:"forProvider"`
}

DashboardSpec defines the desired state of Dashboard

func (*DashboardSpec) DeepCopy

func (in *DashboardSpec) DeepCopy() *DashboardSpec

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

func (*DashboardSpec) DeepCopyInto

func (in *DashboardSpec) DeepCopyInto(out *DashboardSpec)

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

type DashboardStatus

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

DashboardStatus defines the observed state of Dashboard.

func (*DashboardStatus) DeepCopy

func (in *DashboardStatus) DeepCopy() *DashboardStatus

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

func (*DashboardStatus) DeepCopyInto

func (in *DashboardStatus) DeepCopyInto(out *DashboardStatus)

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

type ExcludeFilterObservation

type ExcludeFilterObservation struct {
}

func (*ExcludeFilterObservation) DeepCopy

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

func (*ExcludeFilterObservation) DeepCopyInto

func (in *ExcludeFilterObservation) DeepCopyInto(out *ExcludeFilterObservation)

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

type ExcludeFilterParameters

type ExcludeFilterParameters struct {

	// Name of the metric namespace in the filter.
	// +kubebuilder:validation:Required
	Namespace *string `json:"namespace" tf:"namespace,omitempty"`
}

func (*ExcludeFilterParameters) DeepCopy

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

func (*ExcludeFilterParameters) DeepCopyInto

func (in *ExcludeFilterParameters) DeepCopyInto(out *ExcludeFilterParameters)

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

type IncludeFilterObservation

type IncludeFilterObservation struct {
}

func (*IncludeFilterObservation) DeepCopy

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

func (*IncludeFilterObservation) DeepCopyInto

func (in *IncludeFilterObservation) DeepCopyInto(out *IncludeFilterObservation)

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

type IncludeFilterParameters

type IncludeFilterParameters struct {

	// Name of the metric namespace in the filter.
	// +kubebuilder:validation:Required
	Namespace *string `json:"namespace" tf:"namespace,omitempty"`
}

func (*IncludeFilterParameters) DeepCopy

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

func (*IncludeFilterParameters) DeepCopyInto

func (in *IncludeFilterParameters) DeepCopyInto(out *IncludeFilterParameters)

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

type MetricAlarm

type MetricAlarm struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MetricAlarmSpec   `json:"spec"`
	Status            MetricAlarmStatus `json:"status,omitempty"`
}

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

func (*MetricAlarm) DeepCopy

func (in *MetricAlarm) DeepCopy() *MetricAlarm

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

func (*MetricAlarm) DeepCopyInto

func (in *MetricAlarm) DeepCopyInto(out *MetricAlarm)

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

func (*MetricAlarm) DeepCopyObject

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

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

func (*MetricAlarm) GetCondition

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

GetCondition of this MetricAlarm.

func (*MetricAlarm) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MetricAlarm

func (*MetricAlarm) GetDeletionPolicy

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

GetDeletionPolicy of this MetricAlarm.

func (*MetricAlarm) GetID

func (tr *MetricAlarm) GetID() string

GetID returns ID of underlying Terraform resource of this MetricAlarm

func (*MetricAlarm) GetObservation

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

GetObservation of this MetricAlarm

func (*MetricAlarm) GetParameters

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

GetParameters of this MetricAlarm

func (*MetricAlarm) GetProviderConfigReference

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

GetProviderConfigReference of this MetricAlarm.

func (*MetricAlarm) GetProviderReference

func (mg *MetricAlarm) GetProviderReference() *xpv1.Reference

GetProviderReference of this MetricAlarm. Deprecated: Use GetProviderConfigReference.

func (*MetricAlarm) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MetricAlarm.

func (*MetricAlarm) GetTerraformResourceType

func (mg *MetricAlarm) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MetricAlarm

func (*MetricAlarm) GetTerraformSchemaVersion

func (tr *MetricAlarm) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MetricAlarm) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MetricAlarm.

func (*MetricAlarm) LateInitialize

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

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

func (*MetricAlarm) SetConditions

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

SetConditions of this MetricAlarm.

func (*MetricAlarm) SetDeletionPolicy

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

SetDeletionPolicy of this MetricAlarm.

func (*MetricAlarm) SetObservation

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

SetObservation for this MetricAlarm

func (*MetricAlarm) SetParameters

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

SetParameters for this MetricAlarm

func (*MetricAlarm) SetProviderConfigReference

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

SetProviderConfigReference of this MetricAlarm.

func (*MetricAlarm) SetProviderReference

func (mg *MetricAlarm) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this MetricAlarm. Deprecated: Use SetProviderConfigReference.

func (*MetricAlarm) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MetricAlarm.

func (*MetricAlarm) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MetricAlarm.

type MetricAlarmList

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

MetricAlarmList contains a list of MetricAlarms

func (*MetricAlarmList) DeepCopy

func (in *MetricAlarmList) DeepCopy() *MetricAlarmList

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

func (*MetricAlarmList) DeepCopyInto

func (in *MetricAlarmList) DeepCopyInto(out *MetricAlarmList)

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

func (*MetricAlarmList) DeepCopyObject

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

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

func (*MetricAlarmList) GetItems

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

GetItems of this MetricAlarmList.

type MetricAlarmObservation

type MetricAlarmObservation struct {

	// The ARN of the CloudWatch Metric Alarm.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The ID of the health check.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

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

func (*MetricAlarmObservation) DeepCopy

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

func (*MetricAlarmObservation) DeepCopyInto

func (in *MetricAlarmObservation) DeepCopyInto(out *MetricAlarmObservation)

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

type MetricAlarmParameters

type MetricAlarmParameters struct {

	// Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to true.
	// +kubebuilder:validation:Optional
	ActionsEnabled *bool `json:"actionsEnabled,omitempty" tf:"actions_enabled,omitempty"`

	// The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	// +kubebuilder:validation:Optional
	AlarmActions []*string `json:"alarmActions,omitempty" tf:"alarm_actions,omitempty"`

	// The description for the alarm.
	// +kubebuilder:validation:Optional
	AlarmDescription *string `json:"alarmDescription,omitempty" tf:"alarm_description,omitempty"`

	// The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold. Additionally, the values  LessThanLowerOrGreaterThanUpperThreshold, LessThanLowerThreshold, and GreaterThanUpperThreshold are used only for alarms based on anomaly detection models.
	// +kubebuilder:validation:Required
	ComparisonOperator *string `json:"comparisonOperator" tf:"comparison_operator,omitempty"`

	// The number of datapoints that must be breaching to trigger the alarm.
	// +kubebuilder:validation:Optional
	DatapointsToAlarm *float64 `json:"datapointsToAlarm,omitempty" tf:"datapoints_to_alarm,omitempty"`

	// The dimensions for the alarm's associated metric.  For the list of available dimensions see the AWS documentation here.
	// +kubebuilder:validation:Optional
	Dimensions map[string]*string `json:"dimensions,omitempty" tf:"dimensions,omitempty"`

	// Used only for alarms
	// based on percentiles. If you specify ignore, the alarm state will not
	// change during periods with too few data points to be statistically significant.
	// If you specify evaluate or omit this parameter, the alarm will always be
	// evaluated and possibly change state no matter how many data points are available.
	// The following values are supported: ignore, and evaluate.
	// +kubebuilder:validation:Optional
	EvaluateLowSampleCountPercentiles *string `json:"evaluateLowSampleCountPercentiles,omitempty" tf:"evaluate_low_sample_count_percentiles,omitempty"`

	// The number of periods over which data is compared to the specified threshold.
	// +kubebuilder:validation:Required
	EvaluationPeriods *float64 `json:"evaluationPeriods" tf:"evaluation_periods,omitempty"`

	// The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.
	// +kubebuilder:validation:Optional
	ExtendedStatistic *string `json:"extendedStatistic,omitempty" tf:"extended_statistic,omitempty"`

	// The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	// +kubebuilder:validation:Optional
	InsufficientDataActions []*string `json:"insufficientDataActions,omitempty" tf:"insufficient_data_actions,omitempty"`

	// The name for the alarm's associated metric.
	// See docs for supported metrics.
	// +kubebuilder:validation:Optional
	MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"`

	// Enables you to create an alarm based on a metric math expression. You may specify at most 20.
	// +kubebuilder:validation:Optional
	MetricQuery []MetricQueryParameters `json:"metricQuery,omitempty" tf:"metric_query,omitempty"`

	// The namespace for the alarm's associated metric. See docs for the list of namespaces.
	// See docs for supported metrics.
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	// +kubebuilder:validation:Optional
	OkActions []*string `json:"okActions,omitempty" tf:"ok_actions,omitempty"`

	// The period in seconds over which the specified statistic is applied.
	// +kubebuilder:validation:Optional
	Period *float64 `json:"period,omitempty" tf:"period,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 statistic to apply to the alarm's associated metric.
	// Either of the following is supported: SampleCount, Average, Sum, Minimum, Maximum
	// +kubebuilder:validation:Optional
	Statistic *string `json:"statistic,omitempty" tf:"statistic,omitempty"`

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

	// The value against which the specified statistic is compared. This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models.
	// +kubebuilder:validation:Optional
	Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"`

	// If this is an alarm based on an anomaly detection model, make this value match the ID of the ANOMALY_DETECTION_BAND function.
	// +kubebuilder:validation:Optional
	ThresholdMetricID *string `json:"thresholdMetricId,omitempty" tf:"threshold_metric_id,omitempty"`

	// Sets how this alarm is to handle missing data points. The following values are supported: missing, ignore, breaching and notBreaching. Defaults to missing.
	// +kubebuilder:validation:Optional
	TreatMissingData *string `json:"treatMissingData,omitempty" tf:"treat_missing_data,omitempty"`

	// The unit for the alarm's associated metric.
	// +kubebuilder:validation:Optional
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`
}

func (*MetricAlarmParameters) DeepCopy

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

func (*MetricAlarmParameters) DeepCopyInto

func (in *MetricAlarmParameters) DeepCopyInto(out *MetricAlarmParameters)

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

type MetricAlarmSpec

type MetricAlarmSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MetricAlarmParameters `json:"forProvider"`
}

MetricAlarmSpec defines the desired state of MetricAlarm

func (*MetricAlarmSpec) DeepCopy

func (in *MetricAlarmSpec) DeepCopy() *MetricAlarmSpec

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

func (*MetricAlarmSpec) DeepCopyInto

func (in *MetricAlarmSpec) DeepCopyInto(out *MetricAlarmSpec)

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

type MetricAlarmStatus

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

MetricAlarmStatus defines the observed state of MetricAlarm.

func (*MetricAlarmStatus) DeepCopy

func (in *MetricAlarmStatus) DeepCopy() *MetricAlarmStatus

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

func (*MetricAlarmStatus) DeepCopyInto

func (in *MetricAlarmStatus) DeepCopyInto(out *MetricAlarmStatus)

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

type MetricObservation

type MetricObservation struct {
}

func (*MetricObservation) DeepCopy

func (in *MetricObservation) DeepCopy() *MetricObservation

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

func (*MetricObservation) DeepCopyInto

func (in *MetricObservation) DeepCopyInto(out *MetricObservation)

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

type MetricParameters

type MetricParameters struct {

	// The dimensions for this metric.  For the list of available dimensions see the AWS documentation here.
	// +kubebuilder:validation:Optional
	Dimensions map[string]*string `json:"dimensions,omitempty" tf:"dimensions,omitempty"`

	// The name for this metric.
	// See docs for supported metrics.
	// +kubebuilder:validation:Required
	MetricName *string `json:"metricName" tf:"metric_name,omitempty"`

	// The namespace for this metric. See docs for the list of namespaces.
	// See docs for supported metrics.
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The period in seconds over which the specified stat is applied.
	// +kubebuilder:validation:Required
	Period *float64 `json:"period" tf:"period,omitempty"`

	// The statistic to apply to this metric.
	// See docs for supported statistics.
	// +kubebuilder:validation:Required
	Stat *string `json:"stat" tf:"stat,omitempty"`

	// The unit for this metric.
	// +kubebuilder:validation:Optional
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`
}

func (*MetricParameters) DeepCopy

func (in *MetricParameters) DeepCopy() *MetricParameters

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

func (*MetricParameters) DeepCopyInto

func (in *MetricParameters) DeepCopyInto(out *MetricParameters)

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

type MetricQueryObservation

type MetricQueryObservation struct {
}

func (*MetricQueryObservation) DeepCopy

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

func (*MetricQueryObservation) DeepCopyInto

func (in *MetricQueryObservation) DeepCopyInto(out *MetricQueryObservation)

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

type MetricQueryParameters

type MetricQueryParameters struct {

	// The ID of the account where the metrics are located, if this is a cross-account alarm.
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the id of the other metrics to refer to those metrics, and can also use the id of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide.
	// +kubebuilder:validation:Optional
	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	// A short name used to tie this object to the results in the response. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
	// +kubebuilder:validation:Required
	ID *string `json:"id" tf:"id,omitempty"`

	// A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.
	// +kubebuilder:validation:Optional
	Metric []MetricParameters `json:"metric,omitempty" tf:"metric,omitempty"`

	// Specify exactly one metric_query to be true to use that metric_query result as the alarm.
	// +kubebuilder:validation:Optional
	ReturnData *bool `json:"returnData,omitempty" tf:"return_data,omitempty"`
}

func (*MetricQueryParameters) DeepCopy

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

func (*MetricQueryParameters) DeepCopyInto

func (in *MetricQueryParameters) DeepCopyInto(out *MetricQueryParameters)

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

type MetricStream

type MetricStream struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MetricStreamSpec   `json:"spec"`
	Status            MetricStreamStatus `json:"status,omitempty"`
}

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

func (*MetricStream) DeepCopy

func (in *MetricStream) DeepCopy() *MetricStream

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

func (*MetricStream) DeepCopyInto

func (in *MetricStream) DeepCopyInto(out *MetricStream)

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

func (*MetricStream) DeepCopyObject

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

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

func (*MetricStream) GetCondition

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

GetCondition of this MetricStream.

func (*MetricStream) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MetricStream

func (*MetricStream) GetDeletionPolicy

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

GetDeletionPolicy of this MetricStream.

func (*MetricStream) GetID

func (tr *MetricStream) GetID() string

GetID returns ID of underlying Terraform resource of this MetricStream

func (*MetricStream) GetObservation

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

GetObservation of this MetricStream

func (*MetricStream) GetParameters

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

GetParameters of this MetricStream

func (*MetricStream) GetProviderConfigReference

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

GetProviderConfigReference of this MetricStream.

func (*MetricStream) GetProviderReference

func (mg *MetricStream) GetProviderReference() *xpv1.Reference

GetProviderReference of this MetricStream. Deprecated: Use GetProviderConfigReference.

func (*MetricStream) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MetricStream.

func (*MetricStream) GetTerraformResourceType

func (mg *MetricStream) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MetricStream

func (*MetricStream) GetTerraformSchemaVersion

func (tr *MetricStream) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MetricStream) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MetricStream.

func (*MetricStream) LateInitialize

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

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

func (*MetricStream) ResolveReferences

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

ResolveReferences of this MetricStream.

func (*MetricStream) SetConditions

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

SetConditions of this MetricStream.

func (*MetricStream) SetDeletionPolicy

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

SetDeletionPolicy of this MetricStream.

func (*MetricStream) SetObservation

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

SetObservation for this MetricStream

func (*MetricStream) SetParameters

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

SetParameters for this MetricStream

func (*MetricStream) SetProviderConfigReference

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

SetProviderConfigReference of this MetricStream.

func (*MetricStream) SetProviderReference

func (mg *MetricStream) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this MetricStream. Deprecated: Use SetProviderConfigReference.

func (*MetricStream) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MetricStream.

func (*MetricStream) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MetricStream.

type MetricStreamList

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

MetricStreamList contains a list of MetricStreams

func (*MetricStreamList) DeepCopy

func (in *MetricStreamList) DeepCopy() *MetricStreamList

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

func (*MetricStreamList) DeepCopyInto

func (in *MetricStreamList) DeepCopyInto(out *MetricStreamList)

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

func (*MetricStreamList) DeepCopyObject

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

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

func (*MetricStreamList) GetItems

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

GetItems of this MetricStreamList.

type MetricStreamObservation

type MetricStreamObservation struct {

	// ARN of the metric stream.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Date and time in RFC3339 format that the metric stream was created.
	CreationDate *string `json:"creationDate,omitempty" tf:"creation_date,omitempty"`

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

	// Date and time in RFC3339 format that the metric stream was last updated.
	LastUpdateDate *string `json:"lastUpdateDate,omitempty" tf:"last_update_date,omitempty"`

	// State of the metric stream. Possible values are running and stopped.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

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

func (*MetricStreamObservation) DeepCopy

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

func (*MetricStreamObservation) DeepCopyInto

func (in *MetricStreamObservation) DeepCopyInto(out *MetricStreamObservation)

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

type MetricStreamParameters

type MetricStreamParameters struct {

	// List of exclusive metric filters. If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here. Conflicts with include_filter.
	// +kubebuilder:validation:Optional
	ExcludeFilter []ExcludeFilterParameters `json:"excludeFilter,omitempty" tf:"exclude_filter,omitempty"`

	// ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/firehose/v1beta1.DeliveryStream
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",false)
	// +kubebuilder:validation:Optional
	FirehoseArn *string `json:"firehoseArn,omitempty" tf:"firehose_arn,omitempty"`

	// Reference to a DeliveryStream in firehose to populate firehoseArn.
	// +kubebuilder:validation:Optional
	FirehoseArnRef *v1.Reference `json:"firehoseArnRef,omitempty" tf:"-"`

	// Selector for a DeliveryStream in firehose to populate firehoseArn.
	// +kubebuilder:validation:Optional
	FirehoseArnSelector *v1.Selector `json:"firehoseArnSelector,omitempty" tf:"-"`

	// List of inclusive metric filters. If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here. Conflicts with exclude_filter.
	// +kubebuilder:validation:Optional
	IncludeFilter []IncludeFilterParameters `json:"includeFilter,omitempty" tf:"include_filter,omitempty"`

	// Friendly name of the metric stream. Conflicts with name_prefix.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Output format for the stream. Possible values are json and opentelemetry0.7. For more information about output formats, see Metric streams output formats.
	// +kubebuilder:validation:Required
	OutputFormat *string `json:"outputFormat" tf:"output_format,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:"-"`

	// ARN of the IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. For more information about role permissions, see Trust between CloudWatch and Kinesis Data Firehose.
	// +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
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*MetricStreamParameters) DeepCopy

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

func (*MetricStreamParameters) DeepCopyInto

func (in *MetricStreamParameters) DeepCopyInto(out *MetricStreamParameters)

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

type MetricStreamSpec

type MetricStreamSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MetricStreamParameters `json:"forProvider"`
}

MetricStreamSpec defines the desired state of MetricStream

func (*MetricStreamSpec) DeepCopy

func (in *MetricStreamSpec) DeepCopy() *MetricStreamSpec

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

func (*MetricStreamSpec) DeepCopyInto

func (in *MetricStreamSpec) DeepCopyInto(out *MetricStreamSpec)

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

type MetricStreamStatus

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

MetricStreamStatus defines the observed state of MetricStream.

func (*MetricStreamStatus) DeepCopy

func (in *MetricStreamStatus) DeepCopy() *MetricStreamStatus

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

func (*MetricStreamStatus) DeepCopyInto

func (in *MetricStreamStatus) DeepCopyInto(out *MetricStreamStatus)

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