v1beta1

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Connection_Kind             = "Connection"
	Connection_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Connection_Kind}.String()
	Connection_KindAPIVersion   = Connection_Kind + "." + CRDGroupVersion.String()
	Connection_GroupVersionKind = CRDGroupVersion.WithKind(Connection_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 (
	Host_Kind             = "Host"
	Host_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Host_Kind}.String()
	Host_KindAPIVersion   = Host_Kind + "." + CRDGroupVersion.String()
	Host_GroupVersionKind = CRDGroupVersion.WithKind(Host_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   ConnectionSpec   `json:"spec"`
	Status ConnectionStatus `json:"status,omitempty"`
}

Connection is the Schema for the Connections API. Provides a CodeStar Connection +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 (*Connection) DeepCopy

func (in *Connection) DeepCopy() *Connection

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

func (*Connection) DeepCopyInto

func (in *Connection) DeepCopyInto(out *Connection)

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

func (*Connection) DeepCopyObject

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

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

func (*Connection) GetCondition

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

GetCondition of this Connection.

func (*Connection) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Connection

func (*Connection) GetDeletionPolicy

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

GetDeletionPolicy of this Connection.

func (*Connection) GetID

func (tr *Connection) GetID() string

GetID returns ID of underlying Terraform resource of this Connection

func (*Connection) GetInitParameters added in v0.38.0

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

GetInitParameters of this Connection

func (*Connection) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Connection.

func (*Connection) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Connection

func (*Connection) GetObservation

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

GetObservation of this Connection

func (*Connection) GetParameters

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

GetParameters of this Connection

func (*Connection) GetProviderConfigReference

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

GetProviderConfigReference of this Connection.

func (*Connection) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Connection.

func (*Connection) GetTerraformResourceType

func (mg *Connection) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Connection

func (*Connection) GetTerraformSchemaVersion

func (tr *Connection) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Connection) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Connection.

func (*Connection) Hub added in v0.47.2

func (tr *Connection) Hub()

Hub marks this type as a conversion hub.

func (*Connection) LateInitialize

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

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

func (*Connection) SetConditions

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

SetConditions of this Connection.

func (*Connection) SetDeletionPolicy

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

SetDeletionPolicy of this Connection.

func (*Connection) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Connection.

func (*Connection) SetObservation

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

SetObservation for this Connection

func (*Connection) SetParameters

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

SetParameters for this Connection

func (*Connection) SetProviderConfigReference

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

SetProviderConfigReference of this Connection.

func (*Connection) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Connection.

func (*Connection) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Connection.

type ConnectionInitParameters added in v0.38.0

type ConnectionInitParameters struct {

	// The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with provider_type
	HostArn *string `json:"hostArn,omitempty" tf:"host_arn,omitempty"`

	// The name of the connection to be created. The name must be unique in the calling AWS account. Changing name will create a new resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the external provider where your third-party code repository is configured. Valid values are Bitbucket, GitHub, GitHubEnterpriseServer, GitLab or GitLabSelfManaged. Changing provider_type will create a new resource. Conflicts with host_arn
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

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

func (*ConnectionInitParameters) DeepCopy added in v0.38.0

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

func (*ConnectionInitParameters) DeepCopyInto added in v0.38.0

func (in *ConnectionInitParameters) DeepCopyInto(out *ConnectionInitParameters)

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

type ConnectionList

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

ConnectionList contains a list of Connections

func (*ConnectionList) DeepCopy

func (in *ConnectionList) DeepCopy() *ConnectionList

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

func (*ConnectionList) DeepCopyInto

func (in *ConnectionList) DeepCopyInto(out *ConnectionList)

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

func (*ConnectionList) DeepCopyObject

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

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

func (*ConnectionList) GetItems

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

GetItems of this ConnectionList.

type ConnectionObservation

type ConnectionObservation struct {

	// The codestar connection ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The codestar connection status. Possible values are PENDING, AVAILABLE and ERROR.
	ConnectionStatus *string `json:"connectionStatus,omitempty" tf:"connection_status,omitempty"`

	// The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with provider_type
	HostArn *string `json:"hostArn,omitempty" tf:"host_arn,omitempty"`

	// The codestar connection ARN.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the connection to be created. The name must be unique in the calling AWS account. Changing name will create a new resource.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the external provider where your third-party code repository is configured. Valid values are Bitbucket, GitHub, GitHubEnterpriseServer, GitLab or GitLabSelfManaged. Changing provider_type will create a new resource. Conflicts with host_arn
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,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 (*ConnectionObservation) DeepCopy

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

func (*ConnectionObservation) DeepCopyInto

func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation)

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

type ConnectionParameters

type ConnectionParameters struct {

	// The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with provider_type
	// +kubebuilder:validation:Optional
	HostArn *string `json:"hostArn,omitempty" tf:"host_arn,omitempty"`

	// The name of the connection to be created. The name must be unique in the calling AWS account. Changing name will create a new resource.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the external provider where your third-party code repository is configured. Valid values are Bitbucket, GitHub, GitHubEnterpriseServer, GitLab or GitLabSelfManaged. Changing provider_type will create a new resource. Conflicts with host_arn
	// +kubebuilder:validation:Optional
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

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

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

func (*ConnectionParameters) DeepCopy

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

func (*ConnectionParameters) DeepCopyInto

func (in *ConnectionParameters) DeepCopyInto(out *ConnectionParameters)

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

type ConnectionSpec

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

ConnectionSpec defines the desired state of Connection

func (*ConnectionSpec) DeepCopy

func (in *ConnectionSpec) DeepCopy() *ConnectionSpec

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

func (*ConnectionSpec) DeepCopyInto

func (in *ConnectionSpec) DeepCopyInto(out *ConnectionSpec)

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

type ConnectionStatus

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

ConnectionStatus defines the observed state of Connection.

func (*ConnectionStatus) DeepCopy

func (in *ConnectionStatus) DeepCopy() *ConnectionStatus

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

func (*ConnectionStatus) DeepCopyInto

func (in *ConnectionStatus) DeepCopyInto(out *ConnectionStatus)

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

type Host

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

Host is the Schema for the Hosts API. Provides a CodeStar Host +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 (*Host) ConvertFrom added in v1.7.0

func (tr *Host) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the Host type.

func (*Host) ConvertTo added in v1.7.0

func (tr *Host) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this Host to the hub type.

func (*Host) DeepCopy

func (in *Host) DeepCopy() *Host

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

func (*Host) DeepCopyInto

func (in *Host) DeepCopyInto(out *Host)

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

func (*Host) DeepCopyObject

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

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

func (*Host) GetCondition

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

GetCondition of this Host.

func (*Host) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Host

func (*Host) GetDeletionPolicy

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

GetDeletionPolicy of this Host.

func (*Host) GetID

func (tr *Host) GetID() string

GetID returns ID of underlying Terraform resource of this Host

func (*Host) GetInitParameters added in v0.38.0

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

GetInitParameters of this Host

func (*Host) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Host.

func (*Host) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Host

func (*Host) GetObservation

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

GetObservation of this Host

func (*Host) GetParameters

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

GetParameters of this Host

func (*Host) GetProviderConfigReference

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

GetProviderConfigReference of this Host.

func (*Host) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Host.

func (*Host) GetTerraformResourceType

func (mg *Host) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Host

func (*Host) GetTerraformSchemaVersion

func (tr *Host) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Host) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Host.

func (*Host) LateInitialize

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

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

func (*Host) SetConditions

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

SetConditions of this Host.

func (*Host) SetDeletionPolicy

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

SetDeletionPolicy of this Host.

func (*Host) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Host.

func (*Host) SetObservation

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

SetObservation for this Host

func (*Host) SetParameters

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

SetParameters for this Host

func (*Host) SetProviderConfigReference

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

SetProviderConfigReference of this Host.

func (*Host) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Host.

func (*Host) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Host.

type HostInitParameters added in v0.38.0

type HostInitParameters struct {

	// The name of the host to be created. The name must be unique in the calling AWS account.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The endpoint of the infrastructure to be represented by the host after it is created.
	ProviderEndpoint *string `json:"providerEndpoint,omitempty" tf:"provider_endpoint,omitempty"`

	// The name of the external provider where your third-party code repository is configured.
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

	// The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
	VPCConfiguration []VPCConfigurationInitParameters `json:"vpcConfiguration,omitempty" tf:"vpc_configuration,omitempty"`
}

func (*HostInitParameters) DeepCopy added in v0.38.0

func (in *HostInitParameters) DeepCopy() *HostInitParameters

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

func (*HostInitParameters) DeepCopyInto added in v0.38.0

func (in *HostInitParameters) DeepCopyInto(out *HostInitParameters)

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

type HostList

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

HostList contains a list of Hosts

func (*HostList) DeepCopy

func (in *HostList) DeepCopy() *HostList

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

func (*HostList) DeepCopyInto

func (in *HostList) DeepCopyInto(out *HostList)

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

func (*HostList) DeepCopyObject

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

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

func (*HostList) GetItems

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

GetItems of this HostList.

type HostObservation

type HostObservation struct {

	// The CodeStar Host ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The CodeStar Host ARN.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the host to be created. The name must be unique in the calling AWS account.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The endpoint of the infrastructure to be represented by the host after it is created.
	ProviderEndpoint *string `json:"providerEndpoint,omitempty" tf:"provider_endpoint,omitempty"`

	// The name of the external provider where your third-party code repository is configured.
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

	// The CodeStar Host status. Possible values are PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
	VPCConfiguration []VPCConfigurationObservation `json:"vpcConfiguration,omitempty" tf:"vpc_configuration,omitempty"`
}

func (*HostObservation) DeepCopy

func (in *HostObservation) DeepCopy() *HostObservation

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

func (*HostObservation) DeepCopyInto

func (in *HostObservation) DeepCopyInto(out *HostObservation)

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

type HostParameters

type HostParameters struct {

	// The name of the host to be created. The name must be unique in the calling AWS account.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The endpoint of the infrastructure to be represented by the host after it is created.
	// +kubebuilder:validation:Optional
	ProviderEndpoint *string `json:"providerEndpoint,omitempty" tf:"provider_endpoint,omitempty"`

	// The name of the external provider where your third-party code repository is configured.
	// +kubebuilder:validation:Optional
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,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 VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
	// +kubebuilder:validation:Optional
	VPCConfiguration []VPCConfigurationParameters `json:"vpcConfiguration,omitempty" tf:"vpc_configuration,omitempty"`
}

func (*HostParameters) DeepCopy

func (in *HostParameters) DeepCopy() *HostParameters

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

func (*HostParameters) DeepCopyInto

func (in *HostParameters) DeepCopyInto(out *HostParameters)

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

type HostSpec

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

HostSpec defines the desired state of Host

func (*HostSpec) DeepCopy

func (in *HostSpec) DeepCopy() *HostSpec

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

func (*HostSpec) DeepCopyInto

func (in *HostSpec) DeepCopyInto(out *HostSpec)

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

type HostStatus

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

HostStatus defines the observed state of Host.

func (*HostStatus) DeepCopy

func (in *HostStatus) DeepCopy() *HostStatus

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

func (*HostStatus) DeepCopyInto

func (in *HostStatus) DeepCopyInto(out *HostStatus)

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

type VPCConfigurationInitParameters added in v0.38.0

type VPCConfigurationInitParameters struct {

	// ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
	TLSCertificate *string `json:"tlsCertificate,omitempty" tf:"tls_certificate,omitempty"`

	// The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*VPCConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*VPCConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type VPCConfigurationObservation

type VPCConfigurationObservation struct {

	// ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
	TLSCertificate *string `json:"tlsCertificate,omitempty" tf:"tls_certificate,omitempty"`

	// The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*VPCConfigurationObservation) DeepCopy

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

func (*VPCConfigurationObservation) DeepCopyInto

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

type VPCConfigurationParameters

type VPCConfigurationParameters struct {

	// ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +kubebuilder:validation:Optional
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds" tf:"security_group_ids,omitempty"`

	// The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +kubebuilder:validation:Optional
	// +listType=set
	SubnetIds []*string `json:"subnetIds" tf:"subnet_ids,omitempty"`

	// The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
	// +kubebuilder:validation:Optional
	TLSCertificate *string `json:"tlsCertificate,omitempty" tf:"tls_certificate,omitempty"`

	// The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId" tf:"vpc_id,omitempty"`
}

func (*VPCConfigurationParameters) DeepCopy

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

func (*VPCConfigurationParameters) DeepCopyInto

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