v1beta2

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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 ConnectSettingsInitParameters

type ConnectSettingsInitParameters struct {

	// The DNS IP addresses of the domain to connect to.
	// +listType=set
	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).
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +listType=set
	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/upbound/provider-aws/apis/ec2/v1beta1.VPC
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	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 (*ConnectSettingsInitParameters) DeepCopy

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

func (*ConnectSettingsInitParameters) DeepCopyInto

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

type ConnectSettingsObservation

type ConnectSettingsObservation struct {

	// +listType=set
	AvailabilityZones []*string `json:"availabilityZones,omitempty" tf:"availability_zones,omitempty"`

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

	// The DNS IP addresses of the domain to connect to.
	// +listType=set
	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).
	// +listType=set
	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:Optional
	// +listType=set
	CustomerDNSIps []*string `json:"customerDnsIps" tf:"customer_dns_ips,omitempty"`

	// The username corresponding to the password provided.
	// +kubebuilder:validation:Optional
	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/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +kubebuilder:validation:Optional
	// +listType=set
	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/upbound/provider-aws/apis/ec2/v1beta1.VPC
	// +crossplane:generate:reference:extractor=github.com/crossplane/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="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.passwordSecretRef)",message="spec.forProvider.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="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 (*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) GetInitParameters

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

GetInitParameters of this Directory

func (*Directory) GetManagementPolicies

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

GetManagementPolicies of this Directory.

func (*Directory) GetMergedParameters

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

GetInitParameters 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) 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) Hub

func (tr *Directory) Hub()

Hub marks this type as a conversion hub.

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

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) SetManagementPolicies

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

SetManagementPolicies 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) 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 DirectoryInitParameters

type DirectoryInitParameters struct {

	// 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 *ConnectSettingsInitParameters `json:"connectSettings,omitempty" tf:"connect_settings,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 fully qualified name for the directory, such as corp.example.com
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The password for the directory administrator or connector user.
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// 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.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,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 *VPCSettingsInitParameters `json:"vpcSettings,omitempty" tf:"vpc_settings,omitempty"`
}

func (*DirectoryInitParameters) DeepCopy

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

func (*DirectoryInitParameters) DeepCopyInto

func (in *DirectoryInitParameters) DeepCopyInto(out *DirectoryInitParameters)

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

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.
	// +listType=set
	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.
	// +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"`

	// 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
	// +mapType=granular
	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"`
	// 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 DirectoryInitParameters `json:"initProvider,omitempty"`
}

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="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.target) || (has(self.initProvider) && has(self.initProvider.target))",message="spec.forProvider.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="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 (*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) GetInitParameters

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

GetInitParameters of this SharedDirectory

func (*SharedDirectory) GetManagementPolicies

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

GetManagementPolicies of this SharedDirectory.

func (*SharedDirectory) GetMergedParameters

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

GetInitParameters 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) 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) Hub

func (tr *SharedDirectory) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies

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

SetManagementPolicies 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) 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 SharedDirectoryInitParameters

type SharedDirectoryInitParameters struct {

	// Identifier of the Managed Microsoft AD directory that you want to share with other accounts.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ds/v1beta2.Directory
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	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.
	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.
	NotesSecretRef *v1.SecretKeySelector `json:"notesSecretRef,omitempty" tf:"-"`

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

func (*SharedDirectoryInitParameters) DeepCopy

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

func (*SharedDirectoryInitParameters) DeepCopyInto

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

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/upbound/provider-aws/apis/ds/v1beta2.Directory
	// +crossplane:generate:reference:extractor=github.com/crossplane/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"`
	// 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 SharedDirectoryInitParameters `json:"initProvider,omitempty"`
}

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 TargetInitParameters

type TargetInitParameters 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 (*TargetInitParameters) DeepCopy

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

func (*TargetInitParameters) DeepCopyInto

func (in *TargetInitParameters) DeepCopyInto(out *TargetInitParameters)

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:Optional
	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 VPCSettingsInitParameters

type VPCSettingsInitParameters struct {

	// The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +listType=set
	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/upbound/provider-aws/apis/ec2/v1beta1.VPC
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	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 (*VPCSettingsInitParameters) DeepCopy

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

func (*VPCSettingsInitParameters) DeepCopyInto

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

type VPCSettingsObservation

type VPCSettingsObservation struct {

	// +listType=set
	AvailabilityZones []*string `json:"availabilityZones,omitempty" tf:"availability_zones,omitempty"`

	// The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
	// +listType=set
	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/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +kubebuilder:validation:Optional
	// +listType=set
	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/upbound/provider-aws/apis/ec2/v1beta1.VPC
	// +crossplane:generate:reference:extractor=github.com/crossplane/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