v1beta1

package
v1.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Application_Kind             = "Application"
	Application_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Application_Kind}.String()
	Application_KindAPIVersion   = Application_Kind + "." + CRDGroupVersion.String()
	Application_GroupVersionKind = CRDGroupVersion.WithKind(Application_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.

View Source
var (
	Permission_Kind             = "Permission"
	Permission_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Permission_Kind}.String()
	Permission_KindAPIVersion   = Permission_Kind + "." + CRDGroupVersion.String()
	Permission_GroupVersionKind = CRDGroupVersion.WithKind(Permission_Kind)
)

Repository type metadata.

View Source
var (
	RDSDBInstance_Kind             = "RDSDBInstance"
	RDSDBInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RDSDBInstance_Kind}.String()
	RDSDBInstance_KindAPIVersion   = RDSDBInstance_Kind + "." + CRDGroupVersion.String()
	RDSDBInstance_GroupVersionKind = CRDGroupVersion.WithKind(RDSDBInstance_Kind)
)

Repository type metadata.

View Source
var (
	Stack_Kind             = "Stack"
	Stack_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Stack_Kind}.String()
	Stack_KindAPIVersion   = Stack_Kind + "." + CRDGroupVersion.String()
	Stack_GroupVersionKind = CRDGroupVersion.WithKind(Stack_Kind)
)

Repository type metadata.

View Source
var (
	UserProfile_Kind             = "UserProfile"
	UserProfile_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: UserProfile_Kind}.String()
	UserProfile_KindAPIVersion   = UserProfile_Kind + "." + CRDGroupVersion.String()
	UserProfile_GroupVersionKind = CRDGroupVersion.WithKind(UserProfile_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AppSourceInitParameters added in v0.38.0

type AppSourceInitParameters struct {

	// For sources that are version-aware, the revision to use.
	Revision *string `json:"revision,omitempty" tf:"revision,omitempty"`

	// The type of source to use. For example, "archive".
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The URL where the app resource can be found.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// Username to use when authenticating to the source.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*AppSourceInitParameters) DeepCopy added in v0.38.0

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

func (*AppSourceInitParameters) DeepCopyInto added in v0.38.0

func (in *AppSourceInitParameters) DeepCopyInto(out *AppSourceInitParameters)

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

type AppSourceObservation

type AppSourceObservation struct {

	// For sources that are version-aware, the revision to use.
	Revision *string `json:"revision,omitempty" tf:"revision,omitempty"`

	// The type of source to use. For example, "archive".
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The URL where the app resource can be found.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// Username to use when authenticating to the source.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*AppSourceObservation) DeepCopy

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

func (*AppSourceObservation) DeepCopyInto

func (in *AppSourceObservation) DeepCopyInto(out *AppSourceObservation)

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

type AppSourceParameters

type AppSourceParameters struct {

	// Password to use when authenticating to the source.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// For sources that are version-aware, the revision to use.
	// +kubebuilder:validation:Optional
	Revision *string `json:"revision,omitempty" tf:"revision,omitempty"`

	// SSH key to use when authenticating to the source.
	// +kubebuilder:validation:Optional
	SSHKeySecretRef *v1.SecretKeySelector `json:"sshKeySecretRef,omitempty" tf:"-"`

	// The type of source to use. For example, "archive".
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`

	// The URL where the app resource can be found.
	// +kubebuilder:validation:Optional
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// Username to use when authenticating to the source.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*AppSourceParameters) DeepCopy

func (in *AppSourceParameters) DeepCopy() *AppSourceParameters

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

func (*AppSourceParameters) DeepCopyInto

func (in *AppSourceParameters) DeepCopyInto(out *AppSourceParameters)

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

type Application

type Application 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.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	Spec   ApplicationSpec   `json:"spec"`
	Status ApplicationStatus `json:"status,omitempty"`
}

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

func (*Application) DeepCopy

func (in *Application) DeepCopy() *Application

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

func (*Application) DeepCopyInto

func (in *Application) DeepCopyInto(out *Application)

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

func (*Application) DeepCopyObject

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

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

func (*Application) GetCondition

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

GetCondition of this Application.

func (*Application) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Application

func (*Application) GetDeletionPolicy

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

GetDeletionPolicy of this Application.

func (*Application) GetID

func (tr *Application) GetID() string

GetID returns ID of underlying Terraform resource of this Application

func (*Application) GetInitParameters added in v0.38.0

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

GetInitParameters of this Application

func (*Application) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Application.

func (*Application) GetObservation

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

GetObservation of this Application

func (*Application) GetParameters

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

GetParameters of this Application

func (*Application) GetProviderConfigReference

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

GetProviderConfigReference of this Application.

func (*Application) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Application.

func (*Application) GetTerraformResourceType

func (mg *Application) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Application

func (*Application) GetTerraformSchemaVersion

func (tr *Application) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Application) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Application.

func (*Application) LateInitialize

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

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

func (*Application) ResolveReferences

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

ResolveReferences of this Application.

func (*Application) SetConditions

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

SetConditions of this Application.

func (*Application) SetDeletionPolicy

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

SetDeletionPolicy of this Application.

func (*Application) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Application.

func (*Application) SetObservation

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

SetObservation for this Application

func (*Application) SetParameters

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

SetParameters for this Application

func (*Application) SetProviderConfigReference

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

SetProviderConfigReference of this Application.

func (*Application) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Application.

func (*Application) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Application.

type ApplicationInitParameters added in v0.38.0

type ApplicationInitParameters struct {

	// SCM configuration of the app as described below.
	AppSource []AppSourceInitParameters `json:"appSource,omitempty" tf:"app_source,omitempty"`

	// Run bundle install when deploying for application of type rails.
	AutoBundleOnDeploy *string `json:"autoBundleOnDeploy,omitempty" tf:"auto_bundle_on_deploy,omitempty"`

	// Specify activity and workflow workers for your app using the aws-flow gem.
	AwsFlowRubySettings *string `json:"awsFlowRubySettings,omitempty" tf:"aws_flow_ruby_settings,omitempty"`

	// The data source's ARN.
	DataSourceArn *string `json:"dataSourceArn,omitempty" tf:"data_source_arn,omitempty"`

	// The database name.
	DataSourceDatabaseName *string `json:"dataSourceDatabaseName,omitempty" tf:"data_source_database_name,omitempty"`

	// The data source's type one of AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, or RdsDbInstance.
	DataSourceType *string `json:"dataSourceType,omitempty" tf:"data_source_type,omitempty"`

	// A description of the app.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Subfolder for the document root for application of type rails.
	DocumentRoot *string `json:"documentRoot,omitempty" tf:"document_root,omitempty"`

	// A list of virtual host alias.
	Domains []*string `json:"domains,omitempty" tf:"domains,omitempty"`

	// Whether to enable SSL for the app. This must be set in order to let ssl_configuration.private_key, ssl_configuration.certificate and ssl_configuration.chain take effect.
	EnableSSL *bool `json:"enableSsl,omitempty" tf:"enable_ssl,omitempty"`

	// Object to define environment variables.  Object is described below.
	Environment []EnvironmentInitParameters `json:"environment,omitempty" tf:"environment,omitempty"`

	// A human-readable name for the application.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the Rails environment for application of type rails.
	RailsEnv *string `json:"railsEnv,omitempty" tf:"rails_env,omitempty"`

	// The SSL configuration of the app. Object is described below.
	SSLConfiguration []SSLConfigurationInitParameters `json:"sslConfiguration,omitempty" tf:"ssl_configuration,omitempty"`

	// A short, machine-readable name for the application. This can only be defined on resource creation and ignored on resource update.
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`

	// Opsworks application type. One of aws-flow-ruby, java, rails, php, nodejs, static or other.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ApplicationInitParameters) DeepCopy added in v0.38.0

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

func (*ApplicationInitParameters) DeepCopyInto added in v0.38.0

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

type ApplicationList

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

ApplicationList contains a list of Applications

func (*ApplicationList) DeepCopy

func (in *ApplicationList) DeepCopy() *ApplicationList

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

func (*ApplicationList) DeepCopyInto

func (in *ApplicationList) DeepCopyInto(out *ApplicationList)

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

func (*ApplicationList) DeepCopyObject

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

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

func (*ApplicationList) GetItems

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

GetItems of this ApplicationList.

type ApplicationObservation

type ApplicationObservation struct {

	// SCM configuration of the app as described below.
	AppSource []AppSourceObservation `json:"appSource,omitempty" tf:"app_source,omitempty"`

	// Run bundle install when deploying for application of type rails.
	AutoBundleOnDeploy *string `json:"autoBundleOnDeploy,omitempty" tf:"auto_bundle_on_deploy,omitempty"`

	// Specify activity and workflow workers for your app using the aws-flow gem.
	AwsFlowRubySettings *string `json:"awsFlowRubySettings,omitempty" tf:"aws_flow_ruby_settings,omitempty"`

	// The data source's ARN.
	DataSourceArn *string `json:"dataSourceArn,omitempty" tf:"data_source_arn,omitempty"`

	// The database name.
	DataSourceDatabaseName *string `json:"dataSourceDatabaseName,omitempty" tf:"data_source_database_name,omitempty"`

	// The data source's type one of AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, or RdsDbInstance.
	DataSourceType *string `json:"dataSourceType,omitempty" tf:"data_source_type,omitempty"`

	// A description of the app.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Subfolder for the document root for application of type rails.
	DocumentRoot *string `json:"documentRoot,omitempty" tf:"document_root,omitempty"`

	// A list of virtual host alias.
	Domains []*string `json:"domains,omitempty" tf:"domains,omitempty"`

	// Whether to enable SSL for the app. This must be set in order to let ssl_configuration.private_key, ssl_configuration.certificate and ssl_configuration.chain take effect.
	EnableSSL *bool `json:"enableSsl,omitempty" tf:"enable_ssl,omitempty"`

	// Object to define environment variables.  Object is described below.
	Environment []EnvironmentObservation `json:"environment,omitempty" tf:"environment,omitempty"`

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

	// A human-readable name for the application.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the Rails environment for application of type rails.
	RailsEnv *string `json:"railsEnv,omitempty" tf:"rails_env,omitempty"`

	// The SSL configuration of the app. Object is described below.
	SSLConfiguration []SSLConfigurationObservation `json:"sslConfiguration,omitempty" tf:"ssl_configuration,omitempty"`

	// A short, machine-readable name for the application. This can only be defined on resource creation and ignored on resource update.
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`

	// ID of the stack the application will belong to.
	StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"`

	// Opsworks application type. One of aws-flow-ruby, java, rails, php, nodejs, static or other.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ApplicationObservation) DeepCopy

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

func (*ApplicationObservation) DeepCopyInto

func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation)

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

type ApplicationParameters

type ApplicationParameters struct {

	// SCM configuration of the app as described below.
	// +kubebuilder:validation:Optional
	AppSource []AppSourceParameters `json:"appSource,omitempty" tf:"app_source,omitempty"`

	// Run bundle install when deploying for application of type rails.
	// +kubebuilder:validation:Optional
	AutoBundleOnDeploy *string `json:"autoBundleOnDeploy,omitempty" tf:"auto_bundle_on_deploy,omitempty"`

	// Specify activity and workflow workers for your app using the aws-flow gem.
	// +kubebuilder:validation:Optional
	AwsFlowRubySettings *string `json:"awsFlowRubySettings,omitempty" tf:"aws_flow_ruby_settings,omitempty"`

	// The data source's ARN.
	// +kubebuilder:validation:Optional
	DataSourceArn *string `json:"dataSourceArn,omitempty" tf:"data_source_arn,omitempty"`

	// The database name.
	// +kubebuilder:validation:Optional
	DataSourceDatabaseName *string `json:"dataSourceDatabaseName,omitempty" tf:"data_source_database_name,omitempty"`

	// The data source's type one of AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, or RdsDbInstance.
	// +kubebuilder:validation:Optional
	DataSourceType *string `json:"dataSourceType,omitempty" tf:"data_source_type,omitempty"`

	// A description of the app.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Subfolder for the document root for application of type rails.
	// +kubebuilder:validation:Optional
	DocumentRoot *string `json:"documentRoot,omitempty" tf:"document_root,omitempty"`

	// A list of virtual host alias.
	// +kubebuilder:validation:Optional
	Domains []*string `json:"domains,omitempty" tf:"domains,omitempty"`

	// Whether to enable SSL for the app. This must be set in order to let ssl_configuration.private_key, ssl_configuration.certificate and ssl_configuration.chain take effect.
	// +kubebuilder:validation:Optional
	EnableSSL *bool `json:"enableSsl,omitempty" tf:"enable_ssl,omitempty"`

	// Object to define environment variables.  Object is described below.
	// +kubebuilder:validation:Optional
	Environment []EnvironmentParameters `json:"environment,omitempty" tf:"environment,omitempty"`

	// A human-readable name for the application.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the Rails environment for application of type rails.
	// +kubebuilder:validation:Optional
	RailsEnv *string `json:"railsEnv,omitempty" tf:"rails_env,omitempty"`

	// The SSL configuration of the app. Object is described below.
	// +kubebuilder:validation:Optional
	SSLConfiguration []SSLConfigurationParameters `json:"sslConfiguration,omitempty" tf:"ssl_configuration,omitempty"`

	// A short, machine-readable name for the application. This can only be defined on resource creation and ignored on resource update.
	// +kubebuilder:validation:Optional
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`

	// ID of the stack the application will belong to.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"`

	// Reference to a Stack in opsworks to populate stackId.
	// +kubebuilder:validation:Optional
	StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"`

	// Selector for a Stack in opsworks to populate stackId.
	// +kubebuilder:validation:Optional
	StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"`

	// Opsworks application type. One of aws-flow-ruby, java, rails, php, nodejs, static or other.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ApplicationParameters) DeepCopy

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

func (*ApplicationParameters) DeepCopyInto

func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters)

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

type ApplicationSpec

type ApplicationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ApplicationParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 ApplicationInitParameters `json:"initProvider,omitempty"`
}

ApplicationSpec defines the desired state of Application

func (*ApplicationSpec) DeepCopy

func (in *ApplicationSpec) DeepCopy() *ApplicationSpec

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

func (*ApplicationSpec) DeepCopyInto

func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)

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

type ApplicationStatus

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

ApplicationStatus defines the observed state of Application.

func (*ApplicationStatus) DeepCopy

func (in *ApplicationStatus) DeepCopy() *ApplicationStatus

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

func (*ApplicationStatus) DeepCopyInto

func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)

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

type CustomCookbooksSourceInitParameters added in v0.38.0

type CustomCookbooksSourceInitParameters struct {

	// For sources that are version-aware, the revision to use.
	Revision *string `json:"revision,omitempty" tf:"revision,omitempty"`

	// The type of source to use. For example, "archive".
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The URL where the cookbooks resource can be found.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// Username to use when authenticating to the source.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*CustomCookbooksSourceInitParameters) DeepCopy added in v0.38.0

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

func (*CustomCookbooksSourceInitParameters) DeepCopyInto added in v0.38.0

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

type CustomCookbooksSourceObservation

type CustomCookbooksSourceObservation struct {

	// For sources that are version-aware, the revision to use.
	Revision *string `json:"revision,omitempty" tf:"revision,omitempty"`

	// The type of source to use. For example, "archive".
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The URL where the cookbooks resource can be found.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// Username to use when authenticating to the source.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*CustomCookbooksSourceObservation) DeepCopy

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

func (*CustomCookbooksSourceObservation) DeepCopyInto

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

type CustomCookbooksSourceParameters

type CustomCookbooksSourceParameters struct {

	// Password to use when authenticating to the source.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// For sources that are version-aware, the revision to use.
	// +kubebuilder:validation:Optional
	Revision *string `json:"revision,omitempty" tf:"revision,omitempty"`

	// SSH key to use when authenticating to the source.
	// +kubebuilder:validation:Optional
	SSHKeySecretRef *v1.SecretKeySelector `json:"sshKeySecretRef,omitempty" tf:"-"`

	// The type of source to use. For example, "archive".
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`

	// The URL where the cookbooks resource can be found.
	// +kubebuilder:validation:Optional
	URL *string `json:"url" tf:"url,omitempty"`

	// Username to use when authenticating to the source.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*CustomCookbooksSourceParameters) DeepCopy

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

func (*CustomCookbooksSourceParameters) DeepCopyInto

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

type EBSBlockDeviceInitParameters added in v0.38.0

type EBSBlockDeviceInitParameters struct {

	// Whether the volume should be destroyed on instance termination. Default is true.
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`

	// Name of the device to mount.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// Amount of provisioned IOPS. This must be set with a volume_type of io1.
	Iops *int64 `json:"iops,omitempty" tf:"iops,omitempty"`

	// Snapshot ID to mount.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Size of the volume in gigabytes.
	VolumeSize *int64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`

	// Type of volume. Valid values are standard, gp2, or io1. Default is standard.
	VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}

func (*EBSBlockDeviceInitParameters) DeepCopy added in v0.38.0

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

func (*EBSBlockDeviceInitParameters) DeepCopyInto added in v0.38.0

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

type EBSBlockDeviceObservation

type EBSBlockDeviceObservation struct {

	// Whether the volume should be destroyed on instance termination. Default is true.
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`

	// Name of the device to mount.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// Amount of provisioned IOPS. This must be set with a volume_type of io1.
	Iops *int64 `json:"iops,omitempty" tf:"iops,omitempty"`

	// Snapshot ID to mount.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Size of the volume in gigabytes.
	VolumeSize *int64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`

	// Type of volume. Valid values are standard, gp2, or io1. Default is standard.
	VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}

func (*EBSBlockDeviceObservation) DeepCopy

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

func (*EBSBlockDeviceObservation) DeepCopyInto

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

type EBSBlockDeviceParameters

type EBSBlockDeviceParameters struct {

	// Whether the volume should be destroyed on instance termination. Default is true.
	// +kubebuilder:validation:Optional
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`

	// Name of the device to mount.
	// +kubebuilder:validation:Optional
	DeviceName *string `json:"deviceName" tf:"device_name,omitempty"`

	// Amount of provisioned IOPS. This must be set with a volume_type of io1.
	// +kubebuilder:validation:Optional
	Iops *int64 `json:"iops,omitempty" tf:"iops,omitempty"`

	// Snapshot ID to mount.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Size of the volume in gigabytes.
	// +kubebuilder:validation:Optional
	VolumeSize *int64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`

	// Type of volume. Valid values are standard, gp2, or io1. Default is standard.
	// +kubebuilder:validation:Optional
	VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}

func (*EBSBlockDeviceParameters) DeepCopy

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

func (*EBSBlockDeviceParameters) DeepCopyInto

func (in *EBSBlockDeviceParameters) DeepCopyInto(out *EBSBlockDeviceParameters)

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

type EnvironmentInitParameters added in v0.38.0

type EnvironmentInitParameters struct {

	// Variable name.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// Set visibility of the variable value to true or false.
	Secure *bool `json:"secure,omitempty" tf:"secure,omitempty"`

	// Variable value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*EnvironmentInitParameters) DeepCopy added in v0.38.0

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

func (*EnvironmentInitParameters) DeepCopyInto added in v0.38.0

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

type EnvironmentObservation

type EnvironmentObservation struct {

	// Variable name.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// Set visibility of the variable value to true or false.
	Secure *bool `json:"secure,omitempty" tf:"secure,omitempty"`

	// Variable value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*EnvironmentObservation) DeepCopy

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

func (*EnvironmentObservation) DeepCopyInto

func (in *EnvironmentObservation) DeepCopyInto(out *EnvironmentObservation)

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

type EnvironmentParameters

type EnvironmentParameters struct {

	// Variable name.
	// +kubebuilder:validation:Optional
	Key *string `json:"key" tf:"key,omitempty"`

	// Set visibility of the variable value to true or false.
	// +kubebuilder:validation:Optional
	Secure *bool `json:"secure,omitempty" tf:"secure,omitempty"`

	// Variable value.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*EnvironmentParameters) DeepCopy

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

func (*EnvironmentParameters) DeepCopyInto

func (in *EnvironmentParameters) DeepCopyInto(out *EnvironmentParameters)

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

type EphemeralBlockDeviceInitParameters added in v0.38.0

type EphemeralBlockDeviceInitParameters struct {

	// Name of the block device to mount on the instance.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// The Instance Store Device Name (e.g., ephemeral0).
	VirtualName *string `json:"virtualName,omitempty" tf:"virtual_name,omitempty"`
}

func (*EphemeralBlockDeviceInitParameters) DeepCopy added in v0.38.0

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

func (*EphemeralBlockDeviceInitParameters) DeepCopyInto added in v0.38.0

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

type EphemeralBlockDeviceObservation

type EphemeralBlockDeviceObservation struct {

	// Name of the block device to mount on the instance.
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// The Instance Store Device Name (e.g., ephemeral0).
	VirtualName *string `json:"virtualName,omitempty" tf:"virtual_name,omitempty"`
}

func (*EphemeralBlockDeviceObservation) DeepCopy

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

func (*EphemeralBlockDeviceObservation) DeepCopyInto

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

type EphemeralBlockDeviceParameters

type EphemeralBlockDeviceParameters struct {

	// Name of the block device to mount on the instance.
	// +kubebuilder:validation:Optional
	DeviceName *string `json:"deviceName" tf:"device_name,omitempty"`

	// The Instance Store Device Name (e.g., ephemeral0).
	// +kubebuilder:validation:Optional
	VirtualName *string `json:"virtualName" tf:"virtual_name,omitempty"`
}

func (*EphemeralBlockDeviceParameters) DeepCopy

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

func (*EphemeralBlockDeviceParameters) 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.layerIds) || (has(self.initProvider) && has(self.initProvider.layerIds))",message="spec.forProvider.layerIds is a required parameter"
	Spec   InstanceSpec   `json:"spec"`
	Status InstanceStatus `json:"status,omitempty"`
}

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

func (*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 added in v0.38.0

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

GetInitParameters of this Instance

func (*Instance) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies 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) 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) ResolveReferences

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

ResolveReferences of this Instance.

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 added in v0.38.0

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 added in v0.38.0

type InstanceInitParameters struct {

	// AMI to use for the instance.  If an AMI is specified, os must be Custom.
	AMIID *string `json:"amiId,omitempty" tf:"ami_id,omitempty"`

	// OpsWorks agent to install. Default is INHERIT.
	AgentVersion *string `json:"agentVersion,omitempty" tf:"agent_version,omitempty"`

	// Machine architecture for created instances.  Valid values are x86_64 or i386. The default is x86_64.
	Architecture *string `json:"architecture,omitempty" tf:"architecture,omitempty"`

	// Creates load-based or time-based instances.  Valid values are load, timer.
	AutoScalingType *string `json:"autoScalingType,omitempty" tf:"auto_scaling_type,omitempty"`

	// Name of the availability zone where instances will be created by default.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// Time that the instance was created.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Whether to delete EBS volume on deletion. Default is true.
	DeleteEBS *bool `json:"deleteEbs,omitempty" tf:"delete_ebs,omitempty"`

	// Whether to delete the Elastic IP on deletion.
	DeleteEIP *bool `json:"deleteEip,omitempty" tf:"delete_eip,omitempty"`

	// Configuration block for additional EBS block devices to attach to the instance. See Block Devices below.
	EBSBlockDevice []EBSBlockDeviceInitParameters `json:"ebsBlockDevice,omitempty" tf:"ebs_block_device,omitempty"`

	// Whether the launched EC2 instance will be EBS-optimized.
	EBSOptimized *bool `json:"ebsOptimized,omitempty" tf:"ebs_optimized,omitempty"`

	// ECS cluster's ARN for container instances.
	EcsClusterArn *string `json:"ecsClusterArn,omitempty" tf:"ecs_cluster_arn,omitempty"`

	// Instance Elastic IP address.
	ElasticIP *string `json:"elasticIp,omitempty" tf:"elastic_ip,omitempty"`

	// Configuration block for ephemeral (also known as "Instance Store") volumes on the instance. See Block Devices below.
	EphemeralBlockDevice []EphemeralBlockDeviceInitParameters `json:"ephemeralBlockDevice,omitempty" tf:"ephemeral_block_device,omitempty"`

	// Instance's host name.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// For registered instances, infrastructure class: ec2 or on-premises.
	InfrastructureClass *string `json:"infrastructureClass,omitempty" tf:"infrastructure_class,omitempty"`

	// Controls where to install OS and package updates when the instance boots.  Default is true.
	InstallUpdatesOnBoot *bool `json:"installUpdatesOnBoot,omitempty" tf:"install_updates_on_boot,omitempty"`

	// ARN of the instance's IAM profile.
	InstanceProfileArn *string `json:"instanceProfileArn,omitempty" tf:"instance_profile_arn,omitempty"`

	// Type of instance to start.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// List of the layers the instance will belong to.
	LayerIds []*string `json:"layerIds,omitempty" tf:"layer_ids,omitempty"`

	// Name of operating system that will be installed.
	Os *string `json:"os,omitempty" tf:"os,omitempty"`

	// Configuration block for the root block device of the instance. See Block Devices below.
	RootBlockDevice []RootBlockDeviceInitParameters `json:"rootBlockDevice,omitempty" tf:"root_block_device,omitempty"`

	// Name of the type of root device instances will have by default. Valid values are ebs or instance-store.
	RootDeviceType *string `json:"rootDeviceType,omitempty" tf:"root_device_type,omitempty"`

	// Name of the SSH keypair that instances will have by default.
	SSHKeyName *string `json:"sshKeyName,omitempty" tf:"ssh_key_name,omitempty"`

	// Desired state of the instance. Valid values are running or stopped.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Instance status. Will be one of booting, connection_lost, online, pending, rebooting, requested, running_setup, setup_failed, shutting_down, start_failed, stop_failed, stopped, stopping, terminated, or terminating.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Instance tenancy to use. Valid values are default, dedicated or host.
	Tenancy *string `json:"tenancy,omitempty" tf:"tenancy,omitempty"`

	// Keyword to choose what virtualization mode created instances will use. Valid values are paravirtual or hvm.
	VirtualizationType *string `json:"virtualizationType,omitempty" tf:"virtualization_type,omitempty"`
}

func (*InstanceInitParameters) DeepCopy added in v0.38.0

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

func (*InstanceInitParameters) DeepCopyInto added in v0.38.0

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 {

	// AMI to use for the instance.  If an AMI is specified, os must be Custom.
	AMIID *string `json:"amiId,omitempty" tf:"ami_id,omitempty"`

	// OpsWorks agent to install. Default is INHERIT.
	AgentVersion *string `json:"agentVersion,omitempty" tf:"agent_version,omitempty"`

	// Machine architecture for created instances.  Valid values are x86_64 or i386. The default is x86_64.
	Architecture *string `json:"architecture,omitempty" tf:"architecture,omitempty"`

	// Creates load-based or time-based instances.  Valid values are load, timer.
	AutoScalingType *string `json:"autoScalingType,omitempty" tf:"auto_scaling_type,omitempty"`

	// Name of the availability zone where instances will be created by default.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// Time that the instance was created.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Whether to delete EBS volume on deletion. Default is true.
	DeleteEBS *bool `json:"deleteEbs,omitempty" tf:"delete_ebs,omitempty"`

	// Whether to delete the Elastic IP on deletion.
	DeleteEIP *bool `json:"deleteEip,omitempty" tf:"delete_eip,omitempty"`

	// Configuration block for additional EBS block devices to attach to the instance. See Block Devices below.
	EBSBlockDevice []EBSBlockDeviceObservation `json:"ebsBlockDevice,omitempty" tf:"ebs_block_device,omitempty"`

	// Whether the launched EC2 instance will be EBS-optimized.
	EBSOptimized *bool `json:"ebsOptimized,omitempty" tf:"ebs_optimized,omitempty"`

	// EC2 instance ID.
	EC2InstanceID *string `json:"ec2InstanceId,omitempty" tf:"ec2_instance_id,omitempty"`

	// ECS cluster's ARN for container instances.
	EcsClusterArn *string `json:"ecsClusterArn,omitempty" tf:"ecs_cluster_arn,omitempty"`

	// Instance Elastic IP address.
	ElasticIP *string `json:"elasticIp,omitempty" tf:"elastic_ip,omitempty"`

	// Configuration block for ephemeral (also known as "Instance Store") volumes on the instance. See Block Devices below.
	EphemeralBlockDevice []EphemeralBlockDeviceObservation `json:"ephemeralBlockDevice,omitempty" tf:"ephemeral_block_device,omitempty"`

	// Instance's host name.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// ID of the OpsWorks instance.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// For registered instances, infrastructure class: ec2 or on-premises.
	InfrastructureClass *string `json:"infrastructureClass,omitempty" tf:"infrastructure_class,omitempty"`

	// Controls where to install OS and package updates when the instance boots.  Default is true.
	InstallUpdatesOnBoot *bool `json:"installUpdatesOnBoot,omitempty" tf:"install_updates_on_boot,omitempty"`

	// ARN of the instance's IAM profile.
	InstanceProfileArn *string `json:"instanceProfileArn,omitempty" tf:"instance_profile_arn,omitempty"`

	// Type of instance to start.
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// ID of the last service error.
	LastServiceErrorID *string `json:"lastServiceErrorId,omitempty" tf:"last_service_error_id,omitempty"`

	// List of the layers the instance will belong to.
	LayerIds []*string `json:"layerIds,omitempty" tf:"layer_ids,omitempty"`

	// Name of operating system that will be installed.
	Os *string `json:"os,omitempty" tf:"os,omitempty"`

	// Instance's platform.
	Platform *string `json:"platform,omitempty" tf:"platform,omitempty"`

	// Private DNS name assigned to the instance. Can only be used inside the Amazon EC2, and only available if you've enabled DNS hostnames for your VPC.
	PrivateDNS *string `json:"privateDns,omitempty" tf:"private_dns,omitempty"`

	// Private IP address assigned to the instance.
	PrivateIP *string `json:"privateIp,omitempty" tf:"private_ip,omitempty"`

	// Public DNS name assigned to the instance. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC.
	PublicDNS *string `json:"publicDns,omitempty" tf:"public_dns,omitempty"`

	// Public IP address assigned to the instance, if applicable.
	PublicIP *string `json:"publicIp,omitempty" tf:"public_ip,omitempty"`

	// For registered instances, who performed the registration.
	RegisteredBy *string `json:"registeredBy,omitempty" tf:"registered_by,omitempty"`

	// Instance's reported AWS OpsWorks Stacks agent version.
	ReportedAgentVersion *string `json:"reportedAgentVersion,omitempty" tf:"reported_agent_version,omitempty"`

	// For registered instances, the reported operating system family.
	ReportedOsFamily *string `json:"reportedOsFamily,omitempty" tf:"reported_os_family,omitempty"`

	// For registered instances, the reported operating system name.
	ReportedOsName *string `json:"reportedOsName,omitempty" tf:"reported_os_name,omitempty"`

	// For registered instances, the reported operating system version.
	ReportedOsVersion *string `json:"reportedOsVersion,omitempty" tf:"reported_os_version,omitempty"`

	// Configuration block for the root block device of the instance. See Block Devices below.
	RootBlockDevice []RootBlockDeviceObservation `json:"rootBlockDevice,omitempty" tf:"root_block_device,omitempty"`

	// Name of the type of root device instances will have by default. Valid values are ebs or instance-store.
	RootDeviceType *string `json:"rootDeviceType,omitempty" tf:"root_device_type,omitempty"`

	// Root device volume ID.
	RootDeviceVolumeID *string `json:"rootDeviceVolumeId,omitempty" tf:"root_device_volume_id,omitempty"`

	// SSH key's Deep Security Agent (DSA) fingerprint.
	SSHHostDsaKeyFingerprint *string `json:"sshHostDsaKeyFingerprint,omitempty" tf:"ssh_host_dsa_key_fingerprint,omitempty"`

	// SSH key's RSA fingerprint.
	SSHHostRsaKeyFingerprint *string `json:"sshHostRsaKeyFingerprint,omitempty" tf:"ssh_host_rsa_key_fingerprint,omitempty"`

	// Name of the SSH keypair that instances will have by default.
	SSHKeyName *string `json:"sshKeyName,omitempty" tf:"ssh_key_name,omitempty"`

	// Associated security groups.
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// Identifier of the stack the instance will belong to.
	StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"`

	// Desired state of the instance. Valid values are running or stopped.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Instance status. Will be one of booting, connection_lost, online, pending, rebooting, requested, running_setup, setup_failed, shutting_down, start_failed, stop_failed, stopped, stopping, terminated, or terminating.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Subnet ID to attach to.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Instance tenancy to use. Valid values are default, dedicated or host.
	Tenancy *string `json:"tenancy,omitempty" tf:"tenancy,omitempty"`

	// Keyword to choose what virtualization mode created instances will use. Valid values are paravirtual or hvm.
	VirtualizationType *string `json:"virtualizationType,omitempty" tf:"virtualization_type,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 {

	// AMI to use for the instance.  If an AMI is specified, os must be Custom.
	// +kubebuilder:validation:Optional
	AMIID *string `json:"amiId,omitempty" tf:"ami_id,omitempty"`

	// OpsWorks agent to install. Default is INHERIT.
	// +kubebuilder:validation:Optional
	AgentVersion *string `json:"agentVersion,omitempty" tf:"agent_version,omitempty"`

	// Machine architecture for created instances.  Valid values are x86_64 or i386. The default is x86_64.
	// +kubebuilder:validation:Optional
	Architecture *string `json:"architecture,omitempty" tf:"architecture,omitempty"`

	// Creates load-based or time-based instances.  Valid values are load, timer.
	// +kubebuilder:validation:Optional
	AutoScalingType *string `json:"autoScalingType,omitempty" tf:"auto_scaling_type,omitempty"`

	// Name of the availability zone where instances will be created by default.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// Time that the instance was created.
	// +kubebuilder:validation:Optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Whether to delete EBS volume on deletion. Default is true.
	// +kubebuilder:validation:Optional
	DeleteEBS *bool `json:"deleteEbs,omitempty" tf:"delete_ebs,omitempty"`

	// Whether to delete the Elastic IP on deletion.
	// +kubebuilder:validation:Optional
	DeleteEIP *bool `json:"deleteEip,omitempty" tf:"delete_eip,omitempty"`

	// Configuration block for additional EBS block devices to attach to the instance. See Block Devices below.
	// +kubebuilder:validation:Optional
	EBSBlockDevice []EBSBlockDeviceParameters `json:"ebsBlockDevice,omitempty" tf:"ebs_block_device,omitempty"`

	// Whether the launched EC2 instance will be EBS-optimized.
	// +kubebuilder:validation:Optional
	EBSOptimized *bool `json:"ebsOptimized,omitempty" tf:"ebs_optimized,omitempty"`

	// ECS cluster's ARN for container instances.
	// +kubebuilder:validation:Optional
	EcsClusterArn *string `json:"ecsClusterArn,omitempty" tf:"ecs_cluster_arn,omitempty"`

	// Instance Elastic IP address.
	// +kubebuilder:validation:Optional
	ElasticIP *string `json:"elasticIp,omitempty" tf:"elastic_ip,omitempty"`

	// Configuration block for ephemeral (also known as "Instance Store") volumes on the instance. See Block Devices below.
	// +kubebuilder:validation:Optional
	EphemeralBlockDevice []EphemeralBlockDeviceParameters `json:"ephemeralBlockDevice,omitempty" tf:"ephemeral_block_device,omitempty"`

	// Instance's host name.
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// For registered instances, infrastructure class: ec2 or on-premises.
	// +kubebuilder:validation:Optional
	InfrastructureClass *string `json:"infrastructureClass,omitempty" tf:"infrastructure_class,omitempty"`

	// Controls where to install OS and package updates when the instance boots.  Default is true.
	// +kubebuilder:validation:Optional
	InstallUpdatesOnBoot *bool `json:"installUpdatesOnBoot,omitempty" tf:"install_updates_on_boot,omitempty"`

	// ARN of the instance's IAM profile.
	// +kubebuilder:validation:Optional
	InstanceProfileArn *string `json:"instanceProfileArn,omitempty" tf:"instance_profile_arn,omitempty"`

	// Type of instance to start.
	// +kubebuilder:validation:Optional
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// List of the layers the instance will belong to.
	// +kubebuilder:validation:Optional
	LayerIds []*string `json:"layerIds,omitempty" tf:"layer_ids,omitempty"`

	// Name of operating system that will be installed.
	// +kubebuilder:validation:Optional
	Os *string `json:"os,omitempty" tf:"os,omitempty"`

	// Configuration block for the root block device of the instance. See Block Devices below.
	// +kubebuilder:validation:Optional
	RootBlockDevice []RootBlockDeviceParameters `json:"rootBlockDevice,omitempty" tf:"root_block_device,omitempty"`

	// Name of the type of root device instances will have by default. Valid values are ebs or instance-store.
	// +kubebuilder:validation:Optional
	RootDeviceType *string `json:"rootDeviceType,omitempty" tf:"root_device_type,omitempty"`

	// Name of the SSH keypair that instances will have by default.
	// +kubebuilder:validation:Optional
	SSHKeyName *string `json:"sshKeyName,omitempty" tf:"ssh_key_name,omitempty"`

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

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

	// Associated security groups.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// Identifier of the stack the instance will belong to.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"`

	// Reference to a Stack in opsworks to populate stackId.
	// +kubebuilder:validation:Optional
	StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"`

	// Selector for a Stack in opsworks to populate stackId.
	// +kubebuilder:validation:Optional
	StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"`

	// Desired state of the instance. Valid values are running or stopped.
	// +kubebuilder:validation:Optional
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Instance status. Will be one of booting, connection_lost, online, pending, rebooting, requested, running_setup, setup_failed, shutting_down, start_failed, stop_failed, stopped, stopping, terminated, or terminating.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Subnet ID to attach to.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

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

	// Instance tenancy to use. Valid values are default, dedicated or host.
	// +kubebuilder:validation:Optional
	Tenancy *string `json:"tenancy,omitempty" tf:"tenancy,omitempty"`

	// Keyword to choose what virtualization mode created instances will use. Valid values are paravirtual or hvm.
	// +kubebuilder:validation:Optional
	VirtualizationType *string `json:"virtualizationType,omitempty" tf:"virtualization_type,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 AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 Permission

type Permission struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PermissionSpec   `json:"spec"`
	Status            PermissionStatus `json:"status,omitempty"`
}

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

func (*Permission) DeepCopy

func (in *Permission) DeepCopy() *Permission

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

func (*Permission) DeepCopyInto

func (in *Permission) DeepCopyInto(out *Permission)

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

func (*Permission) DeepCopyObject

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

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

func (*Permission) GetCondition

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

GetCondition of this Permission.

func (*Permission) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Permission

func (*Permission) GetDeletionPolicy

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

GetDeletionPolicy of this Permission.

func (*Permission) GetID

func (tr *Permission) GetID() string

GetID returns ID of underlying Terraform resource of this Permission

func (*Permission) GetInitParameters added in v0.38.0

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

GetInitParameters of this Permission

func (*Permission) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Permission.

func (*Permission) GetObservation

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

GetObservation of this Permission

func (*Permission) GetParameters

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

GetParameters of this Permission

func (*Permission) GetProviderConfigReference

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

GetProviderConfigReference of this Permission.

func (*Permission) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Permission.

func (*Permission) GetTerraformResourceType

func (mg *Permission) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Permission

func (*Permission) GetTerraformSchemaVersion

func (tr *Permission) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Permission) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Permission.

func (*Permission) LateInitialize

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

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

func (*Permission) ResolveReferences

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

ResolveReferences of this Permission.

func (*Permission) SetConditions

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

SetConditions of this Permission.

func (*Permission) SetDeletionPolicy

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

SetDeletionPolicy of this Permission.

func (*Permission) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Permission.

func (*Permission) SetObservation

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

SetObservation for this Permission

func (*Permission) SetParameters

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

SetParameters for this Permission

func (*Permission) SetProviderConfigReference

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

SetProviderConfigReference of this Permission.

func (*Permission) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Permission.

func (*Permission) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Permission.

type PermissionInitParameters added in v0.38.0

type PermissionInitParameters struct {

	// Whether the user is allowed to use SSH to communicate with the instance
	AllowSSH *bool `json:"allowSsh,omitempty" tf:"allow_ssh,omitempty"`

	// Whether the user is allowed to use sudo to elevate privileges
	AllowSudo *bool `json:"allowSudo,omitempty" tf:"allow_sudo,omitempty"`

	// The users permission level. Mus be one of deny, show, deploy, manage, iam_only
	Level *string `json:"level,omitempty" tf:"level,omitempty"`
}

func (*PermissionInitParameters) DeepCopy added in v0.38.0

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

func (*PermissionInitParameters) DeepCopyInto added in v0.38.0

func (in *PermissionInitParameters) DeepCopyInto(out *PermissionInitParameters)

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

type PermissionList

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

PermissionList contains a list of Permissions

func (*PermissionList) DeepCopy

func (in *PermissionList) DeepCopy() *PermissionList

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

func (*PermissionList) DeepCopyInto

func (in *PermissionList) DeepCopyInto(out *PermissionList)

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

func (*PermissionList) DeepCopyObject

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

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

func (*PermissionList) GetItems

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

GetItems of this PermissionList.

type PermissionObservation

type PermissionObservation struct {

	// Whether the user is allowed to use SSH to communicate with the instance
	AllowSSH *bool `json:"allowSsh,omitempty" tf:"allow_ssh,omitempty"`

	// Whether the user is allowed to use sudo to elevate privileges
	AllowSudo *bool `json:"allowSudo,omitempty" tf:"allow_sudo,omitempty"`

	// The computed id of the permission. Please note that this is only used internally to identify the permission. This value is not used in aws.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The users permission level. Mus be one of deny, show, deploy, manage, iam_only
	Level *string `json:"level,omitempty" tf:"level,omitempty"`

	// The stack to set the permissions for
	StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"`

	// The user's IAM ARN to set permissions for
	UserArn *string `json:"userArn,omitempty" tf:"user_arn,omitempty"`
}

func (*PermissionObservation) DeepCopy

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

func (*PermissionObservation) DeepCopyInto

func (in *PermissionObservation) DeepCopyInto(out *PermissionObservation)

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

type PermissionParameters

type PermissionParameters struct {

	// Whether the user is allowed to use SSH to communicate with the instance
	// +kubebuilder:validation:Optional
	AllowSSH *bool `json:"allowSsh,omitempty" tf:"allow_ssh,omitempty"`

	// Whether the user is allowed to use sudo to elevate privileges
	// +kubebuilder:validation:Optional
	AllowSudo *bool `json:"allowSudo,omitempty" tf:"allow_sudo,omitempty"`

	// The users permission level. Mus be one of deny, show, deploy, manage, iam_only
	// +kubebuilder:validation:Optional
	Level *string `json:"level,omitempty" tf:"level,omitempty"`

	// The stack to set the permissions for
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"`

	// Reference to a Stack in opsworks to populate stackId.
	// +kubebuilder:validation:Optional
	StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"`

	// Selector for a Stack in opsworks to populate stackId.
	// +kubebuilder:validation:Optional
	StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"`

	// The user's IAM ARN to set permissions for
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.User
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	UserArn *string `json:"userArn,omitempty" tf:"user_arn,omitempty"`

	// Reference to a User in iam to populate userArn.
	// +kubebuilder:validation:Optional
	UserArnRef *v1.Reference `json:"userArnRef,omitempty" tf:"-"`

	// Selector for a User in iam to populate userArn.
	// +kubebuilder:validation:Optional
	UserArnSelector *v1.Selector `json:"userArnSelector,omitempty" tf:"-"`
}

func (*PermissionParameters) DeepCopy

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

func (*PermissionParameters) DeepCopyInto

func (in *PermissionParameters) DeepCopyInto(out *PermissionParameters)

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

type PermissionSpec

type PermissionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PermissionParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 PermissionInitParameters `json:"initProvider,omitempty"`
}

PermissionSpec defines the desired state of Permission

func (*PermissionSpec) DeepCopy

func (in *PermissionSpec) DeepCopy() *PermissionSpec

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

func (*PermissionSpec) DeepCopyInto

func (in *PermissionSpec) DeepCopyInto(out *PermissionSpec)

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

type PermissionStatus

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

PermissionStatus defines the observed state of Permission.

func (*PermissionStatus) DeepCopy

func (in *PermissionStatus) DeepCopy() *PermissionStatus

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

func (*PermissionStatus) DeepCopyInto

func (in *PermissionStatus) DeepCopyInto(out *PermissionStatus)

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

type RDSDBInstance

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

RDSDBInstance is the Schema for the RDSDBInstances API. Provides an OpsWorks RDS DB Instance resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*RDSDBInstance) DeepCopy

func (in *RDSDBInstance) DeepCopy() *RDSDBInstance

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

func (*RDSDBInstance) DeepCopyInto

func (in *RDSDBInstance) DeepCopyInto(out *RDSDBInstance)

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

func (*RDSDBInstance) DeepCopyObject

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

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

func (*RDSDBInstance) GetCondition

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

GetCondition of this RDSDBInstance.

func (*RDSDBInstance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RDSDBInstance

func (*RDSDBInstance) GetDeletionPolicy

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

GetDeletionPolicy of this RDSDBInstance.

func (*RDSDBInstance) GetID

func (tr *RDSDBInstance) GetID() string

GetID returns ID of underlying Terraform resource of this RDSDBInstance

func (*RDSDBInstance) GetInitParameters added in v0.38.0

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

GetInitParameters of this RDSDBInstance

func (*RDSDBInstance) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this RDSDBInstance.

func (*RDSDBInstance) GetObservation

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

GetObservation of this RDSDBInstance

func (*RDSDBInstance) GetParameters

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

GetParameters of this RDSDBInstance

func (*RDSDBInstance) GetProviderConfigReference

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

GetProviderConfigReference of this RDSDBInstance.

func (*RDSDBInstance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RDSDBInstance.

func (*RDSDBInstance) GetTerraformResourceType

func (mg *RDSDBInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RDSDBInstance

func (*RDSDBInstance) GetTerraformSchemaVersion

func (tr *RDSDBInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RDSDBInstance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RDSDBInstance.

func (*RDSDBInstance) LateInitialize

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

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

func (*RDSDBInstance) ResolveReferences

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

ResolveReferences of this RDSDBInstance.

func (*RDSDBInstance) SetConditions

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

SetConditions of this RDSDBInstance.

func (*RDSDBInstance) SetDeletionPolicy

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

SetDeletionPolicy of this RDSDBInstance.

func (*RDSDBInstance) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this RDSDBInstance.

func (*RDSDBInstance) SetObservation

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

SetObservation for this RDSDBInstance

func (*RDSDBInstance) SetParameters

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

SetParameters for this RDSDBInstance

func (*RDSDBInstance) SetProviderConfigReference

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

SetProviderConfigReference of this RDSDBInstance.

func (*RDSDBInstance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RDSDBInstance.

func (*RDSDBInstance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RDSDBInstance.

type RDSDBInstanceInitParameters added in v0.38.0

type RDSDBInstanceInitParameters struct {

	// A db username
	DBUser *string `json:"dbUser,omitempty" tf:"db_user,omitempty"`
}

func (*RDSDBInstanceInitParameters) DeepCopy added in v0.38.0

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

func (*RDSDBInstanceInitParameters) DeepCopyInto added in v0.38.0

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

type RDSDBInstanceList

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

RDSDBInstanceList contains a list of RDSDBInstances

func (*RDSDBInstanceList) DeepCopy

func (in *RDSDBInstanceList) DeepCopy() *RDSDBInstanceList

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

func (*RDSDBInstanceList) DeepCopyInto

func (in *RDSDBInstanceList) DeepCopyInto(out *RDSDBInstanceList)

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

func (*RDSDBInstanceList) DeepCopyObject

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

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

func (*RDSDBInstanceList) GetItems

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

GetItems of this RDSDBInstanceList.

type RDSDBInstanceObservation

type RDSDBInstanceObservation struct {

	// A db username
	DBUser *string `json:"dbUser,omitempty" tf:"db_user,omitempty"`

	// The computed id. Please note that this is only used internally to identify the stack <-> instance relation. This value is not used in aws.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The db instance to register for this stack. Changing this will force a new resource.
	RDSDBInstanceArn *string `json:"rdsDbInstanceArn,omitempty" tf:"rds_db_instance_arn,omitempty"`

	// The stack to register a db instance for. Changing this will force a new resource.
	StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"`
}

func (*RDSDBInstanceObservation) DeepCopy

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

func (*RDSDBInstanceObservation) DeepCopyInto

func (in *RDSDBInstanceObservation) DeepCopyInto(out *RDSDBInstanceObservation)

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

type RDSDBInstanceParameters

type RDSDBInstanceParameters struct {

	// A db password
	// +kubebuilder:validation:Optional
	DBPasswordSecretRef v1.SecretKeySelector `json:"dbPasswordSecretRef" tf:"-"`

	// A db username
	// +kubebuilder:validation:Optional
	DBUser *string `json:"dbUser,omitempty" tf:"db_user,omitempty"`

	// The db instance to register for this stack. Changing this will force a new resource.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/rds/v1beta1.Instance
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	RDSDBInstanceArn *string `json:"rdsDbInstanceArn,omitempty" tf:"rds_db_instance_arn,omitempty"`

	// Reference to a Instance in rds to populate rdsDbInstanceArn.
	// +kubebuilder:validation:Optional
	RDSDBInstanceArnRef *v1.Reference `json:"rdsDbInstanceArnRef,omitempty" tf:"-"`

	// Selector for a Instance in rds to populate rdsDbInstanceArn.
	// +kubebuilder:validation:Optional
	RDSDBInstanceArnSelector *v1.Selector `json:"rdsDbInstanceArnSelector,omitempty" tf:"-"`

	// The stack to register a db instance for. Changing this will force a new resource.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/opsworks/v1beta1.Stack
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	StackID *string `json:"stackId,omitempty" tf:"stack_id,omitempty"`

	// Reference to a Stack in opsworks to populate stackId.
	// +kubebuilder:validation:Optional
	StackIDRef *v1.Reference `json:"stackIdRef,omitempty" tf:"-"`

	// Selector for a Stack in opsworks to populate stackId.
	// +kubebuilder:validation:Optional
	StackIDSelector *v1.Selector `json:"stackIdSelector,omitempty" tf:"-"`
}

func (*RDSDBInstanceParameters) DeepCopy

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

func (*RDSDBInstanceParameters) DeepCopyInto

func (in *RDSDBInstanceParameters) DeepCopyInto(out *RDSDBInstanceParameters)

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

type RDSDBInstanceSpec

type RDSDBInstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RDSDBInstanceParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 RDSDBInstanceInitParameters `json:"initProvider,omitempty"`
}

RDSDBInstanceSpec defines the desired state of RDSDBInstance

func (*RDSDBInstanceSpec) DeepCopy

func (in *RDSDBInstanceSpec) DeepCopy() *RDSDBInstanceSpec

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

func (*RDSDBInstanceSpec) DeepCopyInto

func (in *RDSDBInstanceSpec) DeepCopyInto(out *RDSDBInstanceSpec)

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

type RDSDBInstanceStatus

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

RDSDBInstanceStatus defines the observed state of RDSDBInstance.

func (*RDSDBInstanceStatus) DeepCopy

func (in *RDSDBInstanceStatus) DeepCopy() *RDSDBInstanceStatus

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

func (*RDSDBInstanceStatus) DeepCopyInto

func (in *RDSDBInstanceStatus) DeepCopyInto(out *RDSDBInstanceStatus)

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

type RootBlockDeviceInitParameters added in v0.38.0

type RootBlockDeviceInitParameters struct {

	// Whether the volume should be destroyed on instance termination. Default is true.
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`

	// Amount of provisioned IOPS. This must be set with a volume_type of io1.
	Iops *int64 `json:"iops,omitempty" tf:"iops,omitempty"`

	// Size of the volume in gigabytes.
	VolumeSize *int64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`

	// Type of volume. Valid values are standard, gp2, or io1. Default is standard.
	VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}

func (*RootBlockDeviceInitParameters) DeepCopy added in v0.38.0

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

func (*RootBlockDeviceInitParameters) DeepCopyInto added in v0.38.0

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

type RootBlockDeviceObservation

type RootBlockDeviceObservation struct {

	// Whether the volume should be destroyed on instance termination. Default is true.
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`

	// Amount of provisioned IOPS. This must be set with a volume_type of io1.
	Iops *int64 `json:"iops,omitempty" tf:"iops,omitempty"`

	// Size of the volume in gigabytes.
	VolumeSize *int64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`

	// Type of volume. Valid values are standard, gp2, or io1. Default is standard.
	VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}

func (*RootBlockDeviceObservation) DeepCopy

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

func (*RootBlockDeviceObservation) DeepCopyInto

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

type RootBlockDeviceParameters

type RootBlockDeviceParameters struct {

	// Whether the volume should be destroyed on instance termination. Default is true.
	// +kubebuilder:validation:Optional
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`

	// Amount of provisioned IOPS. This must be set with a volume_type of io1.
	// +kubebuilder:validation:Optional
	Iops *int64 `json:"iops,omitempty" tf:"iops,omitempty"`

	// Size of the volume in gigabytes.
	// +kubebuilder:validation:Optional
	VolumeSize *int64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`

	// Type of volume. Valid values are standard, gp2, or io1. Default is standard.
	// +kubebuilder:validation:Optional
	VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}

func (*RootBlockDeviceParameters) DeepCopy

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

func (*RootBlockDeviceParameters) DeepCopyInto

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

type SSLConfigurationInitParameters added in v0.38.0

type SSLConfigurationInitParameters struct {

	// The contents of the certificate's domain.crt file.
	Certificate *string `json:"certificate,omitempty" tf:"certificate,omitempty"`

	// Can be used to specify an intermediate certificate authority key or client authentication.
	Chain *string `json:"chain,omitempty" tf:"chain,omitempty"`
}

func (*SSLConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*SSLConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type SSLConfigurationObservation

type SSLConfigurationObservation struct {

	// The contents of the certificate's domain.crt file.
	Certificate *string `json:"certificate,omitempty" tf:"certificate,omitempty"`

	// Can be used to specify an intermediate certificate authority key or client authentication.
	Chain *string `json:"chain,omitempty" tf:"chain,omitempty"`
}

func (*SSLConfigurationObservation) DeepCopy

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

func (*SSLConfigurationObservation) DeepCopyInto

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

type SSLConfigurationParameters

type SSLConfigurationParameters struct {

	// The contents of the certificate's domain.crt file.
	// +kubebuilder:validation:Optional
	Certificate *string `json:"certificate" tf:"certificate,omitempty"`

	// Can be used to specify an intermediate certificate authority key or client authentication.
	// +kubebuilder:validation:Optional
	Chain *string `json:"chain,omitempty" tf:"chain,omitempty"`

	// The private key; the contents of the certificate's domain.key file.
	// +kubebuilder:validation:Required
	PrivateKeySecretRef v1.SecretKeySelector `json:"privateKeySecretRef" tf:"-"`
}

func (*SSLConfigurationParameters) DeepCopy

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

func (*SSLConfigurationParameters) DeepCopyInto

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

type Stack

type Stack 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   StackSpec   `json:"spec"`
	Status StackStatus `json:"status,omitempty"`
}

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

func (*Stack) DeepCopy

func (in *Stack) DeepCopy() *Stack

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

func (*Stack) DeepCopyInto

func (in *Stack) DeepCopyInto(out *Stack)

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

func (*Stack) DeepCopyObject

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

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

func (*Stack) GetCondition

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

GetCondition of this Stack.

func (*Stack) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Stack

func (*Stack) GetDeletionPolicy

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

GetDeletionPolicy of this Stack.

func (*Stack) GetID

func (tr *Stack) GetID() string

GetID returns ID of underlying Terraform resource of this Stack

func (*Stack) GetInitParameters added in v0.38.0

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

GetInitParameters of this Stack

func (*Stack) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Stack.

func (*Stack) GetObservation

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

GetObservation of this Stack

func (*Stack) GetParameters

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

GetParameters of this Stack

func (*Stack) GetProviderConfigReference

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

GetProviderConfigReference of this Stack.

func (*Stack) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Stack.

func (*Stack) GetTerraformResourceType

func (mg *Stack) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Stack

func (*Stack) GetTerraformSchemaVersion

func (tr *Stack) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Stack) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Stack.

func (*Stack) LateInitialize

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

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

func (*Stack) ResolveReferences

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

ResolveReferences of this Stack.

func (*Stack) SetConditions

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

SetConditions of this Stack.

func (*Stack) SetDeletionPolicy

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

SetDeletionPolicy of this Stack.

func (*Stack) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Stack.

func (*Stack) SetObservation

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

SetObservation for this Stack

func (*Stack) SetParameters

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

SetParameters for this Stack

func (*Stack) SetProviderConfigReference

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

SetProviderConfigReference of this Stack.

func (*Stack) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Stack.

func (*Stack) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Stack.

type StackInitParameters added in v0.38.0

type StackInitParameters struct {

	// If set to "LATEST", OpsWorks will automatically install the latest version.
	AgentVersion *string `json:"agentVersion,omitempty" tf:"agent_version,omitempty"`

	// If manage_berkshelf is enabled, the version of Berkshelf to use.
	BerkshelfVersion *string `json:"berkshelfVersion,omitempty" tf:"berkshelf_version,omitempty"`

	// Color to paint next to the stack's resources in the OpsWorks console.
	Color *string `json:"color,omitempty" tf:"color,omitempty"`

	// Name of the configuration manager to use. Defaults to "Chef".
	ConfigurationManagerName *string `json:"configurationManagerName,omitempty" tf:"configuration_manager_name,omitempty"`

	// Version of the configuration manager to use. Defaults to "11.4".
	ConfigurationManagerVersion *string `json:"configurationManagerVersion,omitempty" tf:"configuration_manager_version,omitempty"`

	// When use_custom_cookbooks is set, provide this sub-object as described below.
	CustomCookbooksSource []CustomCookbooksSourceInitParameters `json:"customCookbooksSource,omitempty" tf:"custom_cookbooks_source,omitempty"`

	// User defined JSON passed to "Chef". Use a "here doc" for multiline JSON.
	CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"`

	// Name of the availability zone where instances will be created by default.
	// Cannot be set when vpc_id is set.
	DefaultAvailabilityZone *string `json:"defaultAvailabilityZone,omitempty" tf:"default_availability_zone,omitempty"`

	// Name of OS that will be installed on instances by default.
	DefaultOs *string `json:"defaultOs,omitempty" tf:"default_os,omitempty"`

	// Name of the type of root device instances will have by default.
	DefaultRootDeviceType *string `json:"defaultRootDeviceType,omitempty" tf:"default_root_device_type,omitempty"`

	// Name of the SSH keypair that instances will have by default.
	DefaultSSHKeyName *string `json:"defaultSshKeyName,omitempty" tf:"default_ssh_key_name,omitempty"`

	// Keyword representing the naming scheme that will be used for instance hostnames within this stack.
	HostnameTheme *string `json:"hostnameTheme,omitempty" tf:"hostname_theme,omitempty"`

	// Boolean value controlling whether Opsworks will run Berkshelf for this stack.
	ManageBerkshelf *bool `json:"manageBerkshelf,omitempty" tf:"manage_berkshelf,omitempty"`

	// The name of the stack.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

	// Boolean value controlling whether the custom cookbook settings are enabled.
	UseCustomCookbooks *bool `json:"useCustomCookbooks,omitempty" tf:"use_custom_cookbooks,omitempty"`

	// Boolean value controlling whether the standard OpsWorks security groups apply to created instances.
	UseOpsworksSecurityGroups *bool `json:"useOpsworksSecurityGroups,omitempty" tf:"use_opsworks_security_groups,omitempty"`
}

func (*StackInitParameters) DeepCopy added in v0.38.0

func (in *StackInitParameters) DeepCopy() *StackInitParameters

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

func (*StackInitParameters) DeepCopyInto added in v0.38.0

func (in *StackInitParameters) DeepCopyInto(out *StackInitParameters)

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

type StackList

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

StackList contains a list of Stacks

func (*StackList) DeepCopy

func (in *StackList) DeepCopy() *StackList

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

func (*StackList) DeepCopyInto

func (in *StackList) DeepCopyInto(out *StackList)

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

func (*StackList) DeepCopyObject

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

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

func (*StackList) GetItems

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

GetItems of this StackList.

type StackObservation

type StackObservation struct {

	// If set to "LATEST", OpsWorks will automatically install the latest version.
	AgentVersion *string `json:"agentVersion,omitempty" tf:"agent_version,omitempty"`

	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// If manage_berkshelf is enabled, the version of Berkshelf to use.
	BerkshelfVersion *string `json:"berkshelfVersion,omitempty" tf:"berkshelf_version,omitempty"`

	// Color to paint next to the stack's resources in the OpsWorks console.
	Color *string `json:"color,omitempty" tf:"color,omitempty"`

	// Name of the configuration manager to use. Defaults to "Chef".
	ConfigurationManagerName *string `json:"configurationManagerName,omitempty" tf:"configuration_manager_name,omitempty"`

	// Version of the configuration manager to use. Defaults to "11.4".
	ConfigurationManagerVersion *string `json:"configurationManagerVersion,omitempty" tf:"configuration_manager_version,omitempty"`

	// When use_custom_cookbooks is set, provide this sub-object as described below.
	CustomCookbooksSource []CustomCookbooksSourceObservation `json:"customCookbooksSource,omitempty" tf:"custom_cookbooks_source,omitempty"`

	// User defined JSON passed to "Chef". Use a "here doc" for multiline JSON.
	CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"`

	// Name of the availability zone where instances will be created by default.
	// Cannot be set when vpc_id is set.
	DefaultAvailabilityZone *string `json:"defaultAvailabilityZone,omitempty" tf:"default_availability_zone,omitempty"`

	// The ARN of an IAM Instance Profile that created instances will have by default.
	DefaultInstanceProfileArn *string `json:"defaultInstanceProfileArn,omitempty" tf:"default_instance_profile_arn,omitempty"`

	// Name of OS that will be installed on instances by default.
	DefaultOs *string `json:"defaultOs,omitempty" tf:"default_os,omitempty"`

	// Name of the type of root device instances will have by default.
	DefaultRootDeviceType *string `json:"defaultRootDeviceType,omitempty" tf:"default_root_device_type,omitempty"`

	// Name of the SSH keypair that instances will have by default.
	DefaultSSHKeyName *string `json:"defaultSshKeyName,omitempty" tf:"default_ssh_key_name,omitempty"`

	// ID of the subnet in which instances will be created by default.
	// Required if vpc_id is set to a VPC other than the default VPC, and forbidden if it isn't.
	DefaultSubnetID *string `json:"defaultSubnetId,omitempty" tf:"default_subnet_id,omitempty"`

	// Keyword representing the naming scheme that will be used for instance hostnames within this stack.
	HostnameTheme *string `json:"hostnameTheme,omitempty" tf:"hostname_theme,omitempty"`

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

	// Boolean value controlling whether Opsworks will run Berkshelf for this stack.
	ManageBerkshelf *bool `json:"manageBerkshelf,omitempty" tf:"manage_berkshelf,omitempty"`

	// The name of the stack.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the region where the stack will exist.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The ARN of an IAM role that the OpsWorks service will act as.
	ServiceRoleArn *string `json:"serviceRoleArn,omitempty" tf:"service_role_arn,omitempty"`

	StackEndpoint *string `json:"stackEndpoint,omitempty" tf:"stack_endpoint,omitempty"`

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

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// Boolean value controlling whether the custom cookbook settings are enabled.
	UseCustomCookbooks *bool `json:"useCustomCookbooks,omitempty" tf:"use_custom_cookbooks,omitempty"`

	// Boolean value controlling whether the standard OpsWorks security groups apply to created instances.
	UseOpsworksSecurityGroups *bool `json:"useOpsworksSecurityGroups,omitempty" tf:"use_opsworks_security_groups,omitempty"`

	// ID of the VPC that this stack belongs to.
	// Defaults to the region's default VPC.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*StackObservation) DeepCopy

func (in *StackObservation) DeepCopy() *StackObservation

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

func (*StackObservation) DeepCopyInto

func (in *StackObservation) DeepCopyInto(out *StackObservation)

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

type StackParameters

type StackParameters struct {

	// If set to "LATEST", OpsWorks will automatically install the latest version.
	// +kubebuilder:validation:Optional
	AgentVersion *string `json:"agentVersion,omitempty" tf:"agent_version,omitempty"`

	// If manage_berkshelf is enabled, the version of Berkshelf to use.
	// +kubebuilder:validation:Optional
	BerkshelfVersion *string `json:"berkshelfVersion,omitempty" tf:"berkshelf_version,omitempty"`

	// Color to paint next to the stack's resources in the OpsWorks console.
	// +kubebuilder:validation:Optional
	Color *string `json:"color,omitempty" tf:"color,omitempty"`

	// Name of the configuration manager to use. Defaults to "Chef".
	// +kubebuilder:validation:Optional
	ConfigurationManagerName *string `json:"configurationManagerName,omitempty" tf:"configuration_manager_name,omitempty"`

	// Version of the configuration manager to use. Defaults to "11.4".
	// +kubebuilder:validation:Optional
	ConfigurationManagerVersion *string `json:"configurationManagerVersion,omitempty" tf:"configuration_manager_version,omitempty"`

	// When use_custom_cookbooks is set, provide this sub-object as described below.
	// +kubebuilder:validation:Optional
	CustomCookbooksSource []CustomCookbooksSourceParameters `json:"customCookbooksSource,omitempty" tf:"custom_cookbooks_source,omitempty"`

	// User defined JSON passed to "Chef". Use a "here doc" for multiline JSON.
	// +kubebuilder:validation:Optional
	CustomJSON *string `json:"customJson,omitempty" tf:"custom_json,omitempty"`

	// Name of the availability zone where instances will be created by default.
	// Cannot be set when vpc_id is set.
	// +kubebuilder:validation:Optional
	DefaultAvailabilityZone *string `json:"defaultAvailabilityZone,omitempty" tf:"default_availability_zone,omitempty"`

	// The ARN of an IAM Instance Profile that created instances will have by default.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.InstanceProfile
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	DefaultInstanceProfileArn *string `json:"defaultInstanceProfileArn,omitempty" tf:"default_instance_profile_arn,omitempty"`

	// Reference to a InstanceProfile in iam to populate defaultInstanceProfileArn.
	// +kubebuilder:validation:Optional
	DefaultInstanceProfileArnRef *v1.Reference `json:"defaultInstanceProfileArnRef,omitempty" tf:"-"`

	// Selector for a InstanceProfile in iam to populate defaultInstanceProfileArn.
	// +kubebuilder:validation:Optional
	DefaultInstanceProfileArnSelector *v1.Selector `json:"defaultInstanceProfileArnSelector,omitempty" tf:"-"`

	// Name of OS that will be installed on instances by default.
	// +kubebuilder:validation:Optional
	DefaultOs *string `json:"defaultOs,omitempty" tf:"default_os,omitempty"`

	// Name of the type of root device instances will have by default.
	// +kubebuilder:validation:Optional
	DefaultRootDeviceType *string `json:"defaultRootDeviceType,omitempty" tf:"default_root_device_type,omitempty"`

	// Name of the SSH keypair that instances will have by default.
	// +kubebuilder:validation:Optional
	DefaultSSHKeyName *string `json:"defaultSshKeyName,omitempty" tf:"default_ssh_key_name,omitempty"`

	// ID of the subnet in which instances will be created by default.
	// Required if vpc_id is set to a VPC other than the default VPC, and forbidden if it isn't.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +kubebuilder:validation:Optional
	DefaultSubnetID *string `json:"defaultSubnetId,omitempty" tf:"default_subnet_id,omitempty"`

	// Reference to a Subnet in ec2 to populate defaultSubnetId.
	// +kubebuilder:validation:Optional
	DefaultSubnetIDRef *v1.Reference `json:"defaultSubnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in ec2 to populate defaultSubnetId.
	// +kubebuilder:validation:Optional
	DefaultSubnetIDSelector *v1.Selector `json:"defaultSubnetIdSelector,omitempty" tf:"-"`

	// Keyword representing the naming scheme that will be used for instance hostnames within this stack.
	// +kubebuilder:validation:Optional
	HostnameTheme *string `json:"hostnameTheme,omitempty" tf:"hostname_theme,omitempty"`

	// Boolean value controlling whether Opsworks will run Berkshelf for this stack.
	// +kubebuilder:validation:Optional
	ManageBerkshelf *bool `json:"manageBerkshelf,omitempty" tf:"manage_berkshelf,omitempty"`

	// The name of the stack.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the region where the stack will exist.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// The ARN of an IAM role that the OpsWorks service will act as.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	ServiceRoleArn *string `json:"serviceRoleArn,omitempty" tf:"service_role_arn,omitempty"`

	// Reference to a Role in iam to populate serviceRoleArn.
	// +kubebuilder:validation:Optional
	ServiceRoleArnRef *v1.Reference `json:"serviceRoleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate serviceRoleArn.
	// +kubebuilder:validation:Optional
	ServiceRoleArnSelector *v1.Selector `json:"serviceRoleArnSelector,omitempty" tf:"-"`

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

	// Boolean value controlling whether the custom cookbook settings are enabled.
	// +kubebuilder:validation:Optional
	UseCustomCookbooks *bool `json:"useCustomCookbooks,omitempty" tf:"use_custom_cookbooks,omitempty"`

	// Boolean value controlling whether the standard OpsWorks security groups apply to created instances.
	// +kubebuilder:validation:Optional
	UseOpsworksSecurityGroups *bool `json:"useOpsworksSecurityGroups,omitempty" tf:"use_opsworks_security_groups,omitempty"`

	// ID of the VPC that this stack belongs to.
	// Defaults to the region's default VPC.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

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

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

func (*StackParameters) DeepCopy

func (in *StackParameters) DeepCopy() *StackParameters

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

func (*StackParameters) DeepCopyInto

func (in *StackParameters) DeepCopyInto(out *StackParameters)

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

type StackSpec

type StackSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StackParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 StackInitParameters `json:"initProvider,omitempty"`
}

StackSpec defines the desired state of Stack

func (*StackSpec) DeepCopy

func (in *StackSpec) DeepCopy() *StackSpec

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

func (*StackSpec) DeepCopyInto

func (in *StackSpec) DeepCopyInto(out *StackSpec)

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

type StackStatus

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

StackStatus defines the observed state of Stack.

func (*StackStatus) DeepCopy

func (in *StackStatus) DeepCopy() *StackStatus

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

func (*StackStatus) DeepCopyInto

func (in *StackStatus) DeepCopyInto(out *StackStatus)

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

type UserProfile

type UserProfile 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.sshUsername) || (has(self.initProvider) && has(self.initProvider.sshUsername))",message="spec.forProvider.sshUsername is a required parameter"
	Spec   UserProfileSpec   `json:"spec"`
	Status UserProfileStatus `json:"status,omitempty"`
}

UserProfile is the Schema for the UserProfiles API. Provides an OpsWorks User Profile resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*UserProfile) DeepCopy

func (in *UserProfile) DeepCopy() *UserProfile

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

func (*UserProfile) DeepCopyInto

func (in *UserProfile) DeepCopyInto(out *UserProfile)

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

func (*UserProfile) DeepCopyObject

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

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

func (*UserProfile) GetCondition

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

GetCondition of this UserProfile.

func (*UserProfile) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this UserProfile

func (*UserProfile) GetDeletionPolicy

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

GetDeletionPolicy of this UserProfile.

func (*UserProfile) GetID

func (tr *UserProfile) GetID() string

GetID returns ID of underlying Terraform resource of this UserProfile

func (*UserProfile) GetInitParameters added in v0.38.0

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

GetInitParameters of this UserProfile

func (*UserProfile) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this UserProfile.

func (*UserProfile) GetObservation

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

GetObservation of this UserProfile

func (*UserProfile) GetParameters

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

GetParameters of this UserProfile

func (*UserProfile) GetProviderConfigReference

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

GetProviderConfigReference of this UserProfile.

func (*UserProfile) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this UserProfile.

func (*UserProfile) GetTerraformResourceType

func (mg *UserProfile) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this UserProfile

func (*UserProfile) GetTerraformSchemaVersion

func (tr *UserProfile) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*UserProfile) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this UserProfile.

func (*UserProfile) LateInitialize

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

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

func (*UserProfile) ResolveReferences

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

ResolveReferences of this UserProfile.

func (*UserProfile) SetConditions

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

SetConditions of this UserProfile.

func (*UserProfile) SetDeletionPolicy

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

SetDeletionPolicy of this UserProfile.

func (*UserProfile) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this UserProfile.

func (*UserProfile) SetObservation

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

SetObservation for this UserProfile

func (*UserProfile) SetParameters

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

SetParameters for this UserProfile

func (*UserProfile) SetProviderConfigReference

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

SetProviderConfigReference of this UserProfile.

func (*UserProfile) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this UserProfile.

func (*UserProfile) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this UserProfile.

type UserProfileInitParameters added in v0.38.0

type UserProfileInitParameters struct {

	// Whether users can specify their own SSH public key through the My Settings page
	AllowSelfManagement *bool `json:"allowSelfManagement,omitempty" tf:"allow_self_management,omitempty"`

	// The users public key
	SSHPublicKey *string `json:"sshPublicKey,omitempty" tf:"ssh_public_key,omitempty"`

	// The ssh username, with witch this user wants to log in
	SSHUsername *string `json:"sshUsername,omitempty" tf:"ssh_username,omitempty"`
}

func (*UserProfileInitParameters) DeepCopy added in v0.38.0

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

func (*UserProfileInitParameters) DeepCopyInto added in v0.38.0

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

type UserProfileList

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

UserProfileList contains a list of UserProfiles

func (*UserProfileList) DeepCopy

func (in *UserProfileList) DeepCopy() *UserProfileList

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

func (*UserProfileList) DeepCopyInto

func (in *UserProfileList) DeepCopyInto(out *UserProfileList)

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

func (*UserProfileList) DeepCopyObject

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

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

func (*UserProfileList) GetItems

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

GetItems of this UserProfileList.

type UserProfileObservation

type UserProfileObservation struct {

	// Whether users can specify their own SSH public key through the My Settings page
	AllowSelfManagement *bool `json:"allowSelfManagement,omitempty" tf:"allow_self_management,omitempty"`

	// Same value as user_arn
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The users public key
	SSHPublicKey *string `json:"sshPublicKey,omitempty" tf:"ssh_public_key,omitempty"`

	// The ssh username, with witch this user wants to log in
	SSHUsername *string `json:"sshUsername,omitempty" tf:"ssh_username,omitempty"`

	// The user's IAM ARN
	UserArn *string `json:"userArn,omitempty" tf:"user_arn,omitempty"`
}

func (*UserProfileObservation) DeepCopy

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

func (*UserProfileObservation) DeepCopyInto

func (in *UserProfileObservation) DeepCopyInto(out *UserProfileObservation)

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

type UserProfileParameters

type UserProfileParameters struct {

	// Whether users can specify their own SSH public key through the My Settings page
	// +kubebuilder:validation:Optional
	AllowSelfManagement *bool `json:"allowSelfManagement,omitempty" tf:"allow_self_management,omitempty"`

	// The users public key
	// +kubebuilder:validation:Optional
	SSHPublicKey *string `json:"sshPublicKey,omitempty" tf:"ssh_public_key,omitempty"`

	// The ssh username, with witch this user wants to log in
	// +kubebuilder:validation:Optional
	SSHUsername *string `json:"sshUsername,omitempty" tf:"ssh_username,omitempty"`

	// The user's IAM ARN
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.User
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	UserArn *string `json:"userArn,omitempty" tf:"user_arn,omitempty"`

	// Reference to a User in iam to populate userArn.
	// +kubebuilder:validation:Optional
	UserArnRef *v1.Reference `json:"userArnRef,omitempty" tf:"-"`

	// Selector for a User in iam to populate userArn.
	// +kubebuilder:validation:Optional
	UserArnSelector *v1.Selector `json:"userArnSelector,omitempty" tf:"-"`
}

func (*UserProfileParameters) DeepCopy

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

func (*UserProfileParameters) DeepCopyInto

func (in *UserProfileParameters) DeepCopyInto(out *UserProfileParameters)

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

type UserProfileSpec

type UserProfileSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     UserProfileParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 UserProfileInitParameters `json:"initProvider,omitempty"`
}

UserProfileSpec defines the desired state of UserProfile

func (*UserProfileSpec) DeepCopy

func (in *UserProfileSpec) DeepCopy() *UserProfileSpec

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

func (*UserProfileSpec) DeepCopyInto

func (in *UserProfileSpec) DeepCopyInto(out *UserProfileSpec)

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

type UserProfileStatus

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

UserProfileStatus defines the observed state of UserProfile.

func (*UserProfileStatus) DeepCopy

func (in *UserProfileStatus) DeepCopy() *UserProfileStatus

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

func (*UserProfileStatus) DeepCopyInto

func (in *UserProfileStatus) DeepCopyInto(out *UserProfileStatus)

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