v1beta2

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=globalaccelerator.aws.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "globalaccelerator.aws.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

View Source
var (
	Accelerator_Kind             = "Accelerator"
	Accelerator_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Accelerator_Kind}.String()
	Accelerator_KindAPIVersion   = Accelerator_Kind + "." + CRDGroupVersion.String()
	Accelerator_GroupVersionKind = CRDGroupVersion.WithKind(Accelerator_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
)

Functions

This section is empty.

Types

type Accelerator

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

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

func (*Accelerator) DeepCopy

func (in *Accelerator) DeepCopy() *Accelerator

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

func (*Accelerator) DeepCopyInto

func (in *Accelerator) DeepCopyInto(out *Accelerator)

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

func (*Accelerator) DeepCopyObject

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

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

func (*Accelerator) GetCondition

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

GetCondition of this Accelerator.

func (*Accelerator) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Accelerator

func (*Accelerator) GetDeletionPolicy

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

GetDeletionPolicy of this Accelerator.

func (*Accelerator) GetID

func (tr *Accelerator) GetID() string

GetID returns ID of underlying Terraform resource of this Accelerator

func (*Accelerator) GetInitParameters

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

GetInitParameters of this Accelerator

func (*Accelerator) GetManagementPolicies

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

GetManagementPolicies of this Accelerator.

func (*Accelerator) GetMergedParameters

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

GetInitParameters of this Accelerator

func (*Accelerator) GetObservation

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

GetObservation of this Accelerator

func (*Accelerator) GetParameters

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

GetParameters of this Accelerator

func (*Accelerator) GetProviderConfigReference

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

GetProviderConfigReference of this Accelerator.

func (*Accelerator) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Accelerator.

func (*Accelerator) GetTerraformResourceType

func (mg *Accelerator) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Accelerator

func (*Accelerator) GetTerraformSchemaVersion

func (tr *Accelerator) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Accelerator) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Accelerator.

func (*Accelerator) Hub

func (tr *Accelerator) Hub()

Hub marks this type as a conversion hub.

func (*Accelerator) LateInitialize

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

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

func (*Accelerator) SetConditions

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

SetConditions of this Accelerator.

func (*Accelerator) SetDeletionPolicy

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

SetDeletionPolicy of this Accelerator.

func (*Accelerator) SetManagementPolicies

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

SetManagementPolicies of this Accelerator.

func (*Accelerator) SetObservation

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

SetObservation for this Accelerator

func (*Accelerator) SetParameters

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

SetParameters for this Accelerator

func (*Accelerator) SetProviderConfigReference

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

SetProviderConfigReference of this Accelerator.

func (*Accelerator) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Accelerator.

func (*Accelerator) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Accelerator.

type AcceleratorInitParameters

type AcceleratorInitParameters struct {

	// The attributes of the accelerator. Fields documented below.
	Attributes *AttributesInitParameters `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// Indicates whether the accelerator is enabled. Defaults to true. Valid values: true, false.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The value for the address type. Defaults to IPV4. Valid values: IPV4, DUAL_STACK.
	IPAddressType *string `json:"ipAddressType,omitempty" tf:"ip_address_type,omitempty"`

	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IPAddresses []*string `json:"ipAddresses,omitempty" tf:"ip_addresses,omitempty"`

	// The name of the accelerator.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

func (*AcceleratorInitParameters) DeepCopy

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

func (*AcceleratorInitParameters) DeepCopyInto

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

type AcceleratorList

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

AcceleratorList contains a list of Accelerators

func (*AcceleratorList) DeepCopy

func (in *AcceleratorList) DeepCopy() *AcceleratorList

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

func (*AcceleratorList) DeepCopyInto

func (in *AcceleratorList) DeepCopyInto(out *AcceleratorList)

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

func (*AcceleratorList) DeepCopyObject

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

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

func (*AcceleratorList) GetItems

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

GetItems of this AcceleratorList.

type AcceleratorObservation

type AcceleratorObservation struct {

	// The attributes of the accelerator. Fields documented below.
	Attributes *AttributesObservation `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// The DNS name of the accelerator. For example, a5d53ff5ee6bca4ce.awsglobalaccelerator.com.
	DNSName *string `json:"dnsName,omitempty" tf:"dns_name,omitempty"`

	// The Domain Name System (DNS) name that Global Accelerator creates that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses. For example, a1234567890abcdef.dualstack.awsglobalaccelerator.com.
	DualStackDNSName *string `json:"dualStackDnsName,omitempty" tf:"dual_stack_dns_name,omitempty"`

	// Indicates whether the accelerator is enabled. Defaults to true. Valid values: true, false.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// -  The Global Accelerator Route 53 zone ID that can be used to
	// route an Alias Resource Record Set to the Global Accelerator. This attribute
	// is simply an alias for the zone ID Z2BJ6XQ5FK7U4H.
	HostedZoneID *string `json:"hostedZoneId,omitempty" tf:"hosted_zone_id,omitempty"`

	// The Amazon Resource Name (ARN) of the accelerator.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The value for the address type. Defaults to IPV4. Valid values: IPV4, DUAL_STACK.
	IPAddressType *string `json:"ipAddressType,omitempty" tf:"ip_address_type,omitempty"`

	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IPAddresses []*string `json:"ipAddresses,omitempty" tf:"ip_addresses,omitempty"`

	// IP address set associated with the accelerator.
	IPSets []IPSetsObservation `json:"ipSets,omitempty" tf:"ip_sets,omitempty"`

	// The name of the accelerator.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

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

func (*AcceleratorObservation) DeepCopy

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

func (*AcceleratorObservation) DeepCopyInto

func (in *AcceleratorObservation) DeepCopyInto(out *AcceleratorObservation)

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

type AcceleratorParameters

type AcceleratorParameters struct {

	// The attributes of the accelerator. Fields documented below.
	// +kubebuilder:validation:Optional
	Attributes *AttributesParameters `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// Indicates whether the accelerator is enabled. Defaults to true. Valid values: true, false.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The value for the address type. Defaults to IPV4. Valid values: IPV4, DUAL_STACK.
	// +kubebuilder:validation:Optional
	IPAddressType *string `json:"ipAddressType,omitempty" tf:"ip_address_type,omitempty"`

	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	// +kubebuilder:validation:Optional
	IPAddresses []*string `json:"ipAddresses,omitempty" tf:"ip_addresses,omitempty"`

	// The name of the accelerator.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

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

func (*AcceleratorParameters) DeepCopy

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

func (*AcceleratorParameters) DeepCopyInto

func (in *AcceleratorParameters) DeepCopyInto(out *AcceleratorParameters)

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

type AcceleratorSpec

type AcceleratorSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AcceleratorParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AcceleratorInitParameters `json:"initProvider,omitempty"`
}

AcceleratorSpec defines the desired state of Accelerator

func (*AcceleratorSpec) DeepCopy

func (in *AcceleratorSpec) DeepCopy() *AcceleratorSpec

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

func (*AcceleratorSpec) DeepCopyInto

func (in *AcceleratorSpec) DeepCopyInto(out *AcceleratorSpec)

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

type AcceleratorStatus

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

AcceleratorStatus defines the observed state of Accelerator.

func (*AcceleratorStatus) DeepCopy

func (in *AcceleratorStatus) DeepCopy() *AcceleratorStatus

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

func (*AcceleratorStatus) DeepCopyInto

func (in *AcceleratorStatus) DeepCopyInto(out *AcceleratorStatus)

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

type AttributesInitParameters

type AttributesInitParameters struct {

	// Indicates whether flow logs are enabled. Defaults to false. Valid values: true, false.
	FlowLogsEnabled *bool `json:"flowLogsEnabled,omitempty" tf:"flow_logs_enabled,omitempty"`

	// The name of the Amazon S3 bucket for the flow logs. Required if flow_logs_enabled is true.
	FlowLogsS3Bucket *string `json:"flowLogsS3Bucket,omitempty" tf:"flow_logs_s3_bucket,omitempty"`

	// The prefix for the location in the Amazon S3 bucket for the flow logs. Required if flow_logs_enabled is true.
	FlowLogsS3Prefix *string `json:"flowLogsS3Prefix,omitempty" tf:"flow_logs_s3_prefix,omitempty"`
}

func (*AttributesInitParameters) DeepCopy

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

func (*AttributesInitParameters) DeepCopyInto

func (in *AttributesInitParameters) DeepCopyInto(out *AttributesInitParameters)

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

type AttributesObservation

type AttributesObservation struct {

	// Indicates whether flow logs are enabled. Defaults to false. Valid values: true, false.
	FlowLogsEnabled *bool `json:"flowLogsEnabled,omitempty" tf:"flow_logs_enabled,omitempty"`

	// The name of the Amazon S3 bucket for the flow logs. Required if flow_logs_enabled is true.
	FlowLogsS3Bucket *string `json:"flowLogsS3Bucket,omitempty" tf:"flow_logs_s3_bucket,omitempty"`

	// The prefix for the location in the Amazon S3 bucket for the flow logs. Required if flow_logs_enabled is true.
	FlowLogsS3Prefix *string `json:"flowLogsS3Prefix,omitempty" tf:"flow_logs_s3_prefix,omitempty"`
}

func (*AttributesObservation) DeepCopy

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

func (*AttributesObservation) DeepCopyInto

func (in *AttributesObservation) DeepCopyInto(out *AttributesObservation)

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

type AttributesParameters

type AttributesParameters struct {

	// Indicates whether flow logs are enabled. Defaults to false. Valid values: true, false.
	// +kubebuilder:validation:Optional
	FlowLogsEnabled *bool `json:"flowLogsEnabled,omitempty" tf:"flow_logs_enabled,omitempty"`

	// The name of the Amazon S3 bucket for the flow logs. Required if flow_logs_enabled is true.
	// +kubebuilder:validation:Optional
	FlowLogsS3Bucket *string `json:"flowLogsS3Bucket,omitempty" tf:"flow_logs_s3_bucket,omitempty"`

	// The prefix for the location in the Amazon S3 bucket for the flow logs. Required if flow_logs_enabled is true.
	// +kubebuilder:validation:Optional
	FlowLogsS3Prefix *string `json:"flowLogsS3Prefix,omitempty" tf:"flow_logs_s3_prefix,omitempty"`
}

func (*AttributesParameters) DeepCopy

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

func (*AttributesParameters) DeepCopyInto

func (in *AttributesParameters) DeepCopyInto(out *AttributesParameters)

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

type IPSetsInitParameters

type IPSetsInitParameters struct {
}

func (*IPSetsInitParameters) DeepCopy

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

func (*IPSetsInitParameters) DeepCopyInto

func (in *IPSetsInitParameters) DeepCopyInto(out *IPSetsInitParameters)

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

type IPSetsObservation

type IPSetsObservation struct {

	// The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
	IPAddresses []*string `json:"ipAddresses,omitempty" tf:"ip_addresses,omitempty"`

	// The type of IP addresses included in this IP set.
	IPFamily *string `json:"ipFamily,omitempty" tf:"ip_family,omitempty"`
}

func (*IPSetsObservation) DeepCopy

func (in *IPSetsObservation) DeepCopy() *IPSetsObservation

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

func (*IPSetsObservation) DeepCopyInto

func (in *IPSetsObservation) DeepCopyInto(out *IPSetsObservation)

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

type IPSetsParameters

type IPSetsParameters struct {
}

func (*IPSetsParameters) DeepCopy

func (in *IPSetsParameters) DeepCopy() *IPSetsParameters

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

func (*IPSetsParameters) DeepCopyInto

func (in *IPSetsParameters) DeepCopyInto(out *IPSetsParameters)

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