v1beta2

package
v1.18.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	ContainerService_Kind             = "ContainerService"
	ContainerService_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ContainerService_Kind}.String()
	ContainerService_KindAPIVersion   = ContainerService_Kind + "." + CRDGroupVersion.String()
	ContainerService_GroupVersionKind = CRDGroupVersion.WithKind(ContainerService_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 (
	Instance_Kind             = "Instance"
	Instance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String()
	Instance_KindAPIVersion   = Instance_Kind + "." + CRDGroupVersion.String()
	Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AddOnInitParameters

type AddOnInitParameters struct {

	// The daily time when an automatic snapshot will be created. Must be in HH:00 format, and in an hourly increment and specified in Coordinated Universal Time (UTC). The snapshot will be automatically created between the time specified and up to 45 minutes after.
	SnapshotTime *string `json:"snapshotTime,omitempty" tf:"snapshot_time,omitempty"`

	// The status of the add on. Valid Values: Enabled, Disabled.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The add-on type. There is currently only one valid type AutoSnapshot.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*AddOnInitParameters) DeepCopy

func (in *AddOnInitParameters) DeepCopy() *AddOnInitParameters

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

func (*AddOnInitParameters) DeepCopyInto

func (in *AddOnInitParameters) DeepCopyInto(out *AddOnInitParameters)

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

type AddOnObservation

type AddOnObservation struct {

	// The daily time when an automatic snapshot will be created. Must be in HH:00 format, and in an hourly increment and specified in Coordinated Universal Time (UTC). The snapshot will be automatically created between the time specified and up to 45 minutes after.
	SnapshotTime *string `json:"snapshotTime,omitempty" tf:"snapshot_time,omitempty"`

	// The status of the add on. Valid Values: Enabled, Disabled.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The add-on type. There is currently only one valid type AutoSnapshot.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*AddOnObservation) DeepCopy

func (in *AddOnObservation) DeepCopy() *AddOnObservation

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

func (*AddOnObservation) DeepCopyInto

func (in *AddOnObservation) DeepCopyInto(out *AddOnObservation)

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

type AddOnParameters

type AddOnParameters struct {

	// The daily time when an automatic snapshot will be created. Must be in HH:00 format, and in an hourly increment and specified in Coordinated Universal Time (UTC). The snapshot will be automatically created between the time specified and up to 45 minutes after.
	// +kubebuilder:validation:Optional
	SnapshotTime *string `json:"snapshotTime" tf:"snapshot_time,omitempty"`

	// The status of the add on. Valid Values: Enabled, Disabled.
	// +kubebuilder:validation:Optional
	Status *string `json:"status" tf:"status,omitempty"`

	// The add-on type. There is currently only one valid type AutoSnapshot.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*AddOnParameters) DeepCopy

func (in *AddOnParameters) DeepCopy() *AddOnParameters

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

func (*AddOnParameters) DeepCopyInto

func (in *AddOnParameters) DeepCopyInto(out *AddOnParameters)

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

type CertificateInitParameters

type CertificateInitParameters struct {

	// The name for the container service. Names must be of length 1 to 63, and be
	// unique within each AWS Region in your Lightsail account.
	CertificateName *string `json:"certificateName,omitempty" tf:"certificate_name,omitempty"`

	DomainNames []*string `json:"domainNames,omitempty" tf:"domain_names,omitempty"`
}

func (*CertificateInitParameters) DeepCopy

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

func (*CertificateInitParameters) DeepCopyInto

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

type CertificateObservation

type CertificateObservation struct {

	// The name for the container service. Names must be of length 1 to 63, and be
	// unique within each AWS Region in your Lightsail account.
	CertificateName *string `json:"certificateName,omitempty" tf:"certificate_name,omitempty"`

	DomainNames []*string `json:"domainNames,omitempty" tf:"domain_names,omitempty"`
}

func (*CertificateObservation) DeepCopy

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

func (*CertificateObservation) DeepCopyInto

func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation)

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

type CertificateParameters

type CertificateParameters struct {

	// The name for the container service. Names must be of length 1 to 63, and be
	// unique within each AWS Region in your Lightsail account.
	// +kubebuilder:validation:Optional
	CertificateName *string `json:"certificateName" tf:"certificate_name,omitempty"`

	// +kubebuilder:validation:Optional
	DomainNames []*string `json:"domainNames" tf:"domain_names,omitempty"`
}

func (*CertificateParameters) DeepCopy

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

func (*CertificateParameters) DeepCopyInto

func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters)

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

type ContainerService

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

ContainerService is the Schema for the ContainerServices API. Provides a resource to manage Lightsail container 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 (*ContainerService) DeepCopy

func (in *ContainerService) DeepCopy() *ContainerService

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

func (*ContainerService) DeepCopyInto

func (in *ContainerService) DeepCopyInto(out *ContainerService)

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

func (*ContainerService) DeepCopyObject

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

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

func (*ContainerService) GetCondition

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

GetCondition of this ContainerService.

func (*ContainerService) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ContainerService

func (*ContainerService) GetDeletionPolicy

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

GetDeletionPolicy of this ContainerService.

func (*ContainerService) GetID

func (tr *ContainerService) GetID() string

GetID returns ID of underlying Terraform resource of this ContainerService

func (*ContainerService) GetInitParameters

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

GetInitParameters of this ContainerService

func (*ContainerService) GetManagementPolicies

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

GetManagementPolicies of this ContainerService.

func (*ContainerService) GetMergedParameters

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

GetInitParameters of this ContainerService

func (*ContainerService) GetObservation

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

GetObservation of this ContainerService

func (*ContainerService) GetParameters

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

GetParameters of this ContainerService

func (*ContainerService) GetProviderConfigReference

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

GetProviderConfigReference of this ContainerService.

func (*ContainerService) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ContainerService.

func (*ContainerService) GetTerraformResourceType

func (mg *ContainerService) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ContainerService

func (*ContainerService) GetTerraformSchemaVersion

func (tr *ContainerService) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ContainerService) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ContainerService.

func (*ContainerService) Hub

func (tr *ContainerService) Hub()

Hub marks this type as a conversion hub.

func (*ContainerService) LateInitialize

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

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

func (*ContainerService) SetConditions

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

SetConditions of this ContainerService.

func (*ContainerService) SetDeletionPolicy

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

SetDeletionPolicy of this ContainerService.

func (*ContainerService) SetManagementPolicies

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

SetManagementPolicies of this ContainerService.

func (*ContainerService) SetObservation

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

SetObservation for this ContainerService

func (*ContainerService) SetParameters

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

SetParameters for this ContainerService

func (*ContainerService) SetProviderConfigReference

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

SetProviderConfigReference of this ContainerService.

func (*ContainerService) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ContainerService.

func (*ContainerService) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ContainerService.

type ContainerServiceInitParameters

type ContainerServiceInitParameters struct {

	// A Boolean value indicating whether the container service is disabled. Defaults to false.
	IsDisabled *bool `json:"isDisabled,omitempty" tf:"is_disabled,omitempty"`

	// The power specification for the container service. The power specifies the amount of memory,
	// the number of vCPUs, and the monthly price of each node of the container service.
	// Possible values: nano, micro, small, medium, large, xlarge.
	Power *string `json:"power,omitempty" tf:"power,omitempty"`

	// An object to describe the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. See Private Registry Access below for more details.
	PrivateRegistryAccess *PrivateRegistryAccessInitParameters `json:"privateRegistryAccess,omitempty" tf:"private_registry_access,omitempty"`

	// The public domain names to use with the container service, such as example.com
	// and www.example.com. You can specify up to four public domain names for a container service. The domain names that you
	// specify are used when you create a deployment with a container configured as the public endpoint of your container
	// service. If you don't specify public domain names, then you can use the default domain of the container service.
	// Defined below.
	PublicDomainNames *PublicDomainNamesInitParameters `json:"publicDomainNames,omitempty" tf:"public_domain_names,omitempty"`

	// The scale specification for the container service. The scale specifies the allocated compute
	// nodes of the container service.
	Scale *float64 `json:"scale,omitempty" tf:"scale,omitempty"`

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

func (*ContainerServiceInitParameters) DeepCopy

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

func (*ContainerServiceInitParameters) DeepCopyInto

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

type ContainerServiceList

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

ContainerServiceList contains a list of ContainerServices

func (*ContainerServiceList) DeepCopy

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

func (*ContainerServiceList) DeepCopyInto

func (in *ContainerServiceList) DeepCopyInto(out *ContainerServiceList)

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

func (*ContainerServiceList) DeepCopyObject

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

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

func (*ContainerServiceList) GetItems

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

GetItems of this ContainerServiceList.

type ContainerServiceObservation

type ContainerServiceObservation struct {

	// The Amazon Resource Name (ARN) of the container service.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The Availability Zone. Follows the format us-east-2a (case-sensitive).
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Same as name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A Boolean value indicating whether the container service is disabled. Defaults to false.
	IsDisabled *bool `json:"isDisabled,omitempty" tf:"is_disabled,omitempty"`

	// The power specification for the container service. The power specifies the amount of memory,
	// the number of vCPUs, and the monthly price of each node of the container service.
	// Possible values: nano, micro, small, medium, large, xlarge.
	Power *string `json:"power,omitempty" tf:"power,omitempty"`

	// The ID of the power of the container service.
	PowerID *string `json:"powerId,omitempty" tf:"power_id,omitempty"`

	// The principal ARN of the container service. The principal ARN can be used to create a trust
	// relationship between your standard AWS account and your Lightsail container service. This allows you to give your
	// service permission to access resources in your standard AWS account.
	PrincipalArn *string `json:"principalArn,omitempty" tf:"principal_arn,omitempty"`

	// The private domain name of the container service. The private domain name is accessible only
	// by other resources within the default virtual private cloud (VPC) of your Lightsail account.
	PrivateDomainName *string `json:"privateDomainName,omitempty" tf:"private_domain_name,omitempty"`

	// An object to describe the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. See Private Registry Access below for more details.
	PrivateRegistryAccess *PrivateRegistryAccessObservation `json:"privateRegistryAccess,omitempty" tf:"private_registry_access,omitempty"`

	// The public domain names to use with the container service, such as example.com
	// and www.example.com. You can specify up to four public domain names for a container service. The domain names that you
	// specify are used when you create a deployment with a container configured as the public endpoint of your container
	// service. If you don't specify public domain names, then you can use the default domain of the container service.
	// Defined below.
	PublicDomainNames *PublicDomainNamesObservation `json:"publicDomainNames,omitempty" tf:"public_domain_names,omitempty"`

	// The Lightsail resource type of the container service (i.e., ContainerService).
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// The scale specification for the container service. The scale specifies the allocated compute
	// nodes of the container service.
	Scale *float64 `json:"scale,omitempty" tf:"scale,omitempty"`

	// The current state of the container service.
	State *string `json:"state,omitempty" tf:"state,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 publicly accessible URL of the container service. If no public endpoint is specified in the
	// currentDeployment, this URL returns a 404 response.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*ContainerServiceObservation) DeepCopy

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

func (*ContainerServiceObservation) DeepCopyInto

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

type ContainerServiceParameters

type ContainerServiceParameters struct {

	// A Boolean value indicating whether the container service is disabled. Defaults to false.
	// +kubebuilder:validation:Optional
	IsDisabled *bool `json:"isDisabled,omitempty" tf:"is_disabled,omitempty"`

	// The power specification for the container service. The power specifies the amount of memory,
	// the number of vCPUs, and the monthly price of each node of the container service.
	// Possible values: nano, micro, small, medium, large, xlarge.
	// +kubebuilder:validation:Optional
	Power *string `json:"power,omitempty" tf:"power,omitempty"`

	// An object to describe the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. See Private Registry Access below for more details.
	// +kubebuilder:validation:Optional
	PrivateRegistryAccess *PrivateRegistryAccessParameters `json:"privateRegistryAccess,omitempty" tf:"private_registry_access,omitempty"`

	// The public domain names to use with the container service, such as example.com
	// and www.example.com. You can specify up to four public domain names for a container service. The domain names that you
	// specify are used when you create a deployment with a container configured as the public endpoint of your container
	// service. If you don't specify public domain names, then you can use the default domain of the container service.
	// Defined below.
	// +kubebuilder:validation:Optional
	PublicDomainNames *PublicDomainNamesParameters `json:"publicDomainNames,omitempty" tf:"public_domain_names,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 scale specification for the container service. The scale specifies the allocated compute
	// nodes of the container service.
	// +kubebuilder:validation:Optional
	Scale *float64 `json:"scale,omitempty" tf:"scale,omitempty"`

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

func (*ContainerServiceParameters) DeepCopy

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

func (*ContainerServiceParameters) DeepCopyInto

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

type ContainerServiceSpec

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

ContainerServiceSpec defines the desired state of ContainerService

func (*ContainerServiceSpec) DeepCopy

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

func (*ContainerServiceSpec) DeepCopyInto

func (in *ContainerServiceSpec) DeepCopyInto(out *ContainerServiceSpec)

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

type ContainerServiceStatus

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

ContainerServiceStatus defines the observed state of ContainerService.

func (*ContainerServiceStatus) DeepCopy

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

func (*ContainerServiceStatus) DeepCopyInto

func (in *ContainerServiceStatus) DeepCopyInto(out *ContainerServiceStatus)

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

type EcrImagePullerRoleInitParameters

type EcrImagePullerRoleInitParameters struct {

	// A Boolean value that indicates whether to activate the role. The default is false.
	IsActive *bool `json:"isActive,omitempty" tf:"is_active,omitempty"`
}

func (*EcrImagePullerRoleInitParameters) DeepCopy

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

func (*EcrImagePullerRoleInitParameters) DeepCopyInto

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

type EcrImagePullerRoleObservation

type EcrImagePullerRoleObservation struct {

	// A Boolean value that indicates whether to activate the role. The default is false.
	IsActive *bool `json:"isActive,omitempty" tf:"is_active,omitempty"`

	// The principal ARN of the container service. The principal ARN can be used to create a trust
	// relationship between your standard AWS account and your Lightsail container service. This allows you to give your
	// service permission to access resources in your standard AWS account.
	PrincipalArn *string `json:"principalArn,omitempty" tf:"principal_arn,omitempty"`
}

func (*EcrImagePullerRoleObservation) DeepCopy

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

func (*EcrImagePullerRoleObservation) DeepCopyInto

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

type EcrImagePullerRoleParameters

type EcrImagePullerRoleParameters struct {

	// A Boolean value that indicates whether to activate the role. The default is false.
	// +kubebuilder:validation:Optional
	IsActive *bool `json:"isActive,omitempty" tf:"is_active,omitempty"`
}

func (*EcrImagePullerRoleParameters) DeepCopy

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

func (*EcrImagePullerRoleParameters) DeepCopyInto

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

type Instance

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

Instance is the Schema for the Instances API. Provides an Lightsail Instance +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 (*Instance) DeepCopy

func (in *Instance) DeepCopy() *Instance

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

func (*Instance) DeepCopyInto

func (in *Instance) DeepCopyInto(out *Instance)

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

func (*Instance) DeepCopyObject

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

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

func (*Instance) GetCondition

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

GetCondition of this Instance.

func (*Instance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Instance

func (*Instance) GetDeletionPolicy

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

GetDeletionPolicy of this Instance.

func (*Instance) GetID

func (tr *Instance) GetID() string

GetID returns ID of underlying Terraform resource of this Instance

func (*Instance) GetInitParameters

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

GetInitParameters of this Instance

func (*Instance) GetManagementPolicies

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

GetManagementPolicies of this Instance.

func (*Instance) GetMergedParameters

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

GetInitParameters of this Instance

func (*Instance) GetObservation

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

GetObservation of this Instance

func (*Instance) GetParameters

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

GetParameters of this Instance

func (*Instance) GetProviderConfigReference

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

GetProviderConfigReference of this Instance.

func (*Instance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Instance.

func (*Instance) GetTerraformResourceType

func (mg *Instance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Instance

func (*Instance) GetTerraformSchemaVersion

func (tr *Instance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Instance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Instance.

func (*Instance) Hub

func (tr *Instance) Hub()

Hub marks this type as a conversion hub.

func (*Instance) LateInitialize

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

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

func (*Instance) SetConditions

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

SetConditions of this Instance.

func (*Instance) SetDeletionPolicy

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

SetDeletionPolicy of this Instance.

func (*Instance) SetManagementPolicies

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

SetManagementPolicies of this Instance.

func (*Instance) SetObservation

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

SetObservation for this Instance

func (*Instance) SetParameters

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

SetParameters for this Instance

func (*Instance) SetProviderConfigReference

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

SetProviderConfigReference of this Instance.

func (*Instance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Instance.

func (*Instance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Instance.

type InstanceInitParameters

type InstanceInitParameters struct {

	// The add on configuration for the instance. Detailed below.
	AddOn *AddOnInitParameters `json:"addOn,omitempty" tf:"add_on,omitempty"`

	// The Availability Zone in which to create your instance. A
	// list of available zones can be obtained using the AWS CLI command:
	// aws lightsail get-regions --include-availability-zones.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// The ID for a virtual private server image. A list of available
	// blueprint IDs can be obtained using the AWS CLI command:
	// aws lightsail get-blueprints.
	BlueprintID *string `json:"blueprintId,omitempty" tf:"blueprint_id,omitempty"`

	// The bundle of specification information. A list of available
	// bundle IDs can be obtained using the AWS CLI command:
	// aws lightsail get-bundles.
	BundleID *string `json:"bundleId,omitempty" tf:"bundle_id,omitempty"`

	// The IP address type of the Lightsail Instance. Valid Values: dualstack | ipv4.
	IPAddressType *string `json:"ipAddressType,omitempty" tf:"ip_address_type,omitempty"`

	// The name of your key pair. Created in the
	// Lightsail console (cannot use aws_key_pair at this time)
	KeyPairName *string `json:"keyPairName,omitempty" tf:"key_pair_name,omitempty"`

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

	// Single lined launch script as a string to configure server with additional user data
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
}

func (*InstanceInitParameters) DeepCopy

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

func (*InstanceInitParameters) DeepCopyInto

func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters)

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

type InstanceList

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

InstanceList contains a list of Instances

func (*InstanceList) DeepCopy

func (in *InstanceList) DeepCopy() *InstanceList

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

func (*InstanceList) DeepCopyInto

func (in *InstanceList) DeepCopyInto(out *InstanceList)

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

func (*InstanceList) DeepCopyObject

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

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

func (*InstanceList) GetItems

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

GetItems of this InstanceList.

type InstanceObservation

type InstanceObservation struct {

	// The add on configuration for the instance. Detailed below.
	AddOn *AddOnObservation `json:"addOn,omitempty" tf:"add_on,omitempty"`

	// The ARN of the Lightsail instance (matches id).
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The Availability Zone in which to create your instance. A
	// list of available zones can be obtained using the AWS CLI command:
	// aws lightsail get-regions --include-availability-zones.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// The ID for a virtual private server image. A list of available
	// blueprint IDs can be obtained using the AWS CLI command:
	// aws lightsail get-blueprints.
	BlueprintID *string `json:"blueprintId,omitempty" tf:"blueprint_id,omitempty"`

	// The bundle of specification information. A list of available
	// bundle IDs can be obtained using the AWS CLI command:
	// aws lightsail get-bundles.
	BundleID *string `json:"bundleId,omitempty" tf:"bundle_id,omitempty"`

	// The number of vCPUs the instance has.
	CPUCount *float64 `json:"cpuCount,omitempty" tf:"cpu_count,omitempty"`

	// The timestamp when the instance was created.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// The ARN of the Lightsail instance (matches arn).
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The IP address type of the Lightsail Instance. Valid Values: dualstack | ipv4.
	IPAddressType *string `json:"ipAddressType,omitempty" tf:"ip_address_type,omitempty"`

	// List of IPv6 addresses for the Lightsail instance.
	IPv6Addresses []*string `json:"ipv6Addresses,omitempty" tf:"ipv6_addresses,omitempty"`

	// A Boolean value indicating whether this instance has a static IP assigned to it.
	IsStaticIP *bool `json:"isStaticIp,omitempty" tf:"is_static_ip,omitempty"`

	// The name of your key pair. Created in the
	// Lightsail console (cannot use aws_key_pair at this time)
	KeyPairName *string `json:"keyPairName,omitempty" tf:"key_pair_name,omitempty"`

	// The private IP address of the instance.
	PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"`

	// The public IP address of the instance.
	PublicIPAddress *string `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"`

	// The amount of RAM in GB on the instance (e.g., 1.0).
	RAMSize *float64 `json:"ramSize,omitempty" tf:"ram_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"`

	// Single lined launch script as a string to configure server with additional user data
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`

	// The user name for connecting to the instance (e.g., ec2-user).
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*InstanceObservation) DeepCopy

func (in *InstanceObservation) DeepCopy() *InstanceObservation

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

func (*InstanceObservation) DeepCopyInto

func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)

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

type InstanceParameters

type InstanceParameters struct {

	// The add on configuration for the instance. Detailed below.
	// +kubebuilder:validation:Optional
	AddOn *AddOnParameters `json:"addOn,omitempty" tf:"add_on,omitempty"`

	// The Availability Zone in which to create your instance. A
	// list of available zones can be obtained using the AWS CLI command:
	// aws lightsail get-regions --include-availability-zones.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// The ID for a virtual private server image. A list of available
	// blueprint IDs can be obtained using the AWS CLI command:
	// aws lightsail get-blueprints.
	// +kubebuilder:validation:Optional
	BlueprintID *string `json:"blueprintId,omitempty" tf:"blueprint_id,omitempty"`

	// The bundle of specification information. A list of available
	// bundle IDs can be obtained using the AWS CLI command:
	// aws lightsail get-bundles.
	// +kubebuilder:validation:Optional
	BundleID *string `json:"bundleId,omitempty" tf:"bundle_id,omitempty"`

	// The IP address type of the Lightsail Instance. Valid Values: dualstack | ipv4.
	// +kubebuilder:validation:Optional
	IPAddressType *string `json:"ipAddressType,omitempty" tf:"ip_address_type,omitempty"`

	// The name of your key pair. Created in the
	// Lightsail console (cannot use aws_key_pair at this time)
	// +kubebuilder:validation:Optional
	KeyPairName *string `json:"keyPairName,omitempty" tf:"key_pair_name,omitempty"`

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

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

	// Single lined launch script as a string to configure server with additional user data
	// +kubebuilder:validation:Optional
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
}

func (*InstanceParameters) DeepCopy

func (in *InstanceParameters) DeepCopy() *InstanceParameters

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

func (*InstanceParameters) DeepCopyInto

func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)

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

type InstanceSpec

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

InstanceSpec defines the desired state of Instance

func (*InstanceSpec) DeepCopy

func (in *InstanceSpec) DeepCopy() *InstanceSpec

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

func (*InstanceSpec) DeepCopyInto

func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)

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

type InstanceStatus

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

InstanceStatus defines the observed state of Instance.

func (*InstanceStatus) DeepCopy

func (in *InstanceStatus) DeepCopy() *InstanceStatus

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

func (*InstanceStatus) DeepCopyInto

func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)

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

type PrivateRegistryAccessInitParameters

type PrivateRegistryAccessInitParameters struct {

	// Describes a request to configure an Amazon Lightsail container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. See ECR Image Puller Role below for more details.
	EcrImagePullerRole *EcrImagePullerRoleInitParameters `json:"ecrImagePullerRole,omitempty" tf:"ecr_image_puller_role,omitempty"`
}

func (*PrivateRegistryAccessInitParameters) DeepCopy

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

func (*PrivateRegistryAccessInitParameters) DeepCopyInto

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

type PrivateRegistryAccessObservation

type PrivateRegistryAccessObservation struct {

	// Describes a request to configure an Amazon Lightsail container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. See ECR Image Puller Role below for more details.
	EcrImagePullerRole *EcrImagePullerRoleObservation `json:"ecrImagePullerRole,omitempty" tf:"ecr_image_puller_role,omitempty"`
}

func (*PrivateRegistryAccessObservation) DeepCopy

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

func (*PrivateRegistryAccessObservation) DeepCopyInto

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

type PrivateRegistryAccessParameters

type PrivateRegistryAccessParameters struct {

	// Describes a request to configure an Amazon Lightsail container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. See ECR Image Puller Role below for more details.
	// +kubebuilder:validation:Optional
	EcrImagePullerRole *EcrImagePullerRoleParameters `json:"ecrImagePullerRole,omitempty" tf:"ecr_image_puller_role,omitempty"`
}

func (*PrivateRegistryAccessParameters) DeepCopy

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

func (*PrivateRegistryAccessParameters) DeepCopyInto

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

type PublicDomainNamesInitParameters

type PublicDomainNamesInitParameters struct {
	Certificate []CertificateInitParameters `json:"certificate,omitempty" tf:"certificate,omitempty"`
}

func (*PublicDomainNamesInitParameters) DeepCopy

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

func (*PublicDomainNamesInitParameters) DeepCopyInto

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

type PublicDomainNamesObservation

type PublicDomainNamesObservation struct {
	Certificate []CertificateObservation `json:"certificate,omitempty" tf:"certificate,omitempty"`
}

func (*PublicDomainNamesObservation) DeepCopy

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

func (*PublicDomainNamesObservation) DeepCopyInto

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

type PublicDomainNamesParameters

type PublicDomainNamesParameters struct {

	// +kubebuilder:validation:Optional
	Certificate []CertificateParameters `json:"certificate" tf:"certificate,omitempty"`
}

func (*PublicDomainNamesParameters) DeepCopy

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

func (*PublicDomainNamesParameters) 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