v1beta1

package
v1.12.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Endpoint_Kind             = "Endpoint"
	Endpoint_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Endpoint_Kind}.String()
	Endpoint_KindAPIVersion   = Endpoint_Kind + "." + CRDGroupVersion.String()
	Endpoint_GroupVersionKind = CRDGroupVersion.WithKind(Endpoint_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 (
	Rule_Kind             = "Rule"
	Rule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Rule_Kind}.String()
	Rule_KindAPIVersion   = Rule_Kind + "." + CRDGroupVersion.String()
	Rule_GroupVersionKind = CRDGroupVersion.WithKind(Rule_Kind)
)

Repository type metadata.

View Source
var (
	RuleAssociation_Kind             = "RuleAssociation"
	RuleAssociation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RuleAssociation_Kind}.String()
	RuleAssociation_KindAPIVersion   = RuleAssociation_Kind + "." + CRDGroupVersion.String()
	RuleAssociation_GroupVersionKind = CRDGroupVersion.WithKind(RuleAssociation_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Endpoint

type Endpoint 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.direction) || (has(self.initProvider) && has(self.initProvider.direction))",message="spec.forProvider.direction is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipAddress) || (has(self.initProvider) && has(self.initProvider.ipAddress))",message="spec.forProvider.ipAddress is a required parameter"
	Spec   EndpointSpec   `json:"spec"`
	Status EndpointStatus `json:"status,omitempty"`
}

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

func (*Endpoint) DeepCopy

func (in *Endpoint) DeepCopy() *Endpoint

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

func (*Endpoint) DeepCopyInto

func (in *Endpoint) DeepCopyInto(out *Endpoint)

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

func (*Endpoint) DeepCopyObject

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

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

func (*Endpoint) GetCondition

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

GetCondition of this Endpoint.

func (*Endpoint) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Endpoint

func (*Endpoint) GetDeletionPolicy

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

GetDeletionPolicy of this Endpoint.

func (*Endpoint) GetID

func (tr *Endpoint) GetID() string

GetID returns ID of underlying Terraform resource of this Endpoint

func (*Endpoint) GetInitParameters added in v0.38.0

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

GetInitParameters of this Endpoint

func (*Endpoint) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Endpoint.

func (*Endpoint) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Endpoint

func (*Endpoint) GetObservation

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

GetObservation of this Endpoint

func (*Endpoint) GetParameters

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

GetParameters of this Endpoint

func (*Endpoint) GetProviderConfigReference

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

GetProviderConfigReference of this Endpoint.

func (*Endpoint) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Endpoint.

func (*Endpoint) GetTerraformResourceType

func (mg *Endpoint) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Endpoint

func (*Endpoint) GetTerraformSchemaVersion

func (tr *Endpoint) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Endpoint) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Endpoint.

func (*Endpoint) Hub added in v0.47.2

func (tr *Endpoint) Hub()

Hub marks this type as a conversion hub.

func (*Endpoint) LateInitialize

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

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

func (*Endpoint) ResolveReferences

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

func (*Endpoint) SetConditions

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

SetConditions of this Endpoint.

func (*Endpoint) SetDeletionPolicy

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

SetDeletionPolicy of this Endpoint.

func (*Endpoint) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Endpoint.

func (*Endpoint) SetObservation

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

SetObservation for this Endpoint

func (*Endpoint) SetParameters

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

SetParameters for this Endpoint

func (*Endpoint) SetProviderConfigReference

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

SetProviderConfigReference of this Endpoint.

func (*Endpoint) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Endpoint.

func (*Endpoint) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Endpoint.

type EndpointInitParameters added in v0.38.0

type EndpointInitParameters struct {

	// The direction of DNS queries to or from the Route 53 Resolver endpoint.
	// Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC)
	// or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
	Direction *string `json:"direction,omitempty" tf:"direction,omitempty"`

	// The subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs
	// to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
	IPAddress []IPAddressInitParameters `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// The friendly name of the Route 53 Resolver endpoint.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The protocols you want to use for the Route 53 Resolver endpoint. Valid values: DoH, Do53, DoH-FIPS.
	// +listType=set
	Protocols []*string `json:"protocols,omitempty" tf:"protocols,omitempty"`

	// The Route 53 Resolver endpoint IP address type. Valid values: IPV4, IPV6, DUALSTACK.
	ResolverEndpointType *string `json:"resolverEndpointType,omitempty" tf:"resolver_endpoint_type,omitempty"`

	// References to SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`

	// The ID of one or more security groups that you want to use to control access to this VPC.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

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

func (*EndpointInitParameters) DeepCopy added in v0.38.0

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

func (*EndpointInitParameters) DeepCopyInto added in v0.38.0

func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters)

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

type EndpointList

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

EndpointList contains a list of Endpoints

func (*EndpointList) DeepCopy

func (in *EndpointList) DeepCopy() *EndpointList

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

func (*EndpointList) DeepCopyInto

func (in *EndpointList) DeepCopyInto(out *EndpointList)

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

func (*EndpointList) DeepCopyObject

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

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

func (*EndpointList) GetItems

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

GetItems of this EndpointList.

type EndpointObservation

type EndpointObservation struct {

	// The ARN of the Route 53 Resolver endpoint.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The direction of DNS queries to or from the Route 53 Resolver endpoint.
	// Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC)
	// or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
	Direction *string `json:"direction,omitempty" tf:"direction,omitempty"`

	// The ID of the VPC that you want to create the resolver endpoint in.
	HostVPCID *string `json:"hostVpcId,omitempty" tf:"host_vpc_id,omitempty"`

	// The ID of the Route 53 Resolver endpoint.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs
	// to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
	IPAddress []IPAddressObservation `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// The friendly name of the Route 53 Resolver endpoint.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The protocols you want to use for the Route 53 Resolver endpoint. Valid values: DoH, Do53, DoH-FIPS.
	// +listType=set
	Protocols []*string `json:"protocols,omitempty" tf:"protocols,omitempty"`

	// The Route 53 Resolver endpoint IP address type. Valid values: IPV4, IPV6, DUALSTACK.
	ResolverEndpointType *string `json:"resolverEndpointType,omitempty" tf:"resolver_endpoint_type,omitempty"`

	// The ID of one or more security groups that you want to use to control access to this VPC.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,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 (*EndpointObservation) DeepCopy

func (in *EndpointObservation) DeepCopy() *EndpointObservation

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

func (*EndpointObservation) DeepCopyInto

func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation)

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

type EndpointParameters

type EndpointParameters struct {

	// The direction of DNS queries to or from the Route 53 Resolver endpoint.
	// Valid values are INBOUND (resolver forwards DNS queries to the DNS service for a VPC from your network or another VPC)
	// or OUTBOUND (resolver forwards DNS queries from the DNS service for a VPC to your network or another VPC).
	// +kubebuilder:validation:Optional
	Direction *string `json:"direction,omitempty" tf:"direction,omitempty"`

	// The subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs
	// to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound endpoints). Described below.
	// +kubebuilder:validation:Optional
	IPAddress []IPAddressParameters `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// The friendly name of the Route 53 Resolver endpoint.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The protocols you want to use for the Route 53 Resolver endpoint. Valid values: DoH, Do53, DoH-FIPS.
	// +kubebuilder:validation:Optional
	// +listType=set
	Protocols []*string `json:"protocols,omitempty" tf:"protocols,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:"-"`

	// The Route 53 Resolver endpoint IP address type. Valid values: IPV4, IPV6, DUALSTACK.
	// +kubebuilder:validation:Optional
	ResolverEndpointType *string `json:"resolverEndpointType,omitempty" tf:"resolver_endpoint_type,omitempty"`

	// References to SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`

	// The ID of one or more security groups that you want to use to control access to this VPC.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector
	// +kubebuilder:validation:Optional
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

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

func (*EndpointParameters) DeepCopy

func (in *EndpointParameters) DeepCopy() *EndpointParameters

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

func (*EndpointParameters) DeepCopyInto

func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters)

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

type EndpointSpec

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

EndpointSpec defines the desired state of Endpoint

func (*EndpointSpec) DeepCopy

func (in *EndpointSpec) DeepCopy() *EndpointSpec

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

func (*EndpointSpec) DeepCopyInto

func (in *EndpointSpec) DeepCopyInto(out *EndpointSpec)

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

type EndpointStatus

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

EndpointStatus defines the observed state of Endpoint.

func (*EndpointStatus) DeepCopy

func (in *EndpointStatus) DeepCopy() *EndpointStatus

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

func (*EndpointStatus) DeepCopyInto

func (in *EndpointStatus) DeepCopyInto(out *EndpointStatus)

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

type IPAddressInitParameters added in v0.38.0

type IPAddressInitParameters struct {

	// The IP address in the subnet that you want to use for DNS queries.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// The ID of the subnet that contains the IP address.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in ec2 to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in ec2 to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
}

func (*IPAddressInitParameters) DeepCopy added in v0.38.0

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

func (*IPAddressInitParameters) DeepCopyInto added in v0.38.0

func (in *IPAddressInitParameters) DeepCopyInto(out *IPAddressInitParameters)

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

type IPAddressObservation

type IPAddressObservation struct {

	// The IP address in the subnet that you want to use for DNS queries.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// The ID of the Route 53 Resolver endpoint.
	IPID *string `json:"ipId,omitempty" tf:"ip_id,omitempty"`

	// The ID of the subnet that contains the IP address.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
}

func (*IPAddressObservation) DeepCopy

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

func (*IPAddressObservation) DeepCopyInto

func (in *IPAddressObservation) DeepCopyInto(out *IPAddressObservation)

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

type IPAddressParameters

type IPAddressParameters struct {

	// The IP address in the subnet that you want to use for DNS queries.
	// +kubebuilder:validation:Optional
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// The ID of the subnet that contains the IP address.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in ec2 to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in ec2 to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
}

func (*IPAddressParameters) DeepCopy

func (in *IPAddressParameters) DeepCopy() *IPAddressParameters

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

func (*IPAddressParameters) DeepCopyInto

func (in *IPAddressParameters) DeepCopyInto(out *IPAddressParameters)

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

type Rule

type Rule 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.domainName) || (has(self.initProvider) && has(self.initProvider.domainName))",message="spec.forProvider.domainName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleType) || (has(self.initProvider) && has(self.initProvider.ruleType))",message="spec.forProvider.ruleType is a required parameter"
	Spec   RuleSpec   `json:"spec"`
	Status RuleStatus `json:"status,omitempty"`
}

Rule is the Schema for the Rules API. Provides a Route53 Resolver rule. +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 (*Rule) DeepCopy

func (in *Rule) DeepCopy() *Rule

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

func (*Rule) DeepCopyInto

func (in *Rule) DeepCopyInto(out *Rule)

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

func (*Rule) DeepCopyObject

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

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

func (*Rule) GetCondition

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

GetCondition of this Rule.

func (*Rule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Rule

func (*Rule) GetDeletionPolicy

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

GetDeletionPolicy of this Rule.

func (*Rule) GetID

func (tr *Rule) GetID() string

GetID returns ID of underlying Terraform resource of this Rule

func (*Rule) GetInitParameters added in v0.38.0

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

GetInitParameters of this Rule

func (*Rule) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Rule.

func (*Rule) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Rule

func (*Rule) GetObservation

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

GetObservation of this Rule

func (*Rule) GetParameters

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

GetParameters of this Rule

func (*Rule) GetProviderConfigReference

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

GetProviderConfigReference of this Rule.

func (*Rule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Rule.

func (*Rule) GetTerraformResourceType

func (mg *Rule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Rule

func (*Rule) GetTerraformSchemaVersion

func (tr *Rule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Rule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Rule.

func (*Rule) Hub added in v0.47.2

func (tr *Rule) Hub()

Hub marks this type as a conversion hub.

func (*Rule) LateInitialize

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

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

func (*Rule) ResolveReferences

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

ResolveReferences of this Rule.

func (*Rule) SetConditions

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

SetConditions of this Rule.

func (*Rule) SetDeletionPolicy

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

SetDeletionPolicy of this Rule.

func (*Rule) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Rule.

func (*Rule) SetObservation

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

SetObservation for this Rule

func (*Rule) SetParameters

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

SetParameters for this Rule

func (*Rule) SetProviderConfigReference

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

SetProviderConfigReference of this Rule.

func (*Rule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Rule.

func (*Rule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Rule.

type RuleAssociation

type RuleAssociation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RuleAssociationSpec   `json:"spec"`
	Status            RuleAssociationStatus `json:"status,omitempty"`
}

RuleAssociation is the Schema for the RuleAssociations API. Provides a Route53 Resolver rule association. +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 (*RuleAssociation) DeepCopy

func (in *RuleAssociation) DeepCopy() *RuleAssociation

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

func (*RuleAssociation) DeepCopyInto

func (in *RuleAssociation) DeepCopyInto(out *RuleAssociation)

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

func (*RuleAssociation) DeepCopyObject

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

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

func (*RuleAssociation) GetCondition

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

GetCondition of this RuleAssociation.

func (*RuleAssociation) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RuleAssociation

func (*RuleAssociation) GetDeletionPolicy

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

GetDeletionPolicy of this RuleAssociation.

func (*RuleAssociation) GetID

func (tr *RuleAssociation) GetID() string

GetID returns ID of underlying Terraform resource of this RuleAssociation

func (*RuleAssociation) GetInitParameters added in v0.38.0

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

GetInitParameters of this RuleAssociation

func (*RuleAssociation) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this RuleAssociation.

func (*RuleAssociation) GetMergedParameters added in v0.44.0

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

GetInitParameters of this RuleAssociation

func (*RuleAssociation) GetObservation

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

GetObservation of this RuleAssociation

func (*RuleAssociation) GetParameters

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

GetParameters of this RuleAssociation

func (*RuleAssociation) GetProviderConfigReference

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

GetProviderConfigReference of this RuleAssociation.

func (*RuleAssociation) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RuleAssociation.

func (*RuleAssociation) GetTerraformResourceType

func (mg *RuleAssociation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RuleAssociation

func (*RuleAssociation) GetTerraformSchemaVersion

func (tr *RuleAssociation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RuleAssociation) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RuleAssociation.

func (*RuleAssociation) Hub added in v0.47.2

func (tr *RuleAssociation) Hub()

Hub marks this type as a conversion hub.

func (*RuleAssociation) LateInitialize

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

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

func (*RuleAssociation) ResolveReferences

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

ResolveReferences of this RuleAssociation.

func (*RuleAssociation) SetConditions

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

SetConditions of this RuleAssociation.

func (*RuleAssociation) SetDeletionPolicy

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

SetDeletionPolicy of this RuleAssociation.

func (*RuleAssociation) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this RuleAssociation.

func (*RuleAssociation) SetObservation

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

SetObservation for this RuleAssociation

func (*RuleAssociation) SetParameters

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

SetParameters for this RuleAssociation

func (*RuleAssociation) SetProviderConfigReference

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

SetProviderConfigReference of this RuleAssociation.

func (*RuleAssociation) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RuleAssociation.

func (*RuleAssociation) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RuleAssociation.

type RuleAssociationInitParameters added in v0.38.0

type RuleAssociationInitParameters struct {

	// A name for the association that you're creating between a resolver rule and a VPC.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the resolver rule that you want to associate with the VPC.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53resolver/v1beta1.Rule
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	ResolverRuleID *string `json:"resolverRuleId,omitempty" tf:"resolver_rule_id,omitempty"`

	// Reference to a Rule in route53resolver to populate resolverRuleId.
	// +kubebuilder:validation:Optional
	ResolverRuleIDRef *v1.Reference `json:"resolverRuleIdRef,omitempty" tf:"-"`

	// Selector for a Rule in route53resolver to populate resolverRuleId.
	// +kubebuilder:validation:Optional
	ResolverRuleIDSelector *v1.Selector `json:"resolverRuleIdSelector,omitempty" tf:"-"`

	// The ID of the VPC that you want to associate the resolver rule with.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Reference to a VPC in ec2 to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"`

	// Selector for a VPC in ec2 to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"`
}

func (*RuleAssociationInitParameters) DeepCopy added in v0.38.0

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

func (*RuleAssociationInitParameters) DeepCopyInto added in v0.38.0

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

type RuleAssociationList

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

RuleAssociationList contains a list of RuleAssociations

func (*RuleAssociationList) DeepCopy

func (in *RuleAssociationList) DeepCopy() *RuleAssociationList

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

func (*RuleAssociationList) DeepCopyInto

func (in *RuleAssociationList) DeepCopyInto(out *RuleAssociationList)

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

func (*RuleAssociationList) DeepCopyObject

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

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

func (*RuleAssociationList) GetItems

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

GetItems of this RuleAssociationList.

type RuleAssociationObservation

type RuleAssociationObservation struct {

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

	// A name for the association that you're creating between a resolver rule and a VPC.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the resolver rule that you want to associate with the VPC.
	ResolverRuleID *string `json:"resolverRuleId,omitempty" tf:"resolver_rule_id,omitempty"`

	// The ID of the VPC that you want to associate the resolver rule with.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*RuleAssociationObservation) DeepCopy

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

func (*RuleAssociationObservation) DeepCopyInto

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

type RuleAssociationParameters

type RuleAssociationParameters struct {

	// A name for the association that you're creating between a resolver rule and a VPC.
	// +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:"-"`

	// The ID of the resolver rule that you want to associate with the VPC.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53resolver/v1beta1.Rule
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ResolverRuleID *string `json:"resolverRuleId,omitempty" tf:"resolver_rule_id,omitempty"`

	// Reference to a Rule in route53resolver to populate resolverRuleId.
	// +kubebuilder:validation:Optional
	ResolverRuleIDRef *v1.Reference `json:"resolverRuleIdRef,omitempty" tf:"-"`

	// Selector for a Rule in route53resolver to populate resolverRuleId.
	// +kubebuilder:validation:Optional
	ResolverRuleIDSelector *v1.Selector `json:"resolverRuleIdSelector,omitempty" tf:"-"`

	// The ID of the VPC that you want to associate the resolver rule with.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Reference to a VPC in ec2 to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"`

	// Selector for a VPC in ec2 to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"`
}

func (*RuleAssociationParameters) DeepCopy

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

func (*RuleAssociationParameters) DeepCopyInto

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

type RuleAssociationSpec

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

RuleAssociationSpec defines the desired state of RuleAssociation

func (*RuleAssociationSpec) DeepCopy

func (in *RuleAssociationSpec) DeepCopy() *RuleAssociationSpec

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

func (*RuleAssociationSpec) DeepCopyInto

func (in *RuleAssociationSpec) DeepCopyInto(out *RuleAssociationSpec)

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

type RuleAssociationStatus

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

RuleAssociationStatus defines the observed state of RuleAssociation.

func (*RuleAssociationStatus) DeepCopy

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

func (*RuleAssociationStatus) DeepCopyInto

func (in *RuleAssociationStatus) DeepCopyInto(out *RuleAssociationStatus)

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

type RuleInitParameters added in v0.38.0

type RuleInitParameters struct {

	// DNS queries for this domain name are forwarded to the IP addresses that are specified using target_ip.
	DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"`

	// A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the outbound resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify using target_ip.
	// This argument should only be specified for FORWARD type rules.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53resolver/v1beta1.Endpoint
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	ResolverEndpointID *string `json:"resolverEndpointId,omitempty" tf:"resolver_endpoint_id,omitempty"`

	// Reference to a Endpoint in route53resolver to populate resolverEndpointId.
	// +kubebuilder:validation:Optional
	ResolverEndpointIDRef *v1.Reference `json:"resolverEndpointIdRef,omitempty" tf:"-"`

	// Selector for a Endpoint in route53resolver to populate resolverEndpointId.
	// +kubebuilder:validation:Optional
	ResolverEndpointIDSelector *v1.Selector `json:"resolverEndpointIdSelector,omitempty" tf:"-"`

	// The rule type. Valid values are FORWARD, SYSTEM and RECURSIVE.
	RuleType *string `json:"ruleType,omitempty" tf:"rule_type,omitempty"`

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

	// Configuration block(s) indicating the IPs that you want Resolver to forward DNS queries to (documented below).
	// This argument should only be specified for FORWARD type rules.
	TargetIP []TargetIPInitParameters `json:"targetIp,omitempty" tf:"target_ip,omitempty"`
}

func (*RuleInitParameters) DeepCopy added in v0.38.0

func (in *RuleInitParameters) DeepCopy() *RuleInitParameters

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

func (*RuleInitParameters) DeepCopyInto added in v0.38.0

func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters)

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

type RuleList

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

RuleList contains a list of Rules

func (*RuleList) DeepCopy

func (in *RuleList) DeepCopy() *RuleList

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

func (*RuleList) DeepCopyInto

func (in *RuleList) DeepCopyInto(out *RuleList)

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

func (*RuleList) DeepCopyObject

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

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

func (*RuleList) GetItems

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

GetItems of this RuleList.

type RuleObservation

type RuleObservation struct {

	// The ARN (Amazon Resource Name) for the resolver rule.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// DNS queries for this domain name are forwarded to the IP addresses that are specified using target_ip.
	DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"`

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

	// A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// When a rule is shared with another AWS account, the account ID of the account that the rule is shared with.
	OwnerID *string `json:"ownerId,omitempty" tf:"owner_id,omitempty"`

	// The ID of the outbound resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify using target_ip.
	// This argument should only be specified for FORWARD type rules.
	ResolverEndpointID *string `json:"resolverEndpointId,omitempty" tf:"resolver_endpoint_id,omitempty"`

	// The rule type. Valid values are FORWARD, SYSTEM and RECURSIVE.
	RuleType *string `json:"ruleType,omitempty" tf:"rule_type,omitempty"`

	// Whether the rules is shared and, if so, whether the current account is sharing the rule with another account, or another account is sharing the rule with the current account.
	// Values are NOT_SHARED, SHARED_BY_ME or SHARED_WITH_ME
	ShareStatus *string `json:"shareStatus,omitempty" tf:"share_status,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"`

	// Configuration block(s) indicating the IPs that you want Resolver to forward DNS queries to (documented below).
	// This argument should only be specified for FORWARD type rules.
	TargetIP []TargetIPObservation `json:"targetIp,omitempty" tf:"target_ip,omitempty"`
}

func (*RuleObservation) DeepCopy

func (in *RuleObservation) DeepCopy() *RuleObservation

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

func (*RuleObservation) DeepCopyInto

func (in *RuleObservation) DeepCopyInto(out *RuleObservation)

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

type RuleParameters

type RuleParameters struct {

	// DNS queries for this domain name are forwarded to the IP addresses that are specified using target_ip.
	// +kubebuilder:validation:Optional
	DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"`

	// A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
	// +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:"-"`

	// The ID of the outbound resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify using target_ip.
	// This argument should only be specified for FORWARD type rules.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53resolver/v1beta1.Endpoint
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ResolverEndpointID *string `json:"resolverEndpointId,omitempty" tf:"resolver_endpoint_id,omitempty"`

	// Reference to a Endpoint in route53resolver to populate resolverEndpointId.
	// +kubebuilder:validation:Optional
	ResolverEndpointIDRef *v1.Reference `json:"resolverEndpointIdRef,omitempty" tf:"-"`

	// Selector for a Endpoint in route53resolver to populate resolverEndpointId.
	// +kubebuilder:validation:Optional
	ResolverEndpointIDSelector *v1.Selector `json:"resolverEndpointIdSelector,omitempty" tf:"-"`

	// The rule type. Valid values are FORWARD, SYSTEM and RECURSIVE.
	// +kubebuilder:validation:Optional
	RuleType *string `json:"ruleType,omitempty" tf:"rule_type,omitempty"`

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

	// Configuration block(s) indicating the IPs that you want Resolver to forward DNS queries to (documented below).
	// This argument should only be specified for FORWARD type rules.
	// +kubebuilder:validation:Optional
	TargetIP []TargetIPParameters `json:"targetIp,omitempty" tf:"target_ip,omitempty"`
}

func (*RuleParameters) DeepCopy

func (in *RuleParameters) DeepCopy() *RuleParameters

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

func (*RuleParameters) DeepCopyInto

func (in *RuleParameters) DeepCopyInto(out *RuleParameters)

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

type RuleSpec

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

RuleSpec defines the desired state of Rule

func (*RuleSpec) DeepCopy

func (in *RuleSpec) DeepCopy() *RuleSpec

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

func (*RuleSpec) DeepCopyInto

func (in *RuleSpec) DeepCopyInto(out *RuleSpec)

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

type RuleStatus

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

RuleStatus defines the observed state of Rule.

func (*RuleStatus) DeepCopy

func (in *RuleStatus) DeepCopy() *RuleStatus

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

func (*RuleStatus) DeepCopyInto

func (in *RuleStatus) DeepCopyInto(out *RuleStatus)

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

type TargetIPInitParameters added in v0.38.0

type TargetIPInitParameters struct {

	// One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// The port at ip that you want to forward DNS queries to. Default value is 53.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The protocol for the resolver endpoint. Valid values can be found in the AWS documentation. Default value is Do53.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}

func (*TargetIPInitParameters) DeepCopy added in v0.38.0

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

func (*TargetIPInitParameters) DeepCopyInto added in v0.38.0

func (in *TargetIPInitParameters) DeepCopyInto(out *TargetIPInitParameters)

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

type TargetIPObservation

type TargetIPObservation struct {

	// One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// The port at ip that you want to forward DNS queries to. Default value is 53.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The protocol for the resolver endpoint. Valid values can be found in the AWS documentation. Default value is Do53.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}

func (*TargetIPObservation) DeepCopy

func (in *TargetIPObservation) DeepCopy() *TargetIPObservation

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

func (*TargetIPObservation) DeepCopyInto

func (in *TargetIPObservation) DeepCopyInto(out *TargetIPObservation)

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

type TargetIPParameters

type TargetIPParameters struct {

	// One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.
	// +kubebuilder:validation:Optional
	IP *string `json:"ip" tf:"ip,omitempty"`

	// The port at ip that you want to forward DNS queries to. Default value is 53.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The protocol for the resolver endpoint. Valid values can be found in the AWS documentation. Default value is Do53.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}

func (*TargetIPParameters) DeepCopy

func (in *TargetIPParameters) DeepCopy() *TargetIPParameters

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

func (*TargetIPParameters) DeepCopyInto

func (in *TargetIPParameters) DeepCopyInto(out *TargetIPParameters)

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