v1beta1

package
v0.0.0-...-274ce61 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	ConditionalForwarder_Kind             = "ConditionalForwarder"
	ConditionalForwarder_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ConditionalForwarder_Kind}.String()
	ConditionalForwarder_KindAPIVersion   = ConditionalForwarder_Kind + "." + CRDGroupVersion.String()
	ConditionalForwarder_GroupVersionKind = CRDGroupVersion.WithKind(ConditionalForwarder_Kind)
)

Repository type metadata.

View Source
var (
	Directory_Kind             = "Directory"
	Directory_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Directory_Kind}.String()
	Directory_KindAPIVersion   = Directory_Kind + "." + CRDGroupVersion.String()
	Directory_GroupVersionKind = CRDGroupVersion.WithKind(Directory_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 (
	SharedDirectory_Kind             = "SharedDirectory"
	SharedDirectory_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SharedDirectory_Kind}.String()
	SharedDirectory_KindAPIVersion   = SharedDirectory_Kind + "." + CRDGroupVersion.String()
	SharedDirectory_GroupVersionKind = CRDGroupVersion.WithKind(SharedDirectory_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ConditionalForwarder

type ConditionalForwarder struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.dnsIps)",message="dnsIps is a required parameter"
	Spec   ConditionalForwarderSpec   `json:"spec"`
	Status ConditionalForwarderStatus `json:"status,omitempty"`
}

ConditionalForwarder is the Schema for the ConditionalForwarders API. Provides a conditional forwarder for managed Microsoft AD in AWS Directory Service. +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 (*ConditionalForwarder) DeepCopy

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

func (*ConditionalForwarder) DeepCopyInto

func (in *ConditionalForwarder) DeepCopyInto(out *ConditionalForwarder)

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

func (*ConditionalForwarder) DeepCopyObject

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

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

func (*ConditionalForwarder) GetCondition

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

GetCondition of this ConditionalForwarder.

func (*ConditionalForwarder) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ConditionalForwarder

func (*ConditionalForwarder) GetDeletionPolicy

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

GetDeletionPolicy of this ConditionalForwarder.

func (*ConditionalForwarder) GetID

func (tr *ConditionalForwarder) GetID() string

GetID returns ID of underlying Terraform resource of this ConditionalForwarder

func (*ConditionalForwarder) GetManagementPolicy

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

GetManagementPolicy of this ConditionalForwarder.

func (*ConditionalForwarder) GetObservation

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

GetObservation of this ConditionalForwarder

func (*ConditionalForwarder) GetParameters

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

GetParameters of this ConditionalForwarder

func (*ConditionalForwarder) GetProviderConfigReference

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

GetProviderConfigReference of this ConditionalForwarder.

func (*ConditionalForwarder) GetProviderReference

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

GetProviderReference of this ConditionalForwarder. Deprecated: Use GetProviderConfigReference.

func (*ConditionalForwarder) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ConditionalForwarder.

func (*ConditionalForwarder) GetTerraformResourceType

func (mg *ConditionalForwarder) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ConditionalForwarder

func (*ConditionalForwarder) GetTerraformSchemaVersion

func (tr *ConditionalForwarder) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ConditionalForwarder) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ConditionalForwarder.

func (*ConditionalForwarder) LateInitialize

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

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

func (*ConditionalForwarder) ResolveReferences

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

ResolveReferences of this ConditionalForwarder.

func (*ConditionalForwarder) SetConditions

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

SetConditions of this ConditionalForwarder.

func (*ConditionalForwarder) SetDeletionPolicy

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

SetDeletionPolicy of this ConditionalForwarder.

func (*ConditionalForwarder) SetManagementPolicy

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

SetManagementPolicy of this ConditionalForwarder.

func (*ConditionalForwarder) SetObservation

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

SetObservation for this ConditionalForwarder

func (*ConditionalForwarder) SetParameters

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

SetParameters for this ConditionalForwarder

func (*ConditionalForwarder) SetProviderConfigReference

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

SetProviderConfigReference of this ConditionalForwarder.

func (*ConditionalForwarder) SetProviderReference

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

SetProviderReference of this ConditionalForwarder. Deprecated: Use SetProviderConfigReference.

func (*ConditionalForwarder) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ConditionalForwarder.

func (*ConditionalForwarder) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ConditionalForwarder.

type ConditionalForwarderList

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

ConditionalForwarderList contains a list of ConditionalForwarders

func (*ConditionalForwarderList) DeepCopy

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

func (*ConditionalForwarderList) DeepCopyInto

func (in *ConditionalForwarderList) DeepCopyInto(out *ConditionalForwarderList)

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

func (*ConditionalForwarderList) DeepCopyObject

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

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

func (*ConditionalForwarderList) GetItems

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

GetItems of this ConditionalForwarderList.

type ConditionalForwarderObservation

type ConditionalForwarderObservation struct {

	// A list of forwarder IP addresses.
	DNSIps []*string `json:"dnsIps,omitempty" tf:"dns_ips,omitempty"`

	// ID of directory.
	DirectoryID *string `json:"directoryId,omitempty" tf:"directory_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The fully qualified domain name of the remote domain for which forwarders will be used.
	RemoteDomainName *string `json:"remoteDomainName,omitempty" tf:"remote_domain_name,omitempty"`
}

func (*ConditionalForwarderObservation) DeepCopy

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

func (*ConditionalForwarderObservation) DeepCopyInto

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

type ConditionalForwarderParameters

type ConditionalForwarderParameters struct {

	// A list of forwarder IP addresses.
	// +kubebuilder:validation:Optional
	DNSIps []*string `json:"dnsIps,omitempty" tf:"dns_ips,omitempty"`

	// ID of directory.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/ds/v1beta1.Directory
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	DirectoryID *string `json:"directoryId,omitempty" tf:"directory_id,omitempty"`

	// Reference to a Directory in ds to populate directoryId.
	// +kubebuilder:validation:Optional
	DirectoryIDRef *v1.Reference `json:"directoryIdRef,omitempty" tf:"-"`

	// Selector for a Directory in ds to populate directoryId.
	// +kubebuilder:validation:Optional
	DirectoryIDSelector *v1.Selector `json:"directoryIdSelector,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 fully qualified domain name of the remote domain for which forwarders will be used.
	// +kubebuilder:validation:Required
	RemoteDomainName *string `json:"remoteDomainName" tf:"remote_domain_name,omitempty"`
}

func (*ConditionalForwarderParameters) DeepCopy

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

func (*ConditionalForwarderParameters) DeepCopyInto

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

type ConditionalForwarderSpec

type ConditionalForwarderSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ConditionalForwarderParameters `json:"forProvider"`
}

ConditionalForwarderSpec defines the desired state of ConditionalForwarder

func (*ConditionalForwarderSpec) DeepCopy

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

func (*ConditionalForwarderSpec) DeepCopyInto

func (in *ConditionalForwarderSpec) DeepCopyInto(out *ConditionalForwarderSpec)

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

type ConditionalForwarderStatus

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

ConditionalForwarderStatus defines the observed state of ConditionalForwarder.

func (*ConditionalForwarderStatus) DeepCopy

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

func (*ConditionalForwarderStatus) DeepCopyInto

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

type ConnectSettingsObservation

type ConnectSettingsObservation struct {
	AvailabilityZones []*string `json:"availabilityZones,omitempty" tf:"availability_zones,omitempty"`

	// The IP addresses of the AD Connector servers.
	ConnectIps []*string `json:"connectIps,omitempty" tf:"connect_ips,omitempty"`

	// The DNS IP addresses of the domain to connect to.
	CustomerDNSIps []*string `json:"customerDnsIps,omitempty" tf:"customer_dns_ips,omitempty"`

	// The username corresponding to the password provided.
	CustomerUsername *string `json:"customerUsername,omitempty" tf:"customer_username,omitempty"`

	// The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// The identifier of the VPC that the directory is in.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*ConnectSettingsObservation) DeepCopy

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

func (*ConnectSettingsObservation) DeepCopyInto

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

type ConnectSettingsParameters

type ConnectSettingsParameters struct {

	// The DNS IP addresses of the domain to connect to.
	// +kubebuilder:validation:Required
	CustomerDNSIps []*string `json:"customerDnsIps" tf:"customer_dns_ips,omitempty"`

	// The username corresponding to the password provided.
	// +kubebuilder:validation:Required
	CustomerUsername *string `json:"customerUsername" tf:"customer_username,omitempty"`

	// The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/ec2/v1beta1.Subnet
	// +kubebuilder:validation:Optional
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// References to Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIdsRefs []v1.Reference `json:"subnetIdsRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIdsSelector *v1.Selector `json:"subnetIdsSelector,omitempty" tf:"-"`

	// The identifier of the VPC that the directory is in.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/ec2/v1beta1.VPC
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +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 (*ConnectSettingsParameters) DeepCopy

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

func (*ConnectSettingsParameters) DeepCopyInto

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

type Directory

type Directory struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.passwordSecretRef)",message="passwordSecretRef is a required parameter"
	Spec   DirectorySpec   `json:"spec"`
	Status DirectoryStatus `json:"status,omitempty"`
}

Directory is the Schema for the Directorys API. Provides a directory in AWS Directory Service. +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 (*Directory) DeepCopy

func (in *Directory) DeepCopy() *Directory

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

func (*Directory) DeepCopyInto

func (in *Directory) DeepCopyInto(out *Directory)

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

func (*Directory) DeepCopyObject

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

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

func (*Directory) GetCondition

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

GetCondition of this Directory.

func (*Directory) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Directory

func (*Directory) GetDeletionPolicy

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

GetDeletionPolicy of this Directory.

func (*Directory) GetID

func (tr *Directory) GetID() string

GetID returns ID of underlying Terraform resource of this Directory

func (*Directory) GetManagementPolicy

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

GetManagementPolicy of this Directory.

func (*Directory) GetObservation

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

GetObservation of this Directory

func (*Directory) GetParameters

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

GetParameters of this Directory

func (*Directory) GetProviderConfigReference

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

GetProviderConfigReference of this Directory.

func (*Directory) GetProviderReference

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

GetProviderReference of this Directory. Deprecated: Use GetProviderConfigReference.

func (*Directory) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Directory.

func (*Directory) GetTerraformResourceType

func (mg *Directory) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Directory

func (*Directory) GetTerraformSchemaVersion

func (tr *Directory) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Directory) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Directory.

func (*Directory) LateInitialize

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

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

func (*Directory) ResolveReferences

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

ResolveReferences of this Directory.

func (*Directory) SetConditions

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

SetConditions of this Directory.

func (*Directory) SetDeletionPolicy

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

SetDeletionPolicy of this Directory.

func (*Directory) SetManagementPolicy

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

SetManagementPolicy of this Directory.

func (*Directory) SetObservation

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

SetObservation for this Directory

func (*Directory) SetParameters

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

SetParameters for this Directory

func (*Directory) SetProviderConfigReference

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

SetProviderConfigReference of this Directory.

func (*Directory) SetProviderReference

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

SetProviderReference of this Directory. Deprecated: Use SetProviderConfigReference.

func (*Directory) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Directory.

func (*Directory) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Directory.

type DirectoryList

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

DirectoryList contains a list of Directorys

func (*DirectoryList) DeepCopy

func (in *DirectoryList) DeepCopy() *DirectoryList

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

func (*DirectoryList) DeepCopyInto

func (in *DirectoryList) DeepCopyInto(out *DirectoryList)

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

func (*DirectoryList) DeepCopyObject

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

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

func (*DirectoryList) GetItems

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

GetItems of this DirectoryList.

type DirectoryObservation

type DirectoryObservation struct {

	// The access URL for the directory, such as http://alias.awsapps.com.
	AccessURL *string `json:"accessUrl,omitempty" tf:"access_url,omitempty"`

	// The alias for the directory (must be unique amongst all aliases in AWS). Required for enable_sso.
	Alias *string `json:"alias,omitempty" tf:"alias,omitempty"`

	// Connector related information about the directory. Fields documented below.
	ConnectSettings []ConnectSettingsObservation `json:"connectSettings,omitempty" tf:"connect_settings,omitempty"`

	// A list of IP addresses of the DNS servers for the directory or connector.
	DNSIPAddresses []*string `json:"dnsIpAddresses,omitempty" tf:"dns_ip_addresses,omitempty"`

	// A textual description for the directory.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The number of domain controllers desired in the directory. Minimum value of 2. Scaling of domain controllers is only supported for MicrosoftAD directories.
	DesiredNumberOfDomainControllers *float64 `json:"desiredNumberOfDomainControllers,omitempty" tf:"desired_number_of_domain_controllers,omitempty"`

	// The MicrosoftAD edition (Standard or Enterprise). Defaults to Enterprise.
	Edition *string `json:"edition,omitempty" tf:"edition,omitempty"`

	// Whether to enable single-sign on for the directory. Requires alias. Defaults to false.
	EnableSso *bool `json:"enableSso,omitempty" tf:"enable_sso,omitempty"`

	// The directory identifier.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The fully qualified name for the directory, such as corp.example.com
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the security group created by the directory.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// The short name of the directory, such as CORP.
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`

	// (For SimpleAD and ADConnector types) The size of the directory (Small or Large are accepted values). Large by default.
	Size *string `json:"size,omitempty" tf:"size,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"`

	// The directory type (SimpleAD, ADConnector or MicrosoftAD are accepted values). Defaults to SimpleAD.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// VPC related information about the directory. Fields documented below.
	VPCSettings []VPCSettingsObservation `json:"vpcSettings,omitempty" tf:"vpc_settings,omitempty"`
}

func (*DirectoryObservation) DeepCopy

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

func (*DirectoryObservation) DeepCopyInto

func (in *DirectoryObservation) DeepCopyInto(out *DirectoryObservation)

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

type DirectoryParameters

type DirectoryParameters struct {

	// The alias for the directory (must be unique amongst all aliases in AWS). Required for enable_sso.
	// +kubebuilder:validation:Optional
	Alias *string `json:"alias,omitempty" tf:"alias,omitempty"`

	// Connector related information about the directory. Fields documented below.
	// +kubebuilder:validation:Optional
	ConnectSettings []ConnectSettingsParameters `json:"connectSettings,omitempty" tf:"connect_settings,omitempty"`

	// A textual description for the directory.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The number of domain controllers desired in the directory. Minimum value of 2. Scaling of domain controllers is only supported for MicrosoftAD directories.
	// +kubebuilder:validation:Optional
	DesiredNumberOfDomainControllers *float64 `json:"desiredNumberOfDomainControllers,omitempty" tf:"desired_number_of_domain_controllers,omitempty"`

	// The MicrosoftAD edition (Standard or Enterprise). Defaults to Enterprise.
	// +kubebuilder:validation:Optional
	Edition *string `json:"edition,omitempty" tf:"edition,omitempty"`

	// Whether to enable single-sign on for the directory. Requires alias. Defaults to false.
	// +kubebuilder:validation:Optional
	EnableSso *bool `json:"enableSso,omitempty" tf:"enable_sso,omitempty"`

	// The fully qualified name for the directory, such as corp.example.com
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The password for the directory administrator or connector user.
	// +kubebuilder:validation:Optional
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" 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 short name of the directory, such as CORP.
	// +kubebuilder:validation:Optional
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`

	// (For SimpleAD and ADConnector types) The size of the directory (Small or Large are accepted values). Large by default.
	// +kubebuilder:validation:Optional
	Size *string `json:"size,omitempty" tf:"size,omitempty"`

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

	// The directory type (SimpleAD, ADConnector or MicrosoftAD are accepted values). Defaults to SimpleAD.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// VPC related information about the directory. Fields documented below.
	// +kubebuilder:validation:Optional
	VPCSettings []VPCSettingsParameters `json:"vpcSettings,omitempty" tf:"vpc_settings,omitempty"`
}

func (*DirectoryParameters) DeepCopy

func (in *DirectoryParameters) DeepCopy() *DirectoryParameters

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

func (*DirectoryParameters) DeepCopyInto

func (in *DirectoryParameters) DeepCopyInto(out *DirectoryParameters)

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

type DirectorySpec

type DirectorySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DirectoryParameters `json:"forProvider"`
}

DirectorySpec defines the desired state of Directory

func (*DirectorySpec) DeepCopy

func (in *DirectorySpec) DeepCopy() *DirectorySpec

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

func (*DirectorySpec) DeepCopyInto

func (in *DirectorySpec) DeepCopyInto(out *DirectorySpec)

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

type DirectoryStatus

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

DirectoryStatus defines the observed state of Directory.

func (*DirectoryStatus) DeepCopy

func (in *DirectoryStatus) DeepCopy() *DirectoryStatus

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

func (*DirectoryStatus) DeepCopyInto

func (in *DirectoryStatus) DeepCopyInto(out *DirectoryStatus)

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

type SharedDirectory

type SharedDirectory struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.target)",message="target is a required parameter"
	Spec   SharedDirectorySpec   `json:"spec"`
	Status SharedDirectoryStatus `json:"status,omitempty"`
}

SharedDirectory is the Schema for the SharedDirectorys API. Manages a directory in your account (directory owner) shared with another account (directory consumer). +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 (*SharedDirectory) DeepCopy

func (in *SharedDirectory) DeepCopy() *SharedDirectory

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

func (*SharedDirectory) DeepCopyInto

func (in *SharedDirectory) DeepCopyInto(out *SharedDirectory)

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

func (*SharedDirectory) DeepCopyObject

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

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

func (*SharedDirectory) GetCondition

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

GetCondition of this SharedDirectory.

func (*SharedDirectory) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SharedDirectory

func (*SharedDirectory) GetDeletionPolicy

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

GetDeletionPolicy of this SharedDirectory.

func (*SharedDirectory) GetID

func (tr *SharedDirectory) GetID() string

GetID returns ID of underlying Terraform resource of this SharedDirectory

func (*SharedDirectory) GetManagementPolicy

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

GetManagementPolicy of this SharedDirectory.

func (*SharedDirectory) GetObservation

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

GetObservation of this SharedDirectory

func (*SharedDirectory) GetParameters

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

GetParameters of this SharedDirectory

func (*SharedDirectory) GetProviderConfigReference

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

GetProviderConfigReference of this SharedDirectory.

func (*SharedDirectory) GetProviderReference

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

GetProviderReference of this SharedDirectory. Deprecated: Use GetProviderConfigReference.

func (*SharedDirectory) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SharedDirectory.

func (*SharedDirectory) GetTerraformResourceType

func (mg *SharedDirectory) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SharedDirectory

func (*SharedDirectory) GetTerraformSchemaVersion

func (tr *SharedDirectory) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SharedDirectory) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SharedDirectory.

func (*SharedDirectory) LateInitialize

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

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

func (*SharedDirectory) ResolveReferences

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

ResolveReferences of this SharedDirectory.

func (*SharedDirectory) SetConditions

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

SetConditions of this SharedDirectory.

func (*SharedDirectory) SetDeletionPolicy

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

SetDeletionPolicy of this SharedDirectory.

func (*SharedDirectory) SetManagementPolicy

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

SetManagementPolicy of this SharedDirectory.

func (*SharedDirectory) SetObservation

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

SetObservation for this SharedDirectory

func (*SharedDirectory) SetParameters

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

SetParameters for this SharedDirectory

func (*SharedDirectory) SetProviderConfigReference

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

SetProviderConfigReference of this SharedDirectory.

func (*SharedDirectory) SetProviderReference

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

SetProviderReference of this SharedDirectory. Deprecated: Use SetProviderConfigReference.

func (*SharedDirectory) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SharedDirectory.

func (*SharedDirectory) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SharedDirectory.

type SharedDirectoryList

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

SharedDirectoryList contains a list of SharedDirectorys

func (*SharedDirectoryList) DeepCopy

func (in *SharedDirectoryList) DeepCopy() *SharedDirectoryList

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

func (*SharedDirectoryList) DeepCopyInto

func (in *SharedDirectoryList) DeepCopyInto(out *SharedDirectoryList)

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

func (*SharedDirectoryList) DeepCopyObject

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

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

func (*SharedDirectoryList) GetItems

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

GetItems of this SharedDirectoryList.

type SharedDirectoryObservation

type SharedDirectoryObservation struct {

	// Identifier of the Managed Microsoft AD directory that you want to share with other accounts.
	DirectoryID *string `json:"directoryId,omitempty" tf:"directory_id,omitempty"`

	// Identifier of the shared directory.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Method used when sharing a directory. Valid values are ORGANIZATIONS and HANDSHAKE. Default is HANDSHAKE.
	Method *string `json:"method,omitempty" tf:"method,omitempty"`

	// Identifier of the directory that is stored in the directory consumer account that corresponds to the shared directory in the owner account.
	SharedDirectoryID *string `json:"sharedDirectoryId,omitempty" tf:"shared_directory_id,omitempty"`

	// Identifier for the directory consumer account with whom the directory is to be shared. See below.
	Target []TargetObservation `json:"target,omitempty" tf:"target,omitempty"`
}

func (*SharedDirectoryObservation) DeepCopy

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

func (*SharedDirectoryObservation) DeepCopyInto

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

type SharedDirectoryParameters

type SharedDirectoryParameters struct {

	// Identifier of the Managed Microsoft AD directory that you want to share with other accounts.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/ds/v1beta1.Directory
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	DirectoryID *string `json:"directoryId,omitempty" tf:"directory_id,omitempty"`

	// Reference to a Directory in ds to populate directoryId.
	// +kubebuilder:validation:Optional
	DirectoryIDRef *v1.Reference `json:"directoryIdRef,omitempty" tf:"-"`

	// Selector for a Directory in ds to populate directoryId.
	// +kubebuilder:validation:Optional
	DirectoryIDSelector *v1.Selector `json:"directoryIdSelector,omitempty" tf:"-"`

	// Method used when sharing a directory. Valid values are ORGANIZATIONS and HANDSHAKE. Default is HANDSHAKE.
	// +kubebuilder:validation:Optional
	Method *string `json:"method,omitempty" tf:"method,omitempty"`

	// Message sent by the directory owner to the directory consumer to help the directory consumer administrator determine whether to approve or reject the share invitation.
	// +kubebuilder:validation:Optional
	NotesSecretRef *v1.SecretKeySelector `json:"notesSecretRef,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:"-"`

	// Identifier for the directory consumer account with whom the directory is to be shared. See below.
	// +kubebuilder:validation:Optional
	Target []TargetParameters `json:"target,omitempty" tf:"target,omitempty"`
}

func (*SharedDirectoryParameters) DeepCopy

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

func (*SharedDirectoryParameters) DeepCopyInto

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

type SharedDirectorySpec

type SharedDirectorySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SharedDirectoryParameters `json:"forProvider"`
}

SharedDirectorySpec defines the desired state of SharedDirectory

func (*SharedDirectorySpec) DeepCopy

func (in *SharedDirectorySpec) DeepCopy() *SharedDirectorySpec

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

func (*SharedDirectorySpec) DeepCopyInto

func (in *SharedDirectorySpec) DeepCopyInto(out *SharedDirectorySpec)

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

type SharedDirectoryStatus

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

SharedDirectoryStatus defines the observed state of SharedDirectory.

func (*SharedDirectoryStatus) DeepCopy

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

func (*SharedDirectoryStatus) DeepCopyInto

func (in *SharedDirectoryStatus) DeepCopyInto(out *SharedDirectoryStatus)

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

type TargetObservation

type TargetObservation struct {

	// Identifier of the directory consumer account.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Type of identifier to be used in the id field. Valid value is ACCOUNT. Default is ACCOUNT.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*TargetObservation) DeepCopy

func (in *TargetObservation) DeepCopy() *TargetObservation

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

func (*TargetObservation) DeepCopyInto

func (in *TargetObservation) DeepCopyInto(out *TargetObservation)

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

type TargetParameters

type TargetParameters struct {

	// Identifier of the directory consumer account.
	// +kubebuilder:validation:Required
	ID *string `json:"id" tf:"id,omitempty"`

	// Type of identifier to be used in the id field. Valid value is ACCOUNT. Default is ACCOUNT.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*TargetParameters) DeepCopy

func (in *TargetParameters) DeepCopy() *TargetParameters

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

func (*TargetParameters) DeepCopyInto

func (in *TargetParameters) DeepCopyInto(out *TargetParameters)

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

type VPCSettingsObservation

type VPCSettingsObservation struct {
	AvailabilityZones []*string `json:"availabilityZones,omitempty" tf:"availability_zones,omitempty"`

	// The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// The identifier of the VPC that the directory is in.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*VPCSettingsObservation) DeepCopy

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

func (*VPCSettingsObservation) DeepCopyInto

func (in *VPCSettingsObservation) DeepCopyInto(out *VPCSettingsObservation)

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

type VPCSettingsParameters

type VPCSettingsParameters struct {

	// The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/ec2/v1beta1.Subnet
	// +kubebuilder:validation:Optional
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// References to Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIdsRefs []v1.Reference `json:"subnetIdsRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIdsSelector *v1.Selector `json:"subnetIdsSelector,omitempty" tf:"-"`

	// The identifier of the VPC that the directory is in.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/ec2/v1beta1.VPC
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +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 (*VPCSettingsParameters) DeepCopy

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

func (*VPCSettingsParameters) DeepCopyInto

func (in *VPCSettingsParameters) DeepCopyInto(out *VPCSettingsParameters)

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