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: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	AppMonitor_Kind             = "AppMonitor"
	AppMonitor_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AppMonitor_Kind}.String()
	AppMonitor_KindAPIVersion   = AppMonitor_Kind + "." + CRDGroupVersion.String()
	AppMonitor_GroupVersionKind = CRDGroupVersion.WithKind(AppMonitor_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 (
	MetricsDestination_Kind             = "MetricsDestination"
	MetricsDestination_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MetricsDestination_Kind}.String()
	MetricsDestination_KindAPIVersion   = MetricsDestination_Kind + "." + CRDGroupVersion.String()
	MetricsDestination_GroupVersionKind = CRDGroupVersion.WithKind(MetricsDestination_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AppMonitor

type AppMonitor 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.domain) || (has(self.initProvider) && has(self.initProvider.domain))",message="spec.forProvider.domain is a required parameter"
	Spec   AppMonitorSpec   `json:"spec"`
	Status AppMonitorStatus `json:"status,omitempty"`
}

AppMonitor is the Schema for the AppMonitors API. Provides a CloudWatch RUM App Monitor 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 (*AppMonitor) DeepCopy

func (in *AppMonitor) DeepCopy() *AppMonitor

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

func (*AppMonitor) DeepCopyInto

func (in *AppMonitor) DeepCopyInto(out *AppMonitor)

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

func (*AppMonitor) DeepCopyObject

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

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

func (*AppMonitor) GetCondition

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

GetCondition of this AppMonitor.

func (*AppMonitor) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AppMonitor

func (*AppMonitor) GetDeletionPolicy

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

GetDeletionPolicy of this AppMonitor.

func (*AppMonitor) GetID

func (tr *AppMonitor) GetID() string

GetID returns ID of underlying Terraform resource of this AppMonitor

func (*AppMonitor) GetInitParameters added in v0.38.0

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

GetInitParameters of this AppMonitor

func (*AppMonitor) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this AppMonitor.

func (*AppMonitor) GetMergedParameters added in v0.44.0

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

GetInitParameters of this AppMonitor

func (*AppMonitor) GetObservation

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

GetObservation of this AppMonitor

func (*AppMonitor) GetParameters

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

GetParameters of this AppMonitor

func (*AppMonitor) GetProviderConfigReference

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

GetProviderConfigReference of this AppMonitor.

func (*AppMonitor) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AppMonitor.

func (*AppMonitor) GetTerraformResourceType

func (mg *AppMonitor) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AppMonitor

func (*AppMonitor) GetTerraformSchemaVersion

func (tr *AppMonitor) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AppMonitor) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AppMonitor.

func (*AppMonitor) Hub added in v0.47.2

func (tr *AppMonitor) Hub()

Hub marks this type as a conversion hub.

func (*AppMonitor) LateInitialize

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

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

func (*AppMonitor) SetConditions

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

SetConditions of this AppMonitor.

func (*AppMonitor) SetDeletionPolicy

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

SetDeletionPolicy of this AppMonitor.

func (*AppMonitor) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this AppMonitor.

func (*AppMonitor) SetObservation

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

SetObservation for this AppMonitor

func (*AppMonitor) SetParameters

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

SetParameters for this AppMonitor

func (*AppMonitor) SetProviderConfigReference

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

SetProviderConfigReference of this AppMonitor.

func (*AppMonitor) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AppMonitor.

func (*AppMonitor) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AppMonitor.

type AppMonitorConfigurationInitParameters added in v0.38.0

type AppMonitorConfigurationInitParameters struct {

	// If you set this to true, RUM web client sets two cookies, a session cookie  and a user cookie. The cookies allow the RUM web client to collect data relating to the number of users an application has and the behavior of the application across a sequence of events. Cookies are stored in the top-level domain of the current page.
	AllowCookies *bool `json:"allowCookies,omitempty" tf:"allow_cookies,omitempty"`

	// If you set this to true, RUM enables X-Ray tracing for the user sessions  that RUM samples. RUM adds an X-Ray trace header to allowed HTTP requests. It also records an X-Ray segment for allowed HTTP requests.
	EnableXray *bool `json:"enableXray,omitempty" tf:"enable_xray,omitempty"`

	// A list of URLs in your website or application to exclude from RUM data collection.
	// +listType=set
	ExcludedPages []*string `json:"excludedPages,omitempty" tf:"excluded_pages,omitempty"`

	// A list of pages in the CloudWatch RUM console that are to be displayed with a "favorite" icon.
	// +listType=set
	FavoritePages []*string `json:"favoritePages,omitempty" tf:"favorite_pages,omitempty"`

	// The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
	GuestRoleArn *string `json:"guestRoleArn,omitempty" tf:"guest_role_arn,omitempty"`

	// The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
	IdentityPoolID *string `json:"identityPoolId,omitempty" tf:"identity_pool_id,omitempty"`

	// If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.
	// +listType=set
	IncludedPages []*string `json:"includedPages,omitempty" tf:"included_pages,omitempty"`

	// Specifies the percentage of user sessions to use for RUM data collection. Choosing a higher percentage gives you more data but also incurs more costs. The number you specify is the percentage of user sessions that will be used. Default value is 0.1.
	SessionSampleRate *float64 `json:"sessionSampleRate,omitempty" tf:"session_sample_rate,omitempty"`

	// An array that lists the types of telemetry data that this app monitor is to collect. Valid values are errors, performance, and http.
	// +listType=set
	Telemetries []*string `json:"telemetries,omitempty" tf:"telemetries,omitempty"`
}

func (*AppMonitorConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*AppMonitorConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type AppMonitorConfigurationObservation

type AppMonitorConfigurationObservation struct {

	// If you set this to true, RUM web client sets two cookies, a session cookie  and a user cookie. The cookies allow the RUM web client to collect data relating to the number of users an application has and the behavior of the application across a sequence of events. Cookies are stored in the top-level domain of the current page.
	AllowCookies *bool `json:"allowCookies,omitempty" tf:"allow_cookies,omitempty"`

	// If you set this to true, RUM enables X-Ray tracing for the user sessions  that RUM samples. RUM adds an X-Ray trace header to allowed HTTP requests. It also records an X-Ray segment for allowed HTTP requests.
	EnableXray *bool `json:"enableXray,omitempty" tf:"enable_xray,omitempty"`

	// A list of URLs in your website or application to exclude from RUM data collection.
	// +listType=set
	ExcludedPages []*string `json:"excludedPages,omitempty" tf:"excluded_pages,omitempty"`

	// A list of pages in the CloudWatch RUM console that are to be displayed with a "favorite" icon.
	// +listType=set
	FavoritePages []*string `json:"favoritePages,omitempty" tf:"favorite_pages,omitempty"`

	// The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
	GuestRoleArn *string `json:"guestRoleArn,omitempty" tf:"guest_role_arn,omitempty"`

	// The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
	IdentityPoolID *string `json:"identityPoolId,omitempty" tf:"identity_pool_id,omitempty"`

	// If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.
	// +listType=set
	IncludedPages []*string `json:"includedPages,omitempty" tf:"included_pages,omitempty"`

	// Specifies the percentage of user sessions to use for RUM data collection. Choosing a higher percentage gives you more data but also incurs more costs. The number you specify is the percentage of user sessions that will be used. Default value is 0.1.
	SessionSampleRate *float64 `json:"sessionSampleRate,omitempty" tf:"session_sample_rate,omitempty"`

	// An array that lists the types of telemetry data that this app monitor is to collect. Valid values are errors, performance, and http.
	// +listType=set
	Telemetries []*string `json:"telemetries,omitempty" tf:"telemetries,omitempty"`
}

func (*AppMonitorConfigurationObservation) DeepCopy

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

func (*AppMonitorConfigurationObservation) DeepCopyInto

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

type AppMonitorConfigurationParameters

type AppMonitorConfigurationParameters struct {

	// If you set this to true, RUM web client sets two cookies, a session cookie  and a user cookie. The cookies allow the RUM web client to collect data relating to the number of users an application has and the behavior of the application across a sequence of events. Cookies are stored in the top-level domain of the current page.
	// +kubebuilder:validation:Optional
	AllowCookies *bool `json:"allowCookies,omitempty" tf:"allow_cookies,omitempty"`

	// If you set this to true, RUM enables X-Ray tracing for the user sessions  that RUM samples. RUM adds an X-Ray trace header to allowed HTTP requests. It also records an X-Ray segment for allowed HTTP requests.
	// +kubebuilder:validation:Optional
	EnableXray *bool `json:"enableXray,omitempty" tf:"enable_xray,omitempty"`

	// A list of URLs in your website or application to exclude from RUM data collection.
	// +kubebuilder:validation:Optional
	// +listType=set
	ExcludedPages []*string `json:"excludedPages,omitempty" tf:"excluded_pages,omitempty"`

	// A list of pages in the CloudWatch RUM console that are to be displayed with a "favorite" icon.
	// +kubebuilder:validation:Optional
	// +listType=set
	FavoritePages []*string `json:"favoritePages,omitempty" tf:"favorite_pages,omitempty"`

	// The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
	// +kubebuilder:validation:Optional
	GuestRoleArn *string `json:"guestRoleArn,omitempty" tf:"guest_role_arn,omitempty"`

	// The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
	// +kubebuilder:validation:Optional
	IdentityPoolID *string `json:"identityPoolId,omitempty" tf:"identity_pool_id,omitempty"`

	// If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.
	// +kubebuilder:validation:Optional
	// +listType=set
	IncludedPages []*string `json:"includedPages,omitempty" tf:"included_pages,omitempty"`

	// Specifies the percentage of user sessions to use for RUM data collection. Choosing a higher percentage gives you more data but also incurs more costs. The number you specify is the percentage of user sessions that will be used. Default value is 0.1.
	// +kubebuilder:validation:Optional
	SessionSampleRate *float64 `json:"sessionSampleRate,omitempty" tf:"session_sample_rate,omitempty"`

	// An array that lists the types of telemetry data that this app monitor is to collect. Valid values are errors, performance, and http.
	// +kubebuilder:validation:Optional
	// +listType=set
	Telemetries []*string `json:"telemetries,omitempty" tf:"telemetries,omitempty"`
}

func (*AppMonitorConfigurationParameters) DeepCopy

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

func (*AppMonitorConfigurationParameters) DeepCopyInto

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

type AppMonitorInitParameters added in v0.38.0

type AppMonitorInitParameters struct {

	// configuration data for the app monitor. See app_monitor_configuration below.
	AppMonitorConfiguration []AppMonitorConfigurationInitParameters `json:"appMonitorConfiguration,omitempty" tf:"app_monitor_configuration,omitempty"`

	// Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are DISABLED. See custom_events below.
	CustomEvents []CustomEventsInitParameters `json:"customEvents,omitempty" tf:"custom_events,omitempty"`

	// Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter  specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges. Default value is false.
	CwLogEnabled *bool `json:"cwLogEnabled,omitempty" tf:"cw_log_enabled,omitempty"`

	// The top-level internet domain name for which your application has administrative authority.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

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

func (*AppMonitorInitParameters) DeepCopy added in v0.38.0

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

func (*AppMonitorInitParameters) DeepCopyInto added in v0.38.0

func (in *AppMonitorInitParameters) DeepCopyInto(out *AppMonitorInitParameters)

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

type AppMonitorList

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

AppMonitorList contains a list of AppMonitors

func (*AppMonitorList) DeepCopy

func (in *AppMonitorList) DeepCopy() *AppMonitorList

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

func (*AppMonitorList) DeepCopyInto

func (in *AppMonitorList) DeepCopyInto(out *AppMonitorList)

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

func (*AppMonitorList) DeepCopyObject

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

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

func (*AppMonitorList) GetItems

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

GetItems of this AppMonitorList.

type AppMonitorObservation

type AppMonitorObservation struct {

	// configuration data for the app monitor. See app_monitor_configuration below.
	AppMonitorConfiguration []AppMonitorConfigurationObservation `json:"appMonitorConfiguration,omitempty" tf:"app_monitor_configuration,omitempty"`

	// The unique ID of the app monitor. Useful for JS templates.
	AppMonitorID *string `json:"appMonitorId,omitempty" tf:"app_monitor_id,omitempty"`

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

	// Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are DISABLED. See custom_events below.
	CustomEvents []CustomEventsObservation `json:"customEvents,omitempty" tf:"custom_events,omitempty"`

	// Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter  specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges. Default value is false.
	CwLogEnabled *bool `json:"cwLogEnabled,omitempty" tf:"cw_log_enabled,omitempty"`

	// The name of the log group where the copies are stored.
	CwLogGroup *string `json:"cwLogGroup,omitempty" tf:"cw_log_group,omitempty"`

	// The top-level internet domain name for which your application has administrative authority.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The CloudWatch RUM name as it is the identifier of a RUM.
	ID *string `json:"id,omitempty" tf:"id,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 (*AppMonitorObservation) DeepCopy

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

func (*AppMonitorObservation) DeepCopyInto

func (in *AppMonitorObservation) DeepCopyInto(out *AppMonitorObservation)

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

type AppMonitorParameters

type AppMonitorParameters struct {

	// configuration data for the app monitor. See app_monitor_configuration below.
	// +kubebuilder:validation:Optional
	AppMonitorConfiguration []AppMonitorConfigurationParameters `json:"appMonitorConfiguration,omitempty" tf:"app_monitor_configuration,omitempty"`

	// Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are DISABLED. See custom_events below.
	// +kubebuilder:validation:Optional
	CustomEvents []CustomEventsParameters `json:"customEvents,omitempty" tf:"custom_events,omitempty"`

	// Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter  specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges. Default value is false.
	// +kubebuilder:validation:Optional
	CwLogEnabled *bool `json:"cwLogEnabled,omitempty" tf:"cw_log_enabled,omitempty"`

	// The top-level internet domain name for which your application has administrative authority.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain,omitempty" tf:"domain,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:"-"`

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

func (*AppMonitorParameters) DeepCopy

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

func (*AppMonitorParameters) DeepCopyInto

func (in *AppMonitorParameters) DeepCopyInto(out *AppMonitorParameters)

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

type AppMonitorSpec

type AppMonitorSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AppMonitorParameters `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 AppMonitorInitParameters `json:"initProvider,omitempty"`
}

AppMonitorSpec defines the desired state of AppMonitor

func (*AppMonitorSpec) DeepCopy

func (in *AppMonitorSpec) DeepCopy() *AppMonitorSpec

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

func (*AppMonitorSpec) DeepCopyInto

func (in *AppMonitorSpec) DeepCopyInto(out *AppMonitorSpec)

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

type AppMonitorStatus

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

AppMonitorStatus defines the observed state of AppMonitor.

func (*AppMonitorStatus) DeepCopy

func (in *AppMonitorStatus) DeepCopy() *AppMonitorStatus

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

func (*AppMonitorStatus) DeepCopyInto

func (in *AppMonitorStatus) DeepCopyInto(out *AppMonitorStatus)

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

type CustomEventsInitParameters added in v0.38.0

type CustomEventsInitParameters struct {

	// Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be DISABLED. Valid values are DISABLED and ENABLED.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*CustomEventsInitParameters) DeepCopy added in v0.38.0

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

func (*CustomEventsInitParameters) DeepCopyInto added in v0.38.0

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

type CustomEventsObservation

type CustomEventsObservation struct {

	// Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be DISABLED. Valid values are DISABLED and ENABLED.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*CustomEventsObservation) DeepCopy

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

func (*CustomEventsObservation) DeepCopyInto

func (in *CustomEventsObservation) DeepCopyInto(out *CustomEventsObservation)

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

type CustomEventsParameters

type CustomEventsParameters struct {

	// Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be DISABLED. Valid values are DISABLED and ENABLED.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*CustomEventsParameters) DeepCopy

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

func (*CustomEventsParameters) DeepCopyInto

func (in *CustomEventsParameters) DeepCopyInto(out *CustomEventsParameters)

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

type MetricsDestination

type MetricsDestination 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.destination) || (has(self.initProvider) && has(self.initProvider.destination))",message="spec.forProvider.destination is a required parameter"
	Spec   MetricsDestinationSpec   `json:"spec"`
	Status MetricsDestinationStatus `json:"status,omitempty"`
}

MetricsDestination is the Schema for the MetricsDestinations API. Provides a CloudWatch RUM Metrics Destination 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 (*MetricsDestination) DeepCopy

func (in *MetricsDestination) DeepCopy() *MetricsDestination

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

func (*MetricsDestination) DeepCopyInto

func (in *MetricsDestination) DeepCopyInto(out *MetricsDestination)

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

func (*MetricsDestination) DeepCopyObject

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

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

func (*MetricsDestination) GetCondition

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

GetCondition of this MetricsDestination.

func (*MetricsDestination) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MetricsDestination

func (*MetricsDestination) GetDeletionPolicy

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

GetDeletionPolicy of this MetricsDestination.

func (*MetricsDestination) GetID

func (tr *MetricsDestination) GetID() string

GetID returns ID of underlying Terraform resource of this MetricsDestination

func (*MetricsDestination) GetInitParameters added in v0.38.0

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

GetInitParameters of this MetricsDestination

func (*MetricsDestination) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this MetricsDestination.

func (*MetricsDestination) GetMergedParameters added in v0.44.0

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

GetInitParameters of this MetricsDestination

func (*MetricsDestination) GetObservation

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

GetObservation of this MetricsDestination

func (*MetricsDestination) GetParameters

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

GetParameters of this MetricsDestination

func (*MetricsDestination) GetProviderConfigReference

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

GetProviderConfigReference of this MetricsDestination.

func (*MetricsDestination) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MetricsDestination.

func (*MetricsDestination) GetTerraformResourceType

func (mg *MetricsDestination) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MetricsDestination

func (*MetricsDestination) GetTerraformSchemaVersion

func (tr *MetricsDestination) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MetricsDestination) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MetricsDestination.

func (*MetricsDestination) Hub added in v0.47.2

func (tr *MetricsDestination) Hub()

Hub marks this type as a conversion hub.

func (*MetricsDestination) LateInitialize

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

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

func (*MetricsDestination) ResolveReferences

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

func (*MetricsDestination) SetConditions

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

SetConditions of this MetricsDestination.

func (*MetricsDestination) SetDeletionPolicy

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

SetDeletionPolicy of this MetricsDestination.

func (*MetricsDestination) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this MetricsDestination.

func (*MetricsDestination) SetObservation

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

SetObservation for this MetricsDestination

func (*MetricsDestination) SetParameters

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

SetParameters for this MetricsDestination

func (*MetricsDestination) SetProviderConfigReference

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

SetProviderConfigReference of this MetricsDestination.

func (*MetricsDestination) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MetricsDestination.

func (*MetricsDestination) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MetricsDestination.

type MetricsDestinationInitParameters added in v0.38.0

type MetricsDestinationInitParameters struct {

	// The name of the CloudWatch RUM app monitor that will send the metrics.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rum/v1beta1.AppMonitor
	AppMonitorName *string `json:"appMonitorName,omitempty" tf:"app_monitor_name,omitempty"`

	// Reference to a AppMonitor in rum to populate appMonitorName.
	// +kubebuilder:validation:Optional
	AppMonitorNameRef *v1.Reference `json:"appMonitorNameRef,omitempty" tf:"-"`

	// Selector for a AppMonitor in rum to populate appMonitorName.
	// +kubebuilder:validation:Optional
	AppMonitorNameSelector *v1.Selector `json:"appMonitorNameSelector,omitempty" tf:"-"`

	// Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`

	// Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`

	// This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
	// +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()
	IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"`

	// Reference to a Role in iam to populate iamRoleArn.
	// +kubebuilder:validation:Optional
	IAMRoleArnRef *v1.Reference `json:"iamRoleArnRef,omitempty" tf:"-"`

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

func (*MetricsDestinationInitParameters) DeepCopy added in v0.38.0

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

func (*MetricsDestinationInitParameters) DeepCopyInto added in v0.38.0

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

type MetricsDestinationList

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

MetricsDestinationList contains a list of MetricsDestinations

func (*MetricsDestinationList) DeepCopy

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

func (*MetricsDestinationList) DeepCopyInto

func (in *MetricsDestinationList) DeepCopyInto(out *MetricsDestinationList)

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

func (*MetricsDestinationList) DeepCopyObject

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

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

func (*MetricsDestinationList) GetItems

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

GetItems of this MetricsDestinationList.

type MetricsDestinationObservation

type MetricsDestinationObservation struct {

	// The name of the CloudWatch RUM app monitor that will send the metrics.
	AppMonitorName *string `json:"appMonitorName,omitempty" tf:"app_monitor_name,omitempty"`

	// Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`

	// Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`

	// This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
	IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"`

	// The name of the CloudWatch RUM app monitor that will send the metrics.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*MetricsDestinationObservation) DeepCopy

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

func (*MetricsDestinationObservation) DeepCopyInto

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

type MetricsDestinationParameters

type MetricsDestinationParameters struct {

	// The name of the CloudWatch RUM app monitor that will send the metrics.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rum/v1beta1.AppMonitor
	// +kubebuilder:validation:Optional
	AppMonitorName *string `json:"appMonitorName,omitempty" tf:"app_monitor_name,omitempty"`

	// Reference to a AppMonitor in rum to populate appMonitorName.
	// +kubebuilder:validation:Optional
	AppMonitorNameRef *v1.Reference `json:"appMonitorNameRef,omitempty" tf:"-"`

	// Selector for a AppMonitor in rum to populate appMonitorName.
	// +kubebuilder:validation:Optional
	AppMonitorNameSelector *v1.Selector `json:"appMonitorNameSelector,omitempty" tf:"-"`

	// Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
	// +kubebuilder:validation:Optional
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`

	// Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
	// +kubebuilder:validation:Optional
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`

	// This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
	// +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
	IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"`

	// Reference to a Role in iam to populate iamRoleArn.
	// +kubebuilder:validation:Optional
	IAMRoleArnRef *v1.Reference `json:"iamRoleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate iamRoleArn.
	// +kubebuilder:validation:Optional
	IAMRoleArnSelector *v1.Selector `json:"iamRoleArnSelector,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:"-"`
}

func (*MetricsDestinationParameters) DeepCopy

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

func (*MetricsDestinationParameters) DeepCopyInto

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

type MetricsDestinationSpec

type MetricsDestinationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MetricsDestinationParameters `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 MetricsDestinationInitParameters `json:"initProvider,omitempty"`
}

MetricsDestinationSpec defines the desired state of MetricsDestination

func (*MetricsDestinationSpec) DeepCopy

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

func (*MetricsDestinationSpec) DeepCopyInto

func (in *MetricsDestinationSpec) DeepCopyInto(out *MetricsDestinationSpec)

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

type MetricsDestinationStatus

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

MetricsDestinationStatus defines the observed state of MetricsDestination.

func (*MetricsDestinationStatus) DeepCopy

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

func (*MetricsDestinationStatus) DeepCopyInto

func (in *MetricsDestinationStatus) DeepCopyInto(out *MetricsDestinationStatus)

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