v1beta1

package
v0.36.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 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="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.type)",message="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) GetManagementPolicy added in v0.34.0

func (mg *EncryptionConfig) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy 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) GetProviderReference

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

GetProviderReference of this EncryptionConfig. Deprecated: Use GetProviderConfigReference.

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) SetManagementPolicy added in v0.34.0

func (mg *EncryptionConfig) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy 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) SetProviderReference

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

SetProviderReference of this EncryptionConfig. Deprecated: Use SetProviderConfigReference.

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

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="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.filterExpression)",message="filterExpression is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.groupName)",message="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) GetManagementPolicy added in v0.34.0

func (mg *Group) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy 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) GetProviderReference

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

GetProviderReference of this Group. Deprecated: Use GetProviderConfigReference.

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) SetManagementPolicy added in v0.34.0

func (mg *Group) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy 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) SetProviderReference

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

SetProviderReference of this Group. Deprecated: Use SetProviderConfigReference.

func (*Group) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Group.

func (*Group) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Group.

type GroupList

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

GroupList contains a list of Groups

func (*GroupList) DeepCopy

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

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 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:Required
	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="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.fixedRate)",message="fixedRate is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.host)",message="host is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.httpMethod)",message="httpMethod is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.priority)",message="priority is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.reservoirSize)",message="reservoirSize is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.resourceArn)",message="resourceArn is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.serviceName)",message="serviceName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.serviceType)",message="serviceType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.urlPath)",message="urlPath is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.version)",message="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) GetManagementPolicy added in v0.34.0

func (mg *SamplingRule) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy 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) GetProviderReference

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

GetProviderReference of this SamplingRule. Deprecated: Use GetProviderConfigReference.

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) SetManagementPolicy added in v0.34.0

func (mg *SamplingRule) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy 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) SetProviderReference

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

SetProviderReference of this SamplingRule. Deprecated: Use SetProviderConfigReference.

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

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