v1beta1

package
v0.31.16 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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 (
	ResourceDataSync_Kind             = "ResourceDataSync"
	ResourceDataSync_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourceDataSync_Kind}.String()
	ResourceDataSync_KindAPIVersion   = ResourceDataSync_Kind + "." + CRDGroupVersion.String()
	ResourceDataSync_GroupVersionKind = CRDGroupVersion.WithKind(ResourceDataSync_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ResourceDataSync

type ResourceDataSync struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceDataSyncSpec   `json:"spec"`
	Status            ResourceDataSyncStatus `json:"status,omitempty"`
}

ResourceDataSync is the Schema for the ResourceDataSyncs API. Provides a SSM resource data sync. +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 (*ResourceDataSync) DeepCopy

func (in *ResourceDataSync) DeepCopy() *ResourceDataSync

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

func (*ResourceDataSync) DeepCopyInto

func (in *ResourceDataSync) DeepCopyInto(out *ResourceDataSync)

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

func (*ResourceDataSync) DeepCopyObject

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

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

func (*ResourceDataSync) GetCondition

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

GetCondition of this ResourceDataSync.

func (*ResourceDataSync) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ResourceDataSync

func (*ResourceDataSync) GetDeletionPolicy

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

GetDeletionPolicy of this ResourceDataSync.

func (*ResourceDataSync) GetID

func (tr *ResourceDataSync) GetID() string

GetID returns ID of underlying Terraform resource of this ResourceDataSync

func (*ResourceDataSync) GetObservation

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

GetObservation of this ResourceDataSync

func (*ResourceDataSync) GetParameters

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

GetParameters of this ResourceDataSync

func (*ResourceDataSync) GetProviderConfigReference

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

GetProviderConfigReference of this ResourceDataSync.

func (*ResourceDataSync) GetProviderReference

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

GetProviderReference of this ResourceDataSync. Deprecated: Use GetProviderConfigReference.

func (*ResourceDataSync) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ResourceDataSync.

func (*ResourceDataSync) GetTerraformResourceType

func (mg *ResourceDataSync) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourceDataSync

func (*ResourceDataSync) GetTerraformSchemaVersion

func (tr *ResourceDataSync) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourceDataSync) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ResourceDataSync.

func (*ResourceDataSync) LateInitialize

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

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

func (*ResourceDataSync) ResolveReferences

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

ResolveReferences of this ResourceDataSync.

func (*ResourceDataSync) SetConditions

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

SetConditions of this ResourceDataSync.

func (*ResourceDataSync) SetDeletionPolicy

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

SetDeletionPolicy of this ResourceDataSync.

func (*ResourceDataSync) SetObservation

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

SetObservation for this ResourceDataSync

func (*ResourceDataSync) SetParameters

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

SetParameters for this ResourceDataSync

func (*ResourceDataSync) SetProviderConfigReference

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

SetProviderConfigReference of this ResourceDataSync.

func (*ResourceDataSync) SetProviderReference

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

SetProviderReference of this ResourceDataSync. Deprecated: Use SetProviderConfigReference.

func (*ResourceDataSync) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ResourceDataSync.

func (*ResourceDataSync) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ResourceDataSync.

type ResourceDataSyncList

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

ResourceDataSyncList contains a list of ResourceDataSyncs

func (*ResourceDataSyncList) DeepCopy

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

func (*ResourceDataSyncList) DeepCopyInto

func (in *ResourceDataSyncList) DeepCopyInto(out *ResourceDataSyncList)

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

func (*ResourceDataSyncList) DeepCopyObject

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

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

func (*ResourceDataSyncList) GetItems

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

GetItems of this ResourceDataSyncList.

type ResourceDataSyncObservation

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

func (*ResourceDataSyncObservation) DeepCopy

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

func (*ResourceDataSyncObservation) DeepCopyInto

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

type ResourceDataSyncParameters

type ResourceDataSyncParameters struct {

	// Region with the bucket targeted by the Resource Data Sync.
	// 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:"-"`

	// Amazon S3 configuration details for the sync.
	// +kubebuilder:validation:Required
	S3Destination []S3DestinationParameters `json:"s3Destination" tf:"s3_destination,omitempty"`
}

func (*ResourceDataSyncParameters) DeepCopy

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

func (*ResourceDataSyncParameters) DeepCopyInto

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

type ResourceDataSyncSpec

type ResourceDataSyncSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResourceDataSyncParameters `json:"forProvider"`
}

ResourceDataSyncSpec defines the desired state of ResourceDataSync

func (*ResourceDataSyncSpec) DeepCopy

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

func (*ResourceDataSyncSpec) DeepCopyInto

func (in *ResourceDataSyncSpec) DeepCopyInto(out *ResourceDataSyncSpec)

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

type ResourceDataSyncStatus

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

ResourceDataSyncStatus defines the observed state of ResourceDataSync.

func (*ResourceDataSyncStatus) DeepCopy

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

func (*ResourceDataSyncStatus) DeepCopyInto

func (in *ResourceDataSyncStatus) DeepCopyInto(out *ResourceDataSyncStatus)

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

type S3DestinationObservation

type S3DestinationObservation struct {
}

func (*S3DestinationObservation) DeepCopy

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

func (*S3DestinationObservation) DeepCopyInto

func (in *S3DestinationObservation) DeepCopyInto(out *S3DestinationObservation)

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

type S3DestinationParameters

type S3DestinationParameters struct {

	// Name of S3 bucket where the aggregated data is stored.
	// +crossplane:generate:reference:type=github.com/dkb-bank/official-provider-aws/apis/s3/v1beta1.Bucket
	// +kubebuilder:validation:Optional
	BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`

	// Reference to a Bucket in s3 to populate bucketName.
	// +kubebuilder:validation:Optional
	BucketNameRef *v1.Reference `json:"bucketNameRef,omitempty" tf:"-"`

	// Selector for a Bucket in s3 to populate bucketName.
	// +kubebuilder:validation:Optional
	BucketNameSelector *v1.Selector `json:"bucketNameSelector,omitempty" tf:"-"`

	// ARN of an encryption key for a destination in Amazon S3.
	// +kubebuilder:validation:Optional
	KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`

	// Prefix for the bucket.
	// +kubebuilder:validation:Optional
	Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`

	// Region with the bucket targeted by the Resource Data Sync.
	// +crossplane:generate:reference:type=github.com/dkb-bank/official-provider-aws/apis/s3/v1beta1.Bucket
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("region",false)
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Reference to a Bucket in s3 to populate region.
	// +kubebuilder:validation:Optional
	RegionRef *v1.Reference `json:"regionRef,omitempty" tf:"-"`

	// Selector for a Bucket in s3 to populate region.
	// +kubebuilder:validation:Optional
	RegionSelector *v1.Selector `json:"regionSelector,omitempty" tf:"-"`

	// A supported sync format. Only JsonSerDe is currently supported. Defaults to JsonSerDe.
	// +kubebuilder:validation:Optional
	SyncFormat *string `json:"syncFormat,omitempty" tf:"sync_format,omitempty"`
}

func (*S3DestinationParameters) DeepCopy

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

func (*S3DestinationParameters) DeepCopyInto

func (in *S3DestinationParameters) DeepCopyInto(out *S3DestinationParameters)

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