v1beta1

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	EncryptionConfig_Kind             = "EncryptionConfig"
	EncryptionConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EncryptionConfig_Kind}.String()
	EncryptionConfig_KindAPIVersion   = EncryptionConfig_Kind + "." + CRDGroupVersion.String()
	EncryptionConfig_GroupVersionKind = CRDGroupVersion.WithKind(EncryptionConfig_Kind)
)

Repository type metadata.

View Source
var (
	Group_Kind             = "Group"
	Group_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Group_Kind}.String()
	Group_KindAPIVersion   = Group_Kind + "." + CRDGroupVersion.String()
	Group_GroupVersionKind = CRDGroupVersion.WithKind(Group_Kind)
)

Repository type metadata.

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

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	SamplingRule_Kind             = "SamplingRule"
	SamplingRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SamplingRule_Kind}.String()
	SamplingRule_KindAPIVersion   = SamplingRule_Kind + "." + CRDGroupVersion.String()
	SamplingRule_GroupVersionKind = CRDGroupVersion.WithKind(SamplingRule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type EncryptionConfig

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

EncryptionConfig is the Schema for the EncryptionConfigs API. Creates and manages an AWS XRay Encryption Config. +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 (*EncryptionConfig) DeepCopy

func (in *EncryptionConfig) DeepCopy() *EncryptionConfig

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

func (*EncryptionConfig) DeepCopyInto

func (in *EncryptionConfig) DeepCopyInto(out *EncryptionConfig)

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

func (*EncryptionConfig) DeepCopyObject

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

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

func (*EncryptionConfig) GetCondition

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

GetCondition of this EncryptionConfig.

func (*EncryptionConfig) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this EncryptionConfig

func (*EncryptionConfig) GetDeletionPolicy

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

GetDeletionPolicy of this EncryptionConfig.

func (*EncryptionConfig) GetID

func (tr *EncryptionConfig) GetID() string

GetID returns ID of underlying Terraform resource of this EncryptionConfig

func (*EncryptionConfig) GetInitParameters added in v0.38.0

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

GetInitParameters of this EncryptionConfig

func (*EncryptionConfig) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this EncryptionConfig.

func (*EncryptionConfig) GetObservation

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

GetObservation of this EncryptionConfig

func (*EncryptionConfig) GetParameters

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

GetParameters of this EncryptionConfig

func (*EncryptionConfig) GetProviderConfigReference

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

GetProviderConfigReference of this EncryptionConfig.

func (*EncryptionConfig) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this EncryptionConfig.

func (*EncryptionConfig) GetTerraformResourceType

func (mg *EncryptionConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EncryptionConfig

func (*EncryptionConfig) GetTerraformSchemaVersion

func (tr *EncryptionConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EncryptionConfig) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EncryptionConfig.

func (*EncryptionConfig) LateInitialize

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

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

func (*EncryptionConfig) ResolveReferences

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

ResolveReferences of this EncryptionConfig.

func (*EncryptionConfig) SetConditions

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

SetConditions of this EncryptionConfig.

func (*EncryptionConfig) SetDeletionPolicy

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

SetDeletionPolicy of this EncryptionConfig.

func (*EncryptionConfig) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this EncryptionConfig.

func (*EncryptionConfig) SetObservation

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

SetObservation for this EncryptionConfig

func (*EncryptionConfig) SetParameters

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

SetParameters for this EncryptionConfig

func (*EncryptionConfig) SetProviderConfigReference

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

SetProviderConfigReference of this EncryptionConfig.

func (*EncryptionConfig) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EncryptionConfig.

func (*EncryptionConfig) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this EncryptionConfig.

type EncryptionConfigInitParameters added in v0.38.0

type EncryptionConfigInitParameters struct {

	// The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EncryptionConfigInitParameters) DeepCopy added in v0.38.0

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

func (*EncryptionConfigInitParameters) DeepCopyInto added in v0.38.0

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

type EncryptionConfigList

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

EncryptionConfigList contains a list of EncryptionConfigs

func (*EncryptionConfigList) DeepCopy

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

func (*EncryptionConfigList) DeepCopyInto

func (in *EncryptionConfigList) DeepCopyInto(out *EncryptionConfigList)

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

func (*EncryptionConfigList) DeepCopyObject

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

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

func (*EncryptionConfigList) GetItems

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

GetItems of this EncryptionConfigList.

type EncryptionConfigObservation

type EncryptionConfigObservation struct {

	// Region name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An AWS KMS customer master key (CMK) ARN.
	KeyID *string `json:"keyId,omitempty" tf:"key_id,omitempty"`

	// The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EncryptionConfigObservation) DeepCopy

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

func (*EncryptionConfigObservation) DeepCopyInto

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

type EncryptionConfigParameters

type EncryptionConfigParameters struct {

	// An AWS KMS customer master key (CMK) ARN.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	KeyID *string `json:"keyId,omitempty" tf:"key_id,omitempty"`

	// Reference to a Key in kms to populate keyId.
	// +kubebuilder:validation:Optional
	KeyIDRef *v1.Reference `json:"keyIdRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate keyId.
	// +kubebuilder:validation:Optional
	KeyIDSelector *v1.Selector `json:"keyIdSelector,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:"-"`

	// The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EncryptionConfigParameters) DeepCopy

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

func (*EncryptionConfigParameters) DeepCopyInto

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

type EncryptionConfigSpec

type EncryptionConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EncryptionConfigParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 EncryptionConfigInitParameters `json:"initProvider,omitempty"`
}

EncryptionConfigSpec defines the desired state of EncryptionConfig

func (*EncryptionConfigSpec) DeepCopy

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

func (*EncryptionConfigSpec) DeepCopyInto

func (in *EncryptionConfigSpec) DeepCopyInto(out *EncryptionConfigSpec)

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

type EncryptionConfigStatus

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

EncryptionConfigStatus defines the observed state of EncryptionConfig.

func (*EncryptionConfigStatus) DeepCopy

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

func (*EncryptionConfigStatus) DeepCopyInto

func (in *EncryptionConfigStatus) DeepCopyInto(out *EncryptionConfigStatus)

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

type Group

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

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

func (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

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

func (*Group) DeepCopyInto

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

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

func (*Group) DeepCopyObject

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

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

func (*Group) GetCondition

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

GetCondition of this Group.

func (*Group) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Group

func (*Group) GetDeletionPolicy

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

GetDeletionPolicy of this Group.

func (*Group) GetID

func (tr *Group) GetID() string

GetID returns ID of underlying Terraform resource of this Group

func (*Group) GetInitParameters added in v0.38.0

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

GetInitParameters of this Group

func (*Group) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Group.

func (*Group) GetObservation

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

GetObservation of this Group

func (*Group) GetParameters

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

GetParameters of this Group

func (*Group) GetProviderConfigReference

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

GetProviderConfigReference of this Group.

func (*Group) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Group.

func (*Group) GetTerraformResourceType

func (mg *Group) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Group

func (*Group) GetTerraformSchemaVersion

func (tr *Group) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Group) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Group.

func (*Group) LateInitialize

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

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

func (*Group) SetConditions

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

SetConditions of this Group.

func (*Group) SetDeletionPolicy

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

SetDeletionPolicy of this Group.

func (*Group) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Group.

func (*Group) SetObservation

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

SetObservation for this Group

func (*Group) SetParameters

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

SetParameters for this Group

func (*Group) SetProviderConfigReference

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

SetProviderConfigReference of this Group.

func (*Group) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Group.

func (*Group) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Group.

type GroupInitParameters added in v0.38.0

type GroupInitParameters struct {

	// The filter expression defining criteria by which to group traces. more info can be found in official docs.
	FilterExpression *string `json:"filterExpression,omitempty" tf:"filter_expression,omitempty"`

	// The name of the group.
	GroupName *string `json:"groupName,omitempty" tf:"group_name,omitempty"`

	// Configuration options for enabling insights.
	InsightsConfiguration []InsightsConfigurationInitParameters `json:"insightsConfiguration,omitempty" tf:"insights_configuration,omitempty"`

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

func (*GroupInitParameters) DeepCopy added in v0.38.0

func (in *GroupInitParameters) DeepCopy() *GroupInitParameters

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

func (*GroupInitParameters) DeepCopyInto added in v0.38.0

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

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

type GroupList

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

GroupList contains a list of Groups

func (*GroupList) DeepCopy

func (in *GroupList) DeepCopy() *GroupList

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

func (*GroupList) DeepCopyInto

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

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

func (*GroupList) DeepCopyObject

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

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

func (*GroupList) GetItems

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

GetItems of this GroupList.

type GroupObservation

type GroupObservation struct {

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

	// The filter expression defining criteria by which to group traces. more info can be found in official docs.
	FilterExpression *string `json:"filterExpression,omitempty" tf:"filter_expression,omitempty"`

	// The name of the group.
	GroupName *string `json:"groupName,omitempty" tf:"group_name,omitempty"`

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

	// Configuration options for enabling insights.
	InsightsConfiguration []InsightsConfigurationObservation `json:"insightsConfiguration,omitempty" tf:"insights_configuration,omitempty"`

	// Key-value map of resource tags.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*GroupObservation) DeepCopy

func (in *GroupObservation) DeepCopy() *GroupObservation

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

func (*GroupObservation) DeepCopyInto

func (in *GroupObservation) DeepCopyInto(out *GroupObservation)

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

type GroupParameters

type GroupParameters struct {

	// The filter expression defining criteria by which to group traces. more info can be found in official docs.
	// +kubebuilder:validation:Optional
	FilterExpression *string `json:"filterExpression,omitempty" tf:"filter_expression,omitempty"`

	// The name of the group.
	// +kubebuilder:validation:Optional
	GroupName *string `json:"groupName,omitempty" tf:"group_name,omitempty"`

	// Configuration options for enabling insights.
	// +kubebuilder:validation:Optional
	InsightsConfiguration []InsightsConfigurationParameters `json:"insightsConfiguration,omitempty" tf:"insights_configuration,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
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*GroupParameters) DeepCopy

func (in *GroupParameters) DeepCopy() *GroupParameters

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

func (*GroupParameters) DeepCopyInto

func (in *GroupParameters) DeepCopyInto(out *GroupParameters)

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

type GroupSpec

type GroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GroupParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider GroupInitParameters `json:"initProvider,omitempty"`
}

GroupSpec defines the desired state of Group

func (*GroupSpec) DeepCopy

func (in *GroupSpec) DeepCopy() *GroupSpec

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

func (*GroupSpec) DeepCopyInto

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

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

type GroupStatus

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

GroupStatus defines the observed state of Group.

func (*GroupStatus) DeepCopy

func (in *GroupStatus) DeepCopy() *GroupStatus

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

func (*GroupStatus) DeepCopyInto

func (in *GroupStatus) DeepCopyInto(out *GroupStatus)

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

type InsightsConfigurationInitParameters added in v0.38.0

type InsightsConfigurationInitParameters struct {

	// Specifies whether insights are enabled.
	InsightsEnabled *bool `json:"insightsEnabled,omitempty" tf:"insights_enabled,omitempty"`

	// Specifies whether insight notifications are enabled.
	NotificationsEnabled *bool `json:"notificationsEnabled,omitempty" tf:"notifications_enabled,omitempty"`
}

func (*InsightsConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*InsightsConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type InsightsConfigurationObservation

type InsightsConfigurationObservation struct {

	// Specifies whether insights are enabled.
	InsightsEnabled *bool `json:"insightsEnabled,omitempty" tf:"insights_enabled,omitempty"`

	// Specifies whether insight notifications are enabled.
	NotificationsEnabled *bool `json:"notificationsEnabled,omitempty" tf:"notifications_enabled,omitempty"`
}

func (*InsightsConfigurationObservation) DeepCopy

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

func (*InsightsConfigurationObservation) DeepCopyInto

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

type InsightsConfigurationParameters

type InsightsConfigurationParameters struct {

	// Specifies whether insights are enabled.
	// +kubebuilder:validation:Optional
	InsightsEnabled *bool `json:"insightsEnabled" tf:"insights_enabled,omitempty"`

	// Specifies whether insight notifications are enabled.
	// +kubebuilder:validation:Optional
	NotificationsEnabled *bool `json:"notificationsEnabled,omitempty" tf:"notifications_enabled,omitempty"`
}

func (*InsightsConfigurationParameters) DeepCopy

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

func (*InsightsConfigurationParameters) DeepCopyInto

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

type SamplingRule

type SamplingRule 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.fixedRate) || (has(self.initProvider) && has(self.initProvider.fixedRate))",message="spec.forProvider.fixedRate is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.host) || (has(self.initProvider) && has(self.initProvider.host))",message="spec.forProvider.host is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.httpMethod) || (has(self.initProvider) && has(self.initProvider.httpMethod))",message="spec.forProvider.httpMethod is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.priority) || (has(self.initProvider) && has(self.initProvider.priority))",message="spec.forProvider.priority is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.reservoirSize) || (has(self.initProvider) && has(self.initProvider.reservoirSize))",message="spec.forProvider.reservoirSize is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceArn) || (has(self.initProvider) && has(self.initProvider.resourceArn))",message="spec.forProvider.resourceArn is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceType) || (has(self.initProvider) && has(self.initProvider.serviceType))",message="spec.forProvider.serviceType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.urlPath) || (has(self.initProvider) && has(self.initProvider.urlPath))",message="spec.forProvider.urlPath is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || (has(self.initProvider) && has(self.initProvider.version))",message="spec.forProvider.version is a required parameter"
	Spec   SamplingRuleSpec   `json:"spec"`
	Status SamplingRuleStatus `json:"status,omitempty"`
}

SamplingRule is the Schema for the SamplingRules API. Creates and manages an AWS XRay Sampling Rule. +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 (*SamplingRule) DeepCopy

func (in *SamplingRule) DeepCopy() *SamplingRule

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

func (*SamplingRule) DeepCopyInto

func (in *SamplingRule) DeepCopyInto(out *SamplingRule)

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

func (*SamplingRule) DeepCopyObject

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

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

func (*SamplingRule) GetCondition

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

GetCondition of this SamplingRule.

func (*SamplingRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SamplingRule

func (*SamplingRule) GetDeletionPolicy

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

GetDeletionPolicy of this SamplingRule.

func (*SamplingRule) GetID

func (tr *SamplingRule) GetID() string

GetID returns ID of underlying Terraform resource of this SamplingRule

func (*SamplingRule) GetInitParameters added in v0.38.0

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

GetInitParameters of this SamplingRule

func (*SamplingRule) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this SamplingRule.

func (*SamplingRule) GetObservation

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

GetObservation of this SamplingRule

func (*SamplingRule) GetParameters

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

GetParameters of this SamplingRule

func (*SamplingRule) GetProviderConfigReference

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

GetProviderConfigReference of this SamplingRule.

func (*SamplingRule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SamplingRule.

func (*SamplingRule) GetTerraformResourceType

func (mg *SamplingRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SamplingRule

func (*SamplingRule) GetTerraformSchemaVersion

func (tr *SamplingRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SamplingRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SamplingRule.

func (*SamplingRule) LateInitialize

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

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

func (*SamplingRule) SetConditions

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

SetConditions of this SamplingRule.

func (*SamplingRule) SetDeletionPolicy

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

SetDeletionPolicy of this SamplingRule.

func (*SamplingRule) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this SamplingRule.

func (*SamplingRule) SetObservation

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

SetObservation for this SamplingRule

func (*SamplingRule) SetParameters

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

SetParameters for this SamplingRule

func (*SamplingRule) SetProviderConfigReference

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

SetProviderConfigReference of this SamplingRule.

func (*SamplingRule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SamplingRule.

func (*SamplingRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SamplingRule.

type SamplingRuleInitParameters added in v0.38.0

type SamplingRuleInitParameters struct {

	// Matches attributes derived from the request.
	Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// The percentage of matching requests to instrument, after the reservoir is exhausted.
	FixedRate *float64 `json:"fixedRate,omitempty" tf:"fixed_rate,omitempty"`

	// Matches the HTTP method of a request.
	HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"`

	// Matches the hostname from a request URL.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// The priority of the sampling rule.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.
	ReservoirSize *float64 `json:"reservoirSize,omitempty" tf:"reservoir_size,omitempty"`

	// Matches the ARN of the AWS resource on which the service runs.
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Matches the name that the service uses to identify itself in segments.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// Matches the origin that the service uses to identify its type in segments.
	ServiceType *string `json:"serviceType,omitempty" tf:"service_type,omitempty"`

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

	// Matches the path from a request URL.
	URLPath *string `json:"urlPath,omitempty" tf:"url_path,omitempty"`

	// The version of the sampling rule format (1 )
	Version *float64 `json:"version,omitempty" tf:"version,omitempty"`
}

func (*SamplingRuleInitParameters) DeepCopy added in v0.38.0

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

func (*SamplingRuleInitParameters) DeepCopyInto added in v0.38.0

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

type SamplingRuleList

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

SamplingRuleList contains a list of SamplingRules

func (*SamplingRuleList) DeepCopy

func (in *SamplingRuleList) DeepCopy() *SamplingRuleList

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

func (*SamplingRuleList) DeepCopyInto

func (in *SamplingRuleList) DeepCopyInto(out *SamplingRuleList)

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

func (*SamplingRuleList) DeepCopyObject

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

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

func (*SamplingRuleList) GetItems

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

GetItems of this SamplingRuleList.

type SamplingRuleObservation

type SamplingRuleObservation struct {

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

	// Matches attributes derived from the request.
	Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// The percentage of matching requests to instrument, after the reservoir is exhausted.
	FixedRate *float64 `json:"fixedRate,omitempty" tf:"fixed_rate,omitempty"`

	// Matches the HTTP method of a request.
	HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"`

	// Matches the hostname from a request URL.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

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

	// The priority of the sampling rule.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.
	ReservoirSize *float64 `json:"reservoirSize,omitempty" tf:"reservoir_size,omitempty"`

	// Matches the ARN of the AWS resource on which the service runs.
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Matches the name that the service uses to identify itself in segments.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// Matches the origin that the service uses to identify its type in segments.
	ServiceType *string `json:"serviceType,omitempty" tf:"service_type,omitempty"`

	// Key-value map of resource tags.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// Matches the path from a request URL.
	URLPath *string `json:"urlPath,omitempty" tf:"url_path,omitempty"`

	// The version of the sampling rule format (1 )
	Version *float64 `json:"version,omitempty" tf:"version,omitempty"`
}

func (*SamplingRuleObservation) DeepCopy

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

func (*SamplingRuleObservation) DeepCopyInto

func (in *SamplingRuleObservation) DeepCopyInto(out *SamplingRuleObservation)

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

type SamplingRuleParameters

type SamplingRuleParameters struct {

	// Matches attributes derived from the request.
	// +kubebuilder:validation:Optional
	Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// The percentage of matching requests to instrument, after the reservoir is exhausted.
	// +kubebuilder:validation:Optional
	FixedRate *float64 `json:"fixedRate,omitempty" tf:"fixed_rate,omitempty"`

	// Matches the HTTP method of a request.
	// +kubebuilder:validation:Optional
	HTTPMethod *string `json:"httpMethod,omitempty" tf:"http_method,omitempty"`

	// Matches the hostname from a request URL.
	// +kubebuilder:validation:Optional
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// The priority of the sampling rule.
	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority,omitempty" tf:"priority,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:"-"`

	// A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.
	// +kubebuilder:validation:Optional
	ReservoirSize *float64 `json:"reservoirSize,omitempty" tf:"reservoir_size,omitempty"`

	// Matches the ARN of the AWS resource on which the service runs.
	// +kubebuilder:validation:Optional
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Matches the name that the service uses to identify itself in segments.
	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// Matches the origin that the service uses to identify its type in segments.
	// +kubebuilder:validation:Optional
	ServiceType *string `json:"serviceType,omitempty" tf:"service_type,omitempty"`

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

	// Matches the path from a request URL.
	// +kubebuilder:validation:Optional
	URLPath *string `json:"urlPath,omitempty" tf:"url_path,omitempty"`

	// The version of the sampling rule format (1 )
	// +kubebuilder:validation:Optional
	Version *float64 `json:"version,omitempty" tf:"version,omitempty"`
}

func (*SamplingRuleParameters) DeepCopy

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

func (*SamplingRuleParameters) DeepCopyInto

func (in *SamplingRuleParameters) DeepCopyInto(out *SamplingRuleParameters)

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

type SamplingRuleSpec

type SamplingRuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SamplingRuleParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 SamplingRuleInitParameters `json:"initProvider,omitempty"`
}

SamplingRuleSpec defines the desired state of SamplingRule

func (*SamplingRuleSpec) DeepCopy

func (in *SamplingRuleSpec) DeepCopy() *SamplingRuleSpec

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

func (*SamplingRuleSpec) DeepCopyInto

func (in *SamplingRuleSpec) DeepCopyInto(out *SamplingRuleSpec)

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

type SamplingRuleStatus

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

SamplingRuleStatus defines the observed state of SamplingRule.

func (*SamplingRuleStatus) DeepCopy

func (in *SamplingRuleStatus) DeepCopy() *SamplingRuleStatus

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

func (*SamplingRuleStatus) DeepCopyInto

func (in *SamplingRuleStatus) DeepCopyInto(out *SamplingRuleStatus)

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