v1beta2

package
v1.14.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	API_Kind             = "API"
	API_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: API_Kind}.String()
	API_KindAPIVersion   = API_Kind + "." + CRDGroupVersion.String()
	API_GroupVersionKind = CRDGroupVersion.WithKind(API_Kind)
)

Repository type metadata.

View Source
var (
	Authorizer_Kind             = "Authorizer"
	Authorizer_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Authorizer_Kind}.String()
	Authorizer_KindAPIVersion   = Authorizer_Kind + "." + CRDGroupVersion.String()
	Authorizer_GroupVersionKind = CRDGroupVersion.WithKind(Authorizer_Kind)
)

Repository type metadata.

View Source
var (
	DomainName_Kind             = "DomainName"
	DomainName_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DomainName_Kind}.String()
	DomainName_KindAPIVersion   = DomainName_Kind + "." + CRDGroupVersion.String()
	DomainName_GroupVersionKind = CRDGroupVersion.WithKind(DomainName_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 (
	Integration_Kind             = "Integration"
	Integration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Integration_Kind}.String()
	Integration_KindAPIVersion   = Integration_Kind + "." + CRDGroupVersion.String()
	Integration_GroupVersionKind = CRDGroupVersion.WithKind(Integration_Kind)
)

Repository type metadata.

View Source
var (
	Stage_Kind             = "Stage"
	Stage_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Stage_Kind}.String()
	Stage_KindAPIVersion   = Stage_Kind + "." + CRDGroupVersion.String()
	Stage_GroupVersionKind = CRDGroupVersion.WithKind(Stage_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type API

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

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

func (*API) DeepCopy

func (in *API) DeepCopy() *API

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

func (*API) DeepCopyInto

func (in *API) DeepCopyInto(out *API)

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

func (*API) DeepCopyObject

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

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

func (*API) GetCondition

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

GetCondition of this API.

func (*API) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this API

func (*API) GetDeletionPolicy

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

GetDeletionPolicy of this API.

func (*API) GetID

func (tr *API) GetID() string

GetID returns ID of underlying Terraform resource of this API

func (*API) GetInitParameters

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

GetInitParameters of this API

func (*API) GetManagementPolicies

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

GetManagementPolicies of this API.

func (*API) GetMergedParameters

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

GetInitParameters of this API

func (*API) GetObservation

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

GetObservation of this API

func (*API) GetParameters

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

GetParameters of this API

func (*API) GetProviderConfigReference

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

GetProviderConfigReference of this API.

func (*API) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this API.

func (*API) GetTerraformResourceType

func (mg *API) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this API

func (*API) GetTerraformSchemaVersion

func (tr *API) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*API) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this API.

func (*API) Hub

func (tr *API) Hub()

Hub marks this type as a conversion hub.

func (*API) LateInitialize

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

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

func (*API) SetConditions

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

SetConditions of this API.

func (*API) SetDeletionPolicy

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

SetDeletionPolicy of this API.

func (*API) SetManagementPolicies

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

SetManagementPolicies of this API.

func (*API) SetObservation

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

SetObservation for this API

func (*API) SetParameters

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

SetParameters for this API

func (*API) SetProviderConfigReference

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

SetProviderConfigReference of this API.

func (*API) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this API.

func (*API) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this API.

type APIInitParameters

type APIInitParameters struct {

	// An API key selection expression.
	// Valid values: $context.authorizer.usageIdentifierKey, $request.header.x-api-key. Defaults to $request.header.x-api-key.
	// Applicable for WebSocket APIs.
	APIKeySelectionExpression *string `json:"apiKeySelectionExpression,omitempty" tf:"api_key_selection_expression,omitempty"`

	// An OpenAPI specification that defines the set of routes and integrations to create as part of the HTTP APIs. Supported only for HTTP APIs.
	Body *string `json:"body,omitempty" tf:"body,omitempty"`

	// Cross-origin resource sharing (CORS) configuration. Applicable for HTTP APIs.
	CorsConfiguration *CorsConfigurationInitParameters `json:"corsConfiguration,omitempty" tf:"cors_configuration,omitempty"`

	// Part of quick create. Specifies any credentials required for the integration. Applicable for HTTP APIs.
	CredentialsArn *string `json:"credentialsArn,omitempty" tf:"credentials_arn,omitempty"`

	// Description of the API. Must be less than or equal to 1024 characters in length.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether clients can invoke the API by using the default execute-api endpoint.
	// By default, clients can invoke the API with the default {api_id}.execute-api.{region}.amazonaws.com endpoint.
	// To require that clients use a custom domain name to invoke the API, disable the default endpoint.
	DisableExecuteAPIEndpoint *bool `json:"disableExecuteApiEndpoint,omitempty" tf:"disable_execute_api_endpoint,omitempty"`

	// Whether warnings should return an error while API Gateway is creating or updating the resource using an OpenAPI specification. Defaults to false. Applicable for HTTP APIs.
	FailOnWarnings *bool `json:"failOnWarnings,omitempty" tf:"fail_on_warnings,omitempty"`

	// Name of the API. Must be less than or equal to 128 characters in length.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// API protocol. Valid values: HTTP, WEBSOCKET.
	ProtocolType *string `json:"protocolType,omitempty" tf:"protocol_type,omitempty"`

	// Part of quick create. Specifies any route key. Applicable for HTTP APIs.
	RouteKey *string `json:"routeKey,omitempty" tf:"route_key,omitempty"`

	// The route selection expression for the API.
	// Defaults to $request.method $request.path.
	RouteSelectionExpression *string `json:"routeSelectionExpression,omitempty" tf:"route_selection_expression,omitempty"`

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

	// Part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes.
	// For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN.
	// The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Applicable for HTTP APIs.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// Version identifier for the API. Must be between 1 and 64 characters in length.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*APIInitParameters) DeepCopy

func (in *APIInitParameters) DeepCopy() *APIInitParameters

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

func (*APIInitParameters) DeepCopyInto

func (in *APIInitParameters) DeepCopyInto(out *APIInitParameters)

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

type APIList

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

APIList contains a list of APIs

func (*APIList) DeepCopy

func (in *APIList) DeepCopy() *APIList

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

func (*APIList) DeepCopyInto

func (in *APIList) DeepCopyInto(out *APIList)

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

func (*APIList) DeepCopyObject

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

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

func (*APIList) GetItems

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

GetItems of this APIList.

type APIObservation

type APIObservation struct {

	// URI of the API, of the form https://{api-id}.execute-api.{region}.amazonaws.com for HTTP APIs and wss://{api-id}.execute-api.{region}.amazonaws.com for WebSocket APIs.
	APIEndpoint *string `json:"apiEndpoint,omitempty" tf:"api_endpoint,omitempty"`

	// An API key selection expression.
	// Valid values: $context.authorizer.usageIdentifierKey, $request.header.x-api-key. Defaults to $request.header.x-api-key.
	// Applicable for WebSocket APIs.
	APIKeySelectionExpression *string `json:"apiKeySelectionExpression,omitempty" tf:"api_key_selection_expression,omitempty"`

	// ARN of the API.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// An OpenAPI specification that defines the set of routes and integrations to create as part of the HTTP APIs. Supported only for HTTP APIs.
	Body *string `json:"body,omitempty" tf:"body,omitempty"`

	// Cross-origin resource sharing (CORS) configuration. Applicable for HTTP APIs.
	CorsConfiguration *CorsConfigurationObservation `json:"corsConfiguration,omitempty" tf:"cors_configuration,omitempty"`

	// Part of quick create. Specifies any credentials required for the integration. Applicable for HTTP APIs.
	CredentialsArn *string `json:"credentialsArn,omitempty" tf:"credentials_arn,omitempty"`

	// Description of the API. Must be less than or equal to 1024 characters in length.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether clients can invoke the API by using the default execute-api endpoint.
	// By default, clients can invoke the API with the default {api_id}.execute-api.{region}.amazonaws.com endpoint.
	// To require that clients use a custom domain name to invoke the API, disable the default endpoint.
	DisableExecuteAPIEndpoint *bool `json:"disableExecuteApiEndpoint,omitempty" tf:"disable_execute_api_endpoint,omitempty"`

	// ARN prefix to be used in an aws_lambda_permission's source_arn attribute
	// or in an aws_iam_policy to authorize access to the @connections API.
	// See the Amazon API Gateway Developer Guide for details.
	ExecutionArn *string `json:"executionArn,omitempty" tf:"execution_arn,omitempty"`

	// Whether warnings should return an error while API Gateway is creating or updating the resource using an OpenAPI specification. Defaults to false. Applicable for HTTP APIs.
	FailOnWarnings *bool `json:"failOnWarnings,omitempty" tf:"fail_on_warnings,omitempty"`

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

	// Name of the API. Must be less than or equal to 128 characters in length.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// API protocol. Valid values: HTTP, WEBSOCKET.
	ProtocolType *string `json:"protocolType,omitempty" tf:"protocol_type,omitempty"`

	// Part of quick create. Specifies any route key. Applicable for HTTP APIs.
	RouteKey *string `json:"routeKey,omitempty" tf:"route_key,omitempty"`

	// The route selection expression for the API.
	// Defaults to $request.method $request.path.
	RouteSelectionExpression *string `json:"routeSelectionExpression,omitempty" tf:"route_selection_expression,omitempty"`

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

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

	// Part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes.
	// For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN.
	// The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Applicable for HTTP APIs.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// Version identifier for the API. Must be between 1 and 64 characters in length.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*APIObservation) DeepCopy

func (in *APIObservation) DeepCopy() *APIObservation

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

func (*APIObservation) DeepCopyInto

func (in *APIObservation) DeepCopyInto(out *APIObservation)

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

type APIParameters

type APIParameters struct {

	// An API key selection expression.
	// Valid values: $context.authorizer.usageIdentifierKey, $request.header.x-api-key. Defaults to $request.header.x-api-key.
	// Applicable for WebSocket APIs.
	// +kubebuilder:validation:Optional
	APIKeySelectionExpression *string `json:"apiKeySelectionExpression,omitempty" tf:"api_key_selection_expression,omitempty"`

	// An OpenAPI specification that defines the set of routes and integrations to create as part of the HTTP APIs. Supported only for HTTP APIs.
	// +kubebuilder:validation:Optional
	Body *string `json:"body,omitempty" tf:"body,omitempty"`

	// Cross-origin resource sharing (CORS) configuration. Applicable for HTTP APIs.
	// +kubebuilder:validation:Optional
	CorsConfiguration *CorsConfigurationParameters `json:"corsConfiguration,omitempty" tf:"cors_configuration,omitempty"`

	// Part of quick create. Specifies any credentials required for the integration. Applicable for HTTP APIs.
	// +kubebuilder:validation:Optional
	CredentialsArn *string `json:"credentialsArn,omitempty" tf:"credentials_arn,omitempty"`

	// Description of the API. Must be less than or equal to 1024 characters in length.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Whether clients can invoke the API by using the default execute-api endpoint.
	// By default, clients can invoke the API with the default {api_id}.execute-api.{region}.amazonaws.com endpoint.
	// To require that clients use a custom domain name to invoke the API, disable the default endpoint.
	// +kubebuilder:validation:Optional
	DisableExecuteAPIEndpoint *bool `json:"disableExecuteApiEndpoint,omitempty" tf:"disable_execute_api_endpoint,omitempty"`

	// Whether warnings should return an error while API Gateway is creating or updating the resource using an OpenAPI specification. Defaults to false. Applicable for HTTP APIs.
	// +kubebuilder:validation:Optional
	FailOnWarnings *bool `json:"failOnWarnings,omitempty" tf:"fail_on_warnings,omitempty"`

	// Name of the API. Must be less than or equal to 128 characters in length.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// API protocol. Valid values: HTTP, WEBSOCKET.
	// +kubebuilder:validation:Optional
	ProtocolType *string `json:"protocolType,omitempty" tf:"protocol_type,omitempty"`

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

	// Part of quick create. Specifies any route key. Applicable for HTTP APIs.
	// +kubebuilder:validation:Optional
	RouteKey *string `json:"routeKey,omitempty" tf:"route_key,omitempty"`

	// The route selection expression for the API.
	// Defaults to $request.method $request.path.
	// +kubebuilder:validation:Optional
	RouteSelectionExpression *string `json:"routeSelectionExpression,omitempty" tf:"route_selection_expression,omitempty"`

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

	// Part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes.
	// For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN.
	// The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Applicable for HTTP APIs.
	// +kubebuilder:validation:Optional
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// Version identifier for the API. Must be between 1 and 64 characters in length.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*APIParameters) DeepCopy

func (in *APIParameters) DeepCopy() *APIParameters

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

func (*APIParameters) DeepCopyInto

func (in *APIParameters) DeepCopyInto(out *APIParameters)

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

type APISpec

type APISpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     APIParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider APIInitParameters `json:"initProvider,omitempty"`
}

APISpec defines the desired state of API

func (*APISpec) DeepCopy

func (in *APISpec) DeepCopy() *APISpec

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

func (*APISpec) DeepCopyInto

func (in *APISpec) DeepCopyInto(out *APISpec)

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

type APIStatus

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

APIStatus defines the observed state of API.

func (*APIStatus) DeepCopy

func (in *APIStatus) DeepCopy() *APIStatus

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

func (*APIStatus) DeepCopyInto

func (in *APIStatus) DeepCopyInto(out *APIStatus)

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

type AccessLogSettingsInitParameters

type AccessLogSettingsInitParameters struct {

	// ARN of the CloudWatch Logs log group to receive access logs. Any trailing :* is trimmed from the ARN.
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`

	// Single line format of the access logs of data. Refer to log settings for HTTP or Websocket.
	Format *string `json:"format,omitempty" tf:"format,omitempty"`
}

func (*AccessLogSettingsInitParameters) DeepCopy

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

func (*AccessLogSettingsInitParameters) DeepCopyInto

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

type AccessLogSettingsObservation

type AccessLogSettingsObservation struct {

	// ARN of the CloudWatch Logs log group to receive access logs. Any trailing :* is trimmed from the ARN.
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`

	// Single line format of the access logs of data. Refer to log settings for HTTP or Websocket.
	Format *string `json:"format,omitempty" tf:"format,omitempty"`
}

func (*AccessLogSettingsObservation) DeepCopy

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

func (*AccessLogSettingsObservation) DeepCopyInto

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

type AccessLogSettingsParameters

type AccessLogSettingsParameters struct {

	// ARN of the CloudWatch Logs log group to receive access logs. Any trailing :* is trimmed from the ARN.
	// +kubebuilder:validation:Optional
	DestinationArn *string `json:"destinationArn" tf:"destination_arn,omitempty"`

	// Single line format of the access logs of data. Refer to log settings for HTTP or Websocket.
	// +kubebuilder:validation:Optional
	Format *string `json:"format" tf:"format,omitempty"`
}

func (*AccessLogSettingsParameters) DeepCopy

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

func (*AccessLogSettingsParameters) DeepCopyInto

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

type Authorizer

type Authorizer 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.authorizerType) || (has(self.initProvider) && has(self.initProvider.authorizerType))",message="spec.forProvider.authorizerType is a required parameter"
	// +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   AuthorizerSpec   `json:"spec"`
	Status AuthorizerStatus `json:"status,omitempty"`
}

Authorizer is the Schema for the Authorizers API. Manages an Amazon API Gateway Version 2 authorizer. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Authorizer) DeepCopy

func (in *Authorizer) DeepCopy() *Authorizer

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

func (*Authorizer) DeepCopyInto

func (in *Authorizer) DeepCopyInto(out *Authorizer)

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

func (*Authorizer) DeepCopyObject

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

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

func (*Authorizer) GetCondition

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

GetCondition of this Authorizer.

func (*Authorizer) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Authorizer

func (*Authorizer) GetDeletionPolicy

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

GetDeletionPolicy of this Authorizer.

func (*Authorizer) GetID

func (tr *Authorizer) GetID() string

GetID returns ID of underlying Terraform resource of this Authorizer

func (*Authorizer) GetInitParameters

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

GetInitParameters of this Authorizer

func (*Authorizer) GetManagementPolicies

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

GetManagementPolicies of this Authorizer.

func (*Authorizer) GetMergedParameters

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

GetInitParameters of this Authorizer

func (*Authorizer) GetObservation

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

GetObservation of this Authorizer

func (*Authorizer) GetParameters

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

GetParameters of this Authorizer

func (*Authorizer) GetProviderConfigReference

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

GetProviderConfigReference of this Authorizer.

func (*Authorizer) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Authorizer.

func (*Authorizer) GetTerraformResourceType

func (mg *Authorizer) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Authorizer

func (*Authorizer) GetTerraformSchemaVersion

func (tr *Authorizer) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Authorizer) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Authorizer.

func (*Authorizer) Hub

func (tr *Authorizer) Hub()

Hub marks this type as a conversion hub.

func (*Authorizer) LateInitialize

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

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

func (*Authorizer) ResolveReferences

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

func (*Authorizer) SetConditions

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

SetConditions of this Authorizer.

func (*Authorizer) SetDeletionPolicy

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

SetDeletionPolicy of this Authorizer.

func (*Authorizer) SetManagementPolicies

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

SetManagementPolicies of this Authorizer.

func (*Authorizer) SetObservation

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

SetObservation for this Authorizer

func (*Authorizer) SetParameters

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

SetParameters for this Authorizer

func (*Authorizer) SetProviderConfigReference

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

SetProviderConfigReference of this Authorizer.

func (*Authorizer) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Authorizer.

func (*Authorizer) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Authorizer.

type AuthorizerInitParameters

type AuthorizerInitParameters struct {

	// API identifier.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta2.API
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

	// Reference to a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"`

	// Selector for a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"`

	// Required credentials as an IAM role for API Gateway to invoke the authorizer.
	// Supported only for REQUEST authorizers.
	AuthorizerCredentialsArn *string `json:"authorizerCredentialsArn,omitempty" tf:"authorizer_credentials_arn,omitempty"`

	// Format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers.
	// Valid values: 1.0, 2.0.
	AuthorizerPayloadFormatVersion *string `json:"authorizerPayloadFormatVersion,omitempty" tf:"authorizer_payload_format_version,omitempty"`

	// Time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled.
	// If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Defaults to 300.
	// Supported only for HTTP API Lambda authorizers.
	AuthorizerResultTTLInSeconds *float64 `json:"authorizerResultTtlInSeconds,omitempty" tf:"authorizer_result_ttl_in_seconds,omitempty"`

	// Authorizer type. Valid values: JWT, REQUEST.
	// Specify REQUEST for a Lambda function using incoming request parameters.
	// For HTTP APIs, specify JWT to use JSON Web Tokens.
	AuthorizerType *string `json:"authorizerType,omitempty" tf:"authorizer_type,omitempty"`

	// Authorizer's Uniform Resource Identifier (URI).
	// For REQUEST authorizers this must be a well-formed Lambda function URI, such as the invoke_arn attribute of the aws_lambda_function resource.
	// Supported only for REQUEST authorizers. Must be between 1 and 2048 characters in length.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta2.Function
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common/apis/lambda.FunctionInvokeARN()
	AuthorizerURI *string `json:"authorizerUri,omitempty" tf:"authorizer_uri,omitempty"`

	// Reference to a Function in lambda to populate authorizerUri.
	// +kubebuilder:validation:Optional
	AuthorizerURIRef *v1.Reference `json:"authorizerUriRef,omitempty" tf:"-"`

	// Selector for a Function in lambda to populate authorizerUri.
	// +kubebuilder:validation:Optional
	AuthorizerURISelector *v1.Selector `json:"authorizerUriSelector,omitempty" tf:"-"`

	// Whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy.
	// Supported only for HTTP APIs.
	EnableSimpleResponses *bool `json:"enableSimpleResponses,omitempty" tf:"enable_simple_responses,omitempty"`

	// Identity sources for which authorization is requested.
	// For REQUEST authorizers the value is a list of one or more mapping expressions of the specified request parameters.
	// For JWT authorizers the single entry specifies where to extract the JSON Web Token (JWT) from inbound requests.
	// +listType=set
	IdentitySources []*string `json:"identitySources,omitempty" tf:"identity_sources,omitempty"`

	// Configuration of a JWT authorizer. Required for the JWT authorizer type.
	// Supported only for HTTP APIs.
	JwtConfiguration *JwtConfigurationInitParameters `json:"jwtConfiguration,omitempty" tf:"jwt_configuration,omitempty"`

	// Name of the authorizer. Must be between 1 and 128 characters in length.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*AuthorizerInitParameters) DeepCopy

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

func (*AuthorizerInitParameters) DeepCopyInto

func (in *AuthorizerInitParameters) DeepCopyInto(out *AuthorizerInitParameters)

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

type AuthorizerList

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

AuthorizerList contains a list of Authorizers

func (*AuthorizerList) DeepCopy

func (in *AuthorizerList) DeepCopy() *AuthorizerList

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

func (*AuthorizerList) DeepCopyInto

func (in *AuthorizerList) DeepCopyInto(out *AuthorizerList)

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

func (*AuthorizerList) DeepCopyObject

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

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

func (*AuthorizerList) GetItems

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

GetItems of this AuthorizerList.

type AuthorizerObservation

type AuthorizerObservation struct {

	// API identifier.
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

	// Required credentials as an IAM role for API Gateway to invoke the authorizer.
	// Supported only for REQUEST authorizers.
	AuthorizerCredentialsArn *string `json:"authorizerCredentialsArn,omitempty" tf:"authorizer_credentials_arn,omitempty"`

	// Format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers.
	// Valid values: 1.0, 2.0.
	AuthorizerPayloadFormatVersion *string `json:"authorizerPayloadFormatVersion,omitempty" tf:"authorizer_payload_format_version,omitempty"`

	// Time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled.
	// If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Defaults to 300.
	// Supported only for HTTP API Lambda authorizers.
	AuthorizerResultTTLInSeconds *float64 `json:"authorizerResultTtlInSeconds,omitempty" tf:"authorizer_result_ttl_in_seconds,omitempty"`

	// Authorizer type. Valid values: JWT, REQUEST.
	// Specify REQUEST for a Lambda function using incoming request parameters.
	// For HTTP APIs, specify JWT to use JSON Web Tokens.
	AuthorizerType *string `json:"authorizerType,omitempty" tf:"authorizer_type,omitempty"`

	// Authorizer's Uniform Resource Identifier (URI).
	// For REQUEST authorizers this must be a well-formed Lambda function URI, such as the invoke_arn attribute of the aws_lambda_function resource.
	// Supported only for REQUEST authorizers. Must be between 1 and 2048 characters in length.
	AuthorizerURI *string `json:"authorizerUri,omitempty" tf:"authorizer_uri,omitempty"`

	// Whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy.
	// Supported only for HTTP APIs.
	EnableSimpleResponses *bool `json:"enableSimpleResponses,omitempty" tf:"enable_simple_responses,omitempty"`

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

	// Identity sources for which authorization is requested.
	// For REQUEST authorizers the value is a list of one or more mapping expressions of the specified request parameters.
	// For JWT authorizers the single entry specifies where to extract the JSON Web Token (JWT) from inbound requests.
	// +listType=set
	IdentitySources []*string `json:"identitySources,omitempty" tf:"identity_sources,omitempty"`

	// Configuration of a JWT authorizer. Required for the JWT authorizer type.
	// Supported only for HTTP APIs.
	JwtConfiguration *JwtConfigurationObservation `json:"jwtConfiguration,omitempty" tf:"jwt_configuration,omitempty"`

	// Name of the authorizer. Must be between 1 and 128 characters in length.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*AuthorizerObservation) DeepCopy

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

func (*AuthorizerObservation) DeepCopyInto

func (in *AuthorizerObservation) DeepCopyInto(out *AuthorizerObservation)

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

type AuthorizerParameters

type AuthorizerParameters struct {

	// API identifier.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta2.API
	// +kubebuilder:validation:Optional
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

	// Reference to a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"`

	// Selector for a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"`

	// Required credentials as an IAM role for API Gateway to invoke the authorizer.
	// Supported only for REQUEST authorizers.
	// +kubebuilder:validation:Optional
	AuthorizerCredentialsArn *string `json:"authorizerCredentialsArn,omitempty" tf:"authorizer_credentials_arn,omitempty"`

	// Format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers.
	// Valid values: 1.0, 2.0.
	// +kubebuilder:validation:Optional
	AuthorizerPayloadFormatVersion *string `json:"authorizerPayloadFormatVersion,omitempty" tf:"authorizer_payload_format_version,omitempty"`

	// Time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled.
	// If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Defaults to 300.
	// Supported only for HTTP API Lambda authorizers.
	// +kubebuilder:validation:Optional
	AuthorizerResultTTLInSeconds *float64 `json:"authorizerResultTtlInSeconds,omitempty" tf:"authorizer_result_ttl_in_seconds,omitempty"`

	// Authorizer type. Valid values: JWT, REQUEST.
	// Specify REQUEST for a Lambda function using incoming request parameters.
	// For HTTP APIs, specify JWT to use JSON Web Tokens.
	// +kubebuilder:validation:Optional
	AuthorizerType *string `json:"authorizerType,omitempty" tf:"authorizer_type,omitempty"`

	// Authorizer's Uniform Resource Identifier (URI).
	// For REQUEST authorizers this must be a well-formed Lambda function URI, such as the invoke_arn attribute of the aws_lambda_function resource.
	// Supported only for REQUEST authorizers. Must be between 1 and 2048 characters in length.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta2.Function
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common/apis/lambda.FunctionInvokeARN()
	// +kubebuilder:validation:Optional
	AuthorizerURI *string `json:"authorizerUri,omitempty" tf:"authorizer_uri,omitempty"`

	// Reference to a Function in lambda to populate authorizerUri.
	// +kubebuilder:validation:Optional
	AuthorizerURIRef *v1.Reference `json:"authorizerUriRef,omitempty" tf:"-"`

	// Selector for a Function in lambda to populate authorizerUri.
	// +kubebuilder:validation:Optional
	AuthorizerURISelector *v1.Selector `json:"authorizerUriSelector,omitempty" tf:"-"`

	// Whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy.
	// Supported only for HTTP APIs.
	// +kubebuilder:validation:Optional
	EnableSimpleResponses *bool `json:"enableSimpleResponses,omitempty" tf:"enable_simple_responses,omitempty"`

	// Identity sources for which authorization is requested.
	// For REQUEST authorizers the value is a list of one or more mapping expressions of the specified request parameters.
	// For JWT authorizers the single entry specifies where to extract the JSON Web Token (JWT) from inbound requests.
	// +kubebuilder:validation:Optional
	// +listType=set
	IdentitySources []*string `json:"identitySources,omitempty" tf:"identity_sources,omitempty"`

	// Configuration of a JWT authorizer. Required for the JWT authorizer type.
	// Supported only for HTTP APIs.
	// +kubebuilder:validation:Optional
	JwtConfiguration *JwtConfigurationParameters `json:"jwtConfiguration,omitempty" tf:"jwt_configuration,omitempty"`

	// Name of the authorizer. Must be between 1 and 128 characters in length.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

func (*AuthorizerParameters) DeepCopy

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

func (*AuthorizerParameters) DeepCopyInto

func (in *AuthorizerParameters) DeepCopyInto(out *AuthorizerParameters)

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

type AuthorizerSpec

type AuthorizerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AuthorizerParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AuthorizerInitParameters `json:"initProvider,omitempty"`
}

AuthorizerSpec defines the desired state of Authorizer

func (*AuthorizerSpec) DeepCopy

func (in *AuthorizerSpec) DeepCopy() *AuthorizerSpec

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

func (*AuthorizerSpec) DeepCopyInto

func (in *AuthorizerSpec) DeepCopyInto(out *AuthorizerSpec)

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

type AuthorizerStatus

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

AuthorizerStatus defines the observed state of Authorizer.

func (*AuthorizerStatus) DeepCopy

func (in *AuthorizerStatus) DeepCopy() *AuthorizerStatus

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

func (*AuthorizerStatus) DeepCopyInto

func (in *AuthorizerStatus) DeepCopyInto(out *AuthorizerStatus)

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

type CorsConfigurationInitParameters

type CorsConfigurationInitParameters struct {

	// Whether credentials are included in the CORS request.
	AllowCredentials *bool `json:"allowCredentials,omitempty" tf:"allow_credentials,omitempty"`

	// Set of allowed HTTP headers.
	// +listType=set
	AllowHeaders []*string `json:"allowHeaders,omitempty" tf:"allow_headers,omitempty"`

	// Set of allowed HTTP methods.
	// +listType=set
	AllowMethods []*string `json:"allowMethods,omitempty" tf:"allow_methods,omitempty"`

	// Set of allowed origins.
	// +listType=set
	AllowOrigins []*string `json:"allowOrigins,omitempty" tf:"allow_origins,omitempty"`

	// Set of exposed HTTP headers.
	// +listType=set
	ExposeHeaders []*string `json:"exposeHeaders,omitempty" tf:"expose_headers,omitempty"`

	// Number of seconds that the browser should cache preflight request results.
	MaxAge *float64 `json:"maxAge,omitempty" tf:"max_age,omitempty"`
}

func (*CorsConfigurationInitParameters) DeepCopy

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

func (*CorsConfigurationInitParameters) DeepCopyInto

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

type CorsConfigurationObservation

type CorsConfigurationObservation struct {

	// Whether credentials are included in the CORS request.
	AllowCredentials *bool `json:"allowCredentials,omitempty" tf:"allow_credentials,omitempty"`

	// Set of allowed HTTP headers.
	// +listType=set
	AllowHeaders []*string `json:"allowHeaders,omitempty" tf:"allow_headers,omitempty"`

	// Set of allowed HTTP methods.
	// +listType=set
	AllowMethods []*string `json:"allowMethods,omitempty" tf:"allow_methods,omitempty"`

	// Set of allowed origins.
	// +listType=set
	AllowOrigins []*string `json:"allowOrigins,omitempty" tf:"allow_origins,omitempty"`

	// Set of exposed HTTP headers.
	// +listType=set
	ExposeHeaders []*string `json:"exposeHeaders,omitempty" tf:"expose_headers,omitempty"`

	// Number of seconds that the browser should cache preflight request results.
	MaxAge *float64 `json:"maxAge,omitempty" tf:"max_age,omitempty"`
}

func (*CorsConfigurationObservation) DeepCopy

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

func (*CorsConfigurationObservation) DeepCopyInto

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

type CorsConfigurationParameters

type CorsConfigurationParameters struct {

	// Whether credentials are included in the CORS request.
	// +kubebuilder:validation:Optional
	AllowCredentials *bool `json:"allowCredentials,omitempty" tf:"allow_credentials,omitempty"`

	// Set of allowed HTTP headers.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowHeaders []*string `json:"allowHeaders,omitempty" tf:"allow_headers,omitempty"`

	// Set of allowed HTTP methods.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowMethods []*string `json:"allowMethods,omitempty" tf:"allow_methods,omitempty"`

	// Set of allowed origins.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowOrigins []*string `json:"allowOrigins,omitempty" tf:"allow_origins,omitempty"`

	// Set of exposed HTTP headers.
	// +kubebuilder:validation:Optional
	// +listType=set
	ExposeHeaders []*string `json:"exposeHeaders,omitempty" tf:"expose_headers,omitempty"`

	// Number of seconds that the browser should cache preflight request results.
	// +kubebuilder:validation:Optional
	MaxAge *float64 `json:"maxAge,omitempty" tf:"max_age,omitempty"`
}

func (*CorsConfigurationParameters) DeepCopy

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

func (*CorsConfigurationParameters) DeepCopyInto

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

type DefaultRouteSettingsInitParameters

type DefaultRouteSettingsInitParameters struct {

	// Whether data trace logging is enabled for the default route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Defaults to false. Supported only for WebSocket APIs.
	DataTraceEnabled *bool `json:"dataTraceEnabled,omitempty" tf:"data_trace_enabled,omitempty"`

	// Whether detailed metrics are enabled for the default route. Defaults to false.
	DetailedMetricsEnabled *bool `json:"detailedMetricsEnabled,omitempty" tf:"detailed_metrics_enabled,omitempty"`

	// Logging level for the default route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Valid values: ERROR, INFO, OFF. Defaults to OFF. Supported only for WebSocket APIs.
	LoggingLevel *string `json:"loggingLevel,omitempty" tf:"logging_level,omitempty"`

	// Throttling burst limit for the default route.
	ThrottlingBurstLimit *float64 `json:"throttlingBurstLimit,omitempty" tf:"throttling_burst_limit,omitempty"`

	// Throttling rate limit for the default route.
	ThrottlingRateLimit *float64 `json:"throttlingRateLimit,omitempty" tf:"throttling_rate_limit,omitempty"`
}

func (*DefaultRouteSettingsInitParameters) DeepCopy

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

func (*DefaultRouteSettingsInitParameters) DeepCopyInto

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

type DefaultRouteSettingsObservation

type DefaultRouteSettingsObservation struct {

	// Whether data trace logging is enabled for the default route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Defaults to false. Supported only for WebSocket APIs.
	DataTraceEnabled *bool `json:"dataTraceEnabled,omitempty" tf:"data_trace_enabled,omitempty"`

	// Whether detailed metrics are enabled for the default route. Defaults to false.
	DetailedMetricsEnabled *bool `json:"detailedMetricsEnabled,omitempty" tf:"detailed_metrics_enabled,omitempty"`

	// Logging level for the default route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Valid values: ERROR, INFO, OFF. Defaults to OFF. Supported only for WebSocket APIs.
	LoggingLevel *string `json:"loggingLevel,omitempty" tf:"logging_level,omitempty"`

	// Throttling burst limit for the default route.
	ThrottlingBurstLimit *float64 `json:"throttlingBurstLimit,omitempty" tf:"throttling_burst_limit,omitempty"`

	// Throttling rate limit for the default route.
	ThrottlingRateLimit *float64 `json:"throttlingRateLimit,omitempty" tf:"throttling_rate_limit,omitempty"`
}

func (*DefaultRouteSettingsObservation) DeepCopy

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

func (*DefaultRouteSettingsObservation) DeepCopyInto

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

type DefaultRouteSettingsParameters

type DefaultRouteSettingsParameters struct {

	// Whether data trace logging is enabled for the default route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Defaults to false. Supported only for WebSocket APIs.
	// +kubebuilder:validation:Optional
	DataTraceEnabled *bool `json:"dataTraceEnabled,omitempty" tf:"data_trace_enabled,omitempty"`

	// Whether detailed metrics are enabled for the default route. Defaults to false.
	// +kubebuilder:validation:Optional
	DetailedMetricsEnabled *bool `json:"detailedMetricsEnabled,omitempty" tf:"detailed_metrics_enabled,omitempty"`

	// Logging level for the default route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Valid values: ERROR, INFO, OFF. Defaults to OFF. Supported only for WebSocket APIs.
	// +kubebuilder:validation:Optional
	LoggingLevel *string `json:"loggingLevel,omitempty" tf:"logging_level,omitempty"`

	// Throttling burst limit for the default route.
	// +kubebuilder:validation:Optional
	ThrottlingBurstLimit *float64 `json:"throttlingBurstLimit,omitempty" tf:"throttling_burst_limit,omitempty"`

	// Throttling rate limit for the default route.
	// +kubebuilder:validation:Optional
	ThrottlingRateLimit *float64 `json:"throttlingRateLimit,omitempty" tf:"throttling_rate_limit,omitempty"`
}

func (*DefaultRouteSettingsParameters) DeepCopy

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

func (*DefaultRouteSettingsParameters) DeepCopyInto

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

type DomainName

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

DomainName is the Schema for the DomainNames API. Manages an Amazon API Gateway Version 2 domain name. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*DomainName) DeepCopy

func (in *DomainName) DeepCopy() *DomainName

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

func (*DomainName) DeepCopyInto

func (in *DomainName) DeepCopyInto(out *DomainName)

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

func (*DomainName) DeepCopyObject

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

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

func (*DomainName) GetCondition

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

GetCondition of this DomainName.

func (*DomainName) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DomainName

func (*DomainName) GetDeletionPolicy

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

GetDeletionPolicy of this DomainName.

func (*DomainName) GetID

func (tr *DomainName) GetID() string

GetID returns ID of underlying Terraform resource of this DomainName

func (*DomainName) GetInitParameters

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

GetInitParameters of this DomainName

func (*DomainName) GetManagementPolicies

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

GetManagementPolicies of this DomainName.

func (*DomainName) GetMergedParameters

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

GetInitParameters of this DomainName

func (*DomainName) GetObservation

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

GetObservation of this DomainName

func (*DomainName) GetParameters

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

GetParameters of this DomainName

func (*DomainName) GetProviderConfigReference

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

GetProviderConfigReference of this DomainName.

func (*DomainName) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DomainName.

func (*DomainName) GetTerraformResourceType

func (mg *DomainName) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DomainName

func (*DomainName) GetTerraformSchemaVersion

func (tr *DomainName) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DomainName) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DomainName.

func (*DomainName) Hub

func (tr *DomainName) Hub()

Hub marks this type as a conversion hub.

func (*DomainName) LateInitialize

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

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

func (*DomainName) ResolveReferences

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

ResolveReferences of this DomainName.

func (*DomainName) SetConditions

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

SetConditions of this DomainName.

func (*DomainName) SetDeletionPolicy

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

SetDeletionPolicy of this DomainName.

func (*DomainName) SetManagementPolicies

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

SetManagementPolicies of this DomainName.

func (*DomainName) SetObservation

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

SetObservation for this DomainName

func (*DomainName) SetParameters

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

SetParameters for this DomainName

func (*DomainName) SetProviderConfigReference

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

SetProviderConfigReference of this DomainName.

func (*DomainName) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DomainName.

func (*DomainName) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DomainName.

type DomainNameConfigurationInitParameters

type DomainNameConfigurationInitParameters struct {

	// ARN of an AWS-managed certificate that will be used by the endpoint for the domain name. AWS Certificate Manager is the only supported source. Use the aws_acm_certificate resource to configure an ACM certificate.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/acm/v1beta2.Certificate
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"`

	// Reference to a Certificate in acm to populate certificateArn.
	// +kubebuilder:validation:Optional
	CertificateArnRef *v1.Reference `json:"certificateArnRef,omitempty" tf:"-"`

	// Selector for a Certificate in acm to populate certificateArn.
	// +kubebuilder:validation:Optional
	CertificateArnSelector *v1.Selector `json:"certificateArnSelector,omitempty" tf:"-"`

	// Endpoint type. Valid values: REGIONAL.
	EndpointType *string `json:"endpointType,omitempty" tf:"endpoint_type,omitempty"`

	// ARN of the AWS-issued certificate used to validate custom domain ownership (when certificate_arn is issued via an ACM Private CA or mutual_tls_authentication is configured with an ACM-imported certificate.)
	OwnershipVerificationCertificateArn *string `json:"ownershipVerificationCertificateArn,omitempty" tf:"ownership_verification_certificate_arn,omitempty"`

	// Transport Layer Security (TLS) version of the security policy for the domain name. Valid values: TLS_1_2.
	SecurityPolicy *string `json:"securityPolicy,omitempty" tf:"security_policy,omitempty"`
}

func (*DomainNameConfigurationInitParameters) DeepCopy

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

func (*DomainNameConfigurationInitParameters) DeepCopyInto

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

type DomainNameConfigurationObservation

type DomainNameConfigurationObservation struct {

	// ARN of an AWS-managed certificate that will be used by the endpoint for the domain name. AWS Certificate Manager is the only supported source. Use the aws_acm_certificate resource to configure an ACM certificate.
	CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"`

	// Endpoint type. Valid values: REGIONAL.
	EndpointType *string `json:"endpointType,omitempty" tf:"endpoint_type,omitempty"`

	// (Computed) Amazon Route 53 Hosted Zone ID of the endpoint.
	HostedZoneID *string `json:"hostedZoneId,omitempty" tf:"hosted_zone_id,omitempty"`

	// ARN of the AWS-issued certificate used to validate custom domain ownership (when certificate_arn is issued via an ACM Private CA or mutual_tls_authentication is configured with an ACM-imported certificate.)
	OwnershipVerificationCertificateArn *string `json:"ownershipVerificationCertificateArn,omitempty" tf:"ownership_verification_certificate_arn,omitempty"`

	// Transport Layer Security (TLS) version of the security policy for the domain name. Valid values: TLS_1_2.
	SecurityPolicy *string `json:"securityPolicy,omitempty" tf:"security_policy,omitempty"`

	// (Computed) Target domain name.
	TargetDomainName *string `json:"targetDomainName,omitempty" tf:"target_domain_name,omitempty"`
}

func (*DomainNameConfigurationObservation) DeepCopy

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

func (*DomainNameConfigurationObservation) DeepCopyInto

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

type DomainNameConfigurationParameters

type DomainNameConfigurationParameters struct {

	// ARN of an AWS-managed certificate that will be used by the endpoint for the domain name. AWS Certificate Manager is the only supported source. Use the aws_acm_certificate resource to configure an ACM certificate.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/acm/v1beta2.Certificate
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"`

	// Reference to a Certificate in acm to populate certificateArn.
	// +kubebuilder:validation:Optional
	CertificateArnRef *v1.Reference `json:"certificateArnRef,omitempty" tf:"-"`

	// Selector for a Certificate in acm to populate certificateArn.
	// +kubebuilder:validation:Optional
	CertificateArnSelector *v1.Selector `json:"certificateArnSelector,omitempty" tf:"-"`

	// Endpoint type. Valid values: REGIONAL.
	// +kubebuilder:validation:Optional
	EndpointType *string `json:"endpointType" tf:"endpoint_type,omitempty"`

	// ARN of the AWS-issued certificate used to validate custom domain ownership (when certificate_arn is issued via an ACM Private CA or mutual_tls_authentication is configured with an ACM-imported certificate.)
	// +kubebuilder:validation:Optional
	OwnershipVerificationCertificateArn *string `json:"ownershipVerificationCertificateArn,omitempty" tf:"ownership_verification_certificate_arn,omitempty"`

	// Transport Layer Security (TLS) version of the security policy for the domain name. Valid values: TLS_1_2.
	// +kubebuilder:validation:Optional
	SecurityPolicy *string `json:"securityPolicy" tf:"security_policy,omitempty"`
}

func (*DomainNameConfigurationParameters) DeepCopy

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

func (*DomainNameConfigurationParameters) DeepCopyInto

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

type DomainNameInitParameters

type DomainNameInitParameters struct {

	// Domain name configuration. See below.
	DomainNameConfiguration *DomainNameConfigurationInitParameters `json:"domainNameConfiguration,omitempty" tf:"domain_name_configuration,omitempty"`

	// Mutual TLS authentication configuration for the domain name.
	MutualTLSAuthentication *MutualTLSAuthenticationInitParameters `json:"mutualTlsAuthentication,omitempty" tf:"mutual_tls_authentication,omitempty"`

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

func (*DomainNameInitParameters) DeepCopy

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

func (*DomainNameInitParameters) DeepCopyInto

func (in *DomainNameInitParameters) DeepCopyInto(out *DomainNameInitParameters)

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

type DomainNameList

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

DomainNameList contains a list of DomainNames

func (*DomainNameList) DeepCopy

func (in *DomainNameList) DeepCopy() *DomainNameList

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

func (*DomainNameList) DeepCopyInto

func (in *DomainNameList) DeepCopyInto(out *DomainNameList)

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

func (*DomainNameList) DeepCopyObject

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

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

func (*DomainNameList) GetItems

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

GetItems of this DomainNameList.

type DomainNameObservation

type DomainNameObservation struct {

	// API mapping selection expression for the domain name.
	APIMappingSelectionExpression *string `json:"apiMappingSelectionExpression,omitempty" tf:"api_mapping_selection_expression,omitempty"`

	// ARN of the domain name.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Domain name configuration. See below.
	DomainNameConfiguration *DomainNameConfigurationObservation `json:"domainNameConfiguration,omitempty" tf:"domain_name_configuration,omitempty"`

	// Domain name identifier.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Mutual TLS authentication configuration for the domain name.
	MutualTLSAuthentication *MutualTLSAuthenticationObservation `json:"mutualTlsAuthentication,omitempty" tf:"mutual_tls_authentication,omitempty"`

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

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

func (*DomainNameObservation) DeepCopy

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

func (*DomainNameObservation) DeepCopyInto

func (in *DomainNameObservation) DeepCopyInto(out *DomainNameObservation)

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

type DomainNameParameters

type DomainNameParameters struct {

	// Domain name configuration. See below.
	// +kubebuilder:validation:Optional
	DomainNameConfiguration *DomainNameConfigurationParameters `json:"domainNameConfiguration,omitempty" tf:"domain_name_configuration,omitempty"`

	// Mutual TLS authentication configuration for the domain name.
	// +kubebuilder:validation:Optional
	MutualTLSAuthentication *MutualTLSAuthenticationParameters `json:"mutualTlsAuthentication,omitempty" tf:"mutual_tls_authentication,omitempty"`

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

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

func (*DomainNameParameters) DeepCopy

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

func (*DomainNameParameters) DeepCopyInto

func (in *DomainNameParameters) DeepCopyInto(out *DomainNameParameters)

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

type DomainNameSpec

type DomainNameSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DomainNameParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DomainNameInitParameters `json:"initProvider,omitempty"`
}

DomainNameSpec defines the desired state of DomainName

func (*DomainNameSpec) DeepCopy

func (in *DomainNameSpec) DeepCopy() *DomainNameSpec

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

func (*DomainNameSpec) DeepCopyInto

func (in *DomainNameSpec) DeepCopyInto(out *DomainNameSpec)

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

type DomainNameStatus

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

DomainNameStatus defines the observed state of DomainName.

func (*DomainNameStatus) DeepCopy

func (in *DomainNameStatus) DeepCopy() *DomainNameStatus

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

func (*DomainNameStatus) DeepCopyInto

func (in *DomainNameStatus) DeepCopyInto(out *DomainNameStatus)

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

type Integration

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

Integration is the Schema for the Integrations API. Manages an Amazon API Gateway Version 2 integration. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Integration) DeepCopy

func (in *Integration) DeepCopy() *Integration

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

func (*Integration) DeepCopyInto

func (in *Integration) DeepCopyInto(out *Integration)

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

func (*Integration) DeepCopyObject

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

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

func (*Integration) GetCondition

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

GetCondition of this Integration.

func (*Integration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Integration

func (*Integration) GetDeletionPolicy

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

GetDeletionPolicy of this Integration.

func (*Integration) GetID

func (tr *Integration) GetID() string

GetID returns ID of underlying Terraform resource of this Integration

func (*Integration) GetInitParameters

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

GetInitParameters of this Integration

func (*Integration) GetManagementPolicies

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

GetManagementPolicies of this Integration.

func (*Integration) GetMergedParameters

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

GetInitParameters of this Integration

func (*Integration) GetObservation

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

GetObservation of this Integration

func (*Integration) GetParameters

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

GetParameters of this Integration

func (*Integration) GetProviderConfigReference

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

GetProviderConfigReference of this Integration.

func (*Integration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Integration.

func (*Integration) GetTerraformResourceType

func (mg *Integration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Integration

func (*Integration) GetTerraformSchemaVersion

func (tr *Integration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Integration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Integration.

func (*Integration) Hub

func (tr *Integration) Hub()

Hub marks this type as a conversion hub.

func (*Integration) LateInitialize

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

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

func (*Integration) ResolveReferences

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

ResolveReferences of this Integration.

func (*Integration) SetConditions

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

SetConditions of this Integration.

func (*Integration) SetDeletionPolicy

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

SetDeletionPolicy of this Integration.

func (*Integration) SetManagementPolicies

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

SetManagementPolicies of this Integration.

func (*Integration) SetObservation

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

SetObservation for this Integration

func (*Integration) SetParameters

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

SetParameters for this Integration

func (*Integration) SetProviderConfigReference

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

SetProviderConfigReference of this Integration.

func (*Integration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Integration.

func (*Integration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Integration.

type IntegrationInitParameters

type IntegrationInitParameters struct {

	// API identifier.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta2.API
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

	// Reference to a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"`

	// Selector for a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"`

	// ID of the VPC link for a private integration. Supported only for HTTP APIs. Must be between 1 and 1024 characters in length.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1.VPCLink
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"`

	// Reference to a VPCLink in apigatewayv2 to populate connectionId.
	// +kubebuilder:validation:Optional
	ConnectionIDRef *v1.Reference `json:"connectionIdRef,omitempty" tf:"-"`

	// Selector for a VPCLink in apigatewayv2 to populate connectionId.
	// +kubebuilder:validation:Optional
	ConnectionIDSelector *v1.Selector `json:"connectionIdSelector,omitempty" tf:"-"`

	// Type of the network connection to the integration endpoint. Valid values: INTERNET, VPC_LINK. Default is INTERNET.
	ConnectionType *string `json:"connectionType,omitempty" tf:"connection_type,omitempty"`

	// How to handle response payload content type conversions. Valid values: CONVERT_TO_BINARY, CONVERT_TO_TEXT. Supported only for WebSocket APIs.
	ContentHandlingStrategy *string `json:"contentHandlingStrategy,omitempty" tf:"content_handling_strategy,omitempty"`

	// Credentials required for the integration, if any.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	CredentialsArn *string `json:"credentialsArn,omitempty" tf:"credentials_arn,omitempty"`

	// Reference to a Role in iam to populate credentialsArn.
	// +kubebuilder:validation:Optional
	CredentialsArnRef *v1.Reference `json:"credentialsArnRef,omitempty" tf:"-"`

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

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

	// Integration's HTTP method. Must be specified if integration_type is not MOCK.
	IntegrationMethod *string `json:"integrationMethod,omitempty" tf:"integration_method,omitempty"`

	// AWS service action to invoke. Supported only for HTTP APIs when integration_type is AWS_PROXY. See the AWS service integration reference documentation for supported values. Must be between 1 and 128 characters in length.
	IntegrationSubtype *string `json:"integrationSubtype,omitempty" tf:"integration_subtype,omitempty"`

	// Integration type of an integration.
	// Valid values: AWS (supported only for WebSocket APIs), AWS_PROXY, HTTP (supported only for WebSocket APIs), HTTP_PROXY, MOCK (supported only for WebSocket APIs). For an HTTP API private integration, use HTTP_PROXY.
	IntegrationType *string `json:"integrationType,omitempty" tf:"integration_type,omitempty"`

	// URI of the Lambda function for a Lambda proxy integration, when integration_type is AWS_PROXY.
	// For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta2.Function
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("invoke_arn",true)
	IntegrationURI *string `json:"integrationUri,omitempty" tf:"integration_uri,omitempty"`

	// Reference to a Function in lambda to populate integrationUri.
	// +kubebuilder:validation:Optional
	IntegrationURIRef *v1.Reference `json:"integrationUriRef,omitempty" tf:"-"`

	// Selector for a Function in lambda to populate integrationUri.
	// +kubebuilder:validation:Optional
	IntegrationURISelector *v1.Selector `json:"integrationUriSelector,omitempty" tf:"-"`

	// Pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the request_templates attribute.
	// Valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, NEVER. Default is WHEN_NO_MATCH. Supported only for WebSocket APIs.
	PassthroughBehavior *string `json:"passthroughBehavior,omitempty" tf:"passthrough_behavior,omitempty"`

	// The format of the payload sent to an integration. Valid values: 1.0, 2.0. Default is 1.0.
	PayloadFormatVersion *string `json:"payloadFormatVersion,omitempty" tf:"payload_format_version,omitempty"`

	// For WebSocket APIs, a key-value map specifying request parameters that are passed from the method request to the backend.
	// For HTTP APIs with a specified integration_subtype, a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// For HTTP APIs without a specified integration_subtype, a key-value map specifying how to transform HTTP requests before sending them to the backend.
	// See the Amazon API Gateway Developer Guide for details.
	// +mapType=granular
	RequestParameters map[string]*string `json:"requestParameters,omitempty" tf:"request_parameters,omitempty"`

	// Map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. Supported only for WebSocket APIs.
	// +mapType=granular
	RequestTemplates map[string]*string `json:"requestTemplates,omitempty" tf:"request_templates,omitempty"`

	// Mappings to transform the HTTP response from a backend integration before returning the response to clients. Supported only for HTTP APIs.
	ResponseParameters []ResponseParametersInitParameters `json:"responseParameters,omitempty" tf:"response_parameters,omitempty"`

	// TLS configuration for a private integration. Supported only for HTTP APIs.
	TLSConfig *TLSConfigInitParameters `json:"tlsConfig,omitempty" tf:"tls_config,omitempty"`

	// The template selection expression for the integration.
	TemplateSelectionExpression *string `json:"templateSelectionExpression,omitempty" tf:"template_selection_expression,omitempty"`

	// Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs.
	// The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
	TimeoutMilliseconds *float64 `json:"timeoutMilliseconds,omitempty" tf:"timeout_milliseconds,omitempty"`
}

func (*IntegrationInitParameters) DeepCopy

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

func (*IntegrationInitParameters) DeepCopyInto

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

type IntegrationList

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

IntegrationList contains a list of Integrations

func (*IntegrationList) DeepCopy

func (in *IntegrationList) DeepCopy() *IntegrationList

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

func (*IntegrationList) DeepCopyInto

func (in *IntegrationList) DeepCopyInto(out *IntegrationList)

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

func (*IntegrationList) DeepCopyObject

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

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

func (*IntegrationList) GetItems

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

GetItems of this IntegrationList.

type IntegrationObservation

type IntegrationObservation struct {

	// API identifier.
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

	// ID of the VPC link for a private integration. Supported only for HTTP APIs. Must be between 1 and 1024 characters in length.
	ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"`

	// Type of the network connection to the integration endpoint. Valid values: INTERNET, VPC_LINK. Default is INTERNET.
	ConnectionType *string `json:"connectionType,omitempty" tf:"connection_type,omitempty"`

	// How to handle response payload content type conversions. Valid values: CONVERT_TO_BINARY, CONVERT_TO_TEXT. Supported only for WebSocket APIs.
	ContentHandlingStrategy *string `json:"contentHandlingStrategy,omitempty" tf:"content_handling_strategy,omitempty"`

	// Credentials required for the integration, if any.
	CredentialsArn *string `json:"credentialsArn,omitempty" tf:"credentials_arn,omitempty"`

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

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

	// Integration's HTTP method. Must be specified if integration_type is not MOCK.
	IntegrationMethod *string `json:"integrationMethod,omitempty" tf:"integration_method,omitempty"`

	// The integration response selection expression for the integration.
	IntegrationResponseSelectionExpression *string `json:"integrationResponseSelectionExpression,omitempty" tf:"integration_response_selection_expression,omitempty"`

	// AWS service action to invoke. Supported only for HTTP APIs when integration_type is AWS_PROXY. See the AWS service integration reference documentation for supported values. Must be between 1 and 128 characters in length.
	IntegrationSubtype *string `json:"integrationSubtype,omitempty" tf:"integration_subtype,omitempty"`

	// Integration type of an integration.
	// Valid values: AWS (supported only for WebSocket APIs), AWS_PROXY, HTTP (supported only for WebSocket APIs), HTTP_PROXY, MOCK (supported only for WebSocket APIs). For an HTTP API private integration, use HTTP_PROXY.
	IntegrationType *string `json:"integrationType,omitempty" tf:"integration_type,omitempty"`

	// URI of the Lambda function for a Lambda proxy integration, when integration_type is AWS_PROXY.
	// For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service.
	IntegrationURI *string `json:"integrationUri,omitempty" tf:"integration_uri,omitempty"`

	// Pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the request_templates attribute.
	// Valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, NEVER. Default is WHEN_NO_MATCH. Supported only for WebSocket APIs.
	PassthroughBehavior *string `json:"passthroughBehavior,omitempty" tf:"passthrough_behavior,omitempty"`

	// The format of the payload sent to an integration. Valid values: 1.0, 2.0. Default is 1.0.
	PayloadFormatVersion *string `json:"payloadFormatVersion,omitempty" tf:"payload_format_version,omitempty"`

	// For WebSocket APIs, a key-value map specifying request parameters that are passed from the method request to the backend.
	// For HTTP APIs with a specified integration_subtype, a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// For HTTP APIs without a specified integration_subtype, a key-value map specifying how to transform HTTP requests before sending them to the backend.
	// See the Amazon API Gateway Developer Guide for details.
	// +mapType=granular
	RequestParameters map[string]*string `json:"requestParameters,omitempty" tf:"request_parameters,omitempty"`

	// Map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. Supported only for WebSocket APIs.
	// +mapType=granular
	RequestTemplates map[string]*string `json:"requestTemplates,omitempty" tf:"request_templates,omitempty"`

	// Mappings to transform the HTTP response from a backend integration before returning the response to clients. Supported only for HTTP APIs.
	ResponseParameters []ResponseParametersObservation `json:"responseParameters,omitempty" tf:"response_parameters,omitempty"`

	// TLS configuration for a private integration. Supported only for HTTP APIs.
	TLSConfig *TLSConfigObservation `json:"tlsConfig,omitempty" tf:"tls_config,omitempty"`

	// The template selection expression for the integration.
	TemplateSelectionExpression *string `json:"templateSelectionExpression,omitempty" tf:"template_selection_expression,omitempty"`

	// Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs.
	// The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
	TimeoutMilliseconds *float64 `json:"timeoutMilliseconds,omitempty" tf:"timeout_milliseconds,omitempty"`
}

func (*IntegrationObservation) DeepCopy

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

func (*IntegrationObservation) DeepCopyInto

func (in *IntegrationObservation) DeepCopyInto(out *IntegrationObservation)

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

type IntegrationParameters

type IntegrationParameters struct {

	// API identifier.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta2.API
	// +kubebuilder:validation:Optional
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

	// Reference to a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"`

	// Selector for a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"`

	// ID of the VPC link for a private integration. Supported only for HTTP APIs. Must be between 1 and 1024 characters in length.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1.VPCLink
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"`

	// Reference to a VPCLink in apigatewayv2 to populate connectionId.
	// +kubebuilder:validation:Optional
	ConnectionIDRef *v1.Reference `json:"connectionIdRef,omitempty" tf:"-"`

	// Selector for a VPCLink in apigatewayv2 to populate connectionId.
	// +kubebuilder:validation:Optional
	ConnectionIDSelector *v1.Selector `json:"connectionIdSelector,omitempty" tf:"-"`

	// Type of the network connection to the integration endpoint. Valid values: INTERNET, VPC_LINK. Default is INTERNET.
	// +kubebuilder:validation:Optional
	ConnectionType *string `json:"connectionType,omitempty" tf:"connection_type,omitempty"`

	// How to handle response payload content type conversions. Valid values: CONVERT_TO_BINARY, CONVERT_TO_TEXT. Supported only for WebSocket APIs.
	// +kubebuilder:validation:Optional
	ContentHandlingStrategy *string `json:"contentHandlingStrategy,omitempty" tf:"content_handling_strategy,omitempty"`

	// Credentials required for the integration, if any.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	CredentialsArn *string `json:"credentialsArn,omitempty" tf:"credentials_arn,omitempty"`

	// Reference to a Role in iam to populate credentialsArn.
	// +kubebuilder:validation:Optional
	CredentialsArnRef *v1.Reference `json:"credentialsArnRef,omitempty" tf:"-"`

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

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

	// Integration's HTTP method. Must be specified if integration_type is not MOCK.
	// +kubebuilder:validation:Optional
	IntegrationMethod *string `json:"integrationMethod,omitempty" tf:"integration_method,omitempty"`

	// AWS service action to invoke. Supported only for HTTP APIs when integration_type is AWS_PROXY. See the AWS service integration reference documentation for supported values. Must be between 1 and 128 characters in length.
	// +kubebuilder:validation:Optional
	IntegrationSubtype *string `json:"integrationSubtype,omitempty" tf:"integration_subtype,omitempty"`

	// Integration type of an integration.
	// Valid values: AWS (supported only for WebSocket APIs), AWS_PROXY, HTTP (supported only for WebSocket APIs), HTTP_PROXY, MOCK (supported only for WebSocket APIs). For an HTTP API private integration, use HTTP_PROXY.
	// +kubebuilder:validation:Optional
	IntegrationType *string `json:"integrationType,omitempty" tf:"integration_type,omitempty"`

	// URI of the Lambda function for a Lambda proxy integration, when integration_type is AWS_PROXY.
	// For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lambda/v1beta2.Function
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("invoke_arn",true)
	// +kubebuilder:validation:Optional
	IntegrationURI *string `json:"integrationUri,omitempty" tf:"integration_uri,omitempty"`

	// Reference to a Function in lambda to populate integrationUri.
	// +kubebuilder:validation:Optional
	IntegrationURIRef *v1.Reference `json:"integrationUriRef,omitempty" tf:"-"`

	// Selector for a Function in lambda to populate integrationUri.
	// +kubebuilder:validation:Optional
	IntegrationURISelector *v1.Selector `json:"integrationUriSelector,omitempty" tf:"-"`

	// Pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the request_templates attribute.
	// Valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, NEVER. Default is WHEN_NO_MATCH. Supported only for WebSocket APIs.
	// +kubebuilder:validation:Optional
	PassthroughBehavior *string `json:"passthroughBehavior,omitempty" tf:"passthrough_behavior,omitempty"`

	// The format of the payload sent to an integration. Valid values: 1.0, 2.0. Default is 1.0.
	// +kubebuilder:validation:Optional
	PayloadFormatVersion *string `json:"payloadFormatVersion,omitempty" tf:"payload_format_version,omitempty"`

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

	// For WebSocket APIs, a key-value map specifying request parameters that are passed from the method request to the backend.
	// For HTTP APIs with a specified integration_subtype, a key-value map specifying parameters that are passed to AWS_PROXY integrations.
	// For HTTP APIs without a specified integration_subtype, a key-value map specifying how to transform HTTP requests before sending them to the backend.
	// See the Amazon API Gateway Developer Guide for details.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	RequestParameters map[string]*string `json:"requestParameters,omitempty" tf:"request_parameters,omitempty"`

	// Map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. Supported only for WebSocket APIs.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	RequestTemplates map[string]*string `json:"requestTemplates,omitempty" tf:"request_templates,omitempty"`

	// Mappings to transform the HTTP response from a backend integration before returning the response to clients. Supported only for HTTP APIs.
	// +kubebuilder:validation:Optional
	ResponseParameters []ResponseParametersParameters `json:"responseParameters,omitempty" tf:"response_parameters,omitempty"`

	// TLS configuration for a private integration. Supported only for HTTP APIs.
	// +kubebuilder:validation:Optional
	TLSConfig *TLSConfigParameters `json:"tlsConfig,omitempty" tf:"tls_config,omitempty"`

	// The template selection expression for the integration.
	// +kubebuilder:validation:Optional
	TemplateSelectionExpression *string `json:"templateSelectionExpression,omitempty" tf:"template_selection_expression,omitempty"`

	// Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs.
	// The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
	// +kubebuilder:validation:Optional
	TimeoutMilliseconds *float64 `json:"timeoutMilliseconds,omitempty" tf:"timeout_milliseconds,omitempty"`
}

func (*IntegrationParameters) DeepCopy

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

func (*IntegrationParameters) DeepCopyInto

func (in *IntegrationParameters) DeepCopyInto(out *IntegrationParameters)

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

type IntegrationSpec

type IntegrationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IntegrationParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider IntegrationInitParameters `json:"initProvider,omitempty"`
}

IntegrationSpec defines the desired state of Integration

func (*IntegrationSpec) DeepCopy

func (in *IntegrationSpec) DeepCopy() *IntegrationSpec

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

func (*IntegrationSpec) DeepCopyInto

func (in *IntegrationSpec) DeepCopyInto(out *IntegrationSpec)

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

type IntegrationStatus

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

IntegrationStatus defines the observed state of Integration.

func (*IntegrationStatus) DeepCopy

func (in *IntegrationStatus) DeepCopy() *IntegrationStatus

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

func (*IntegrationStatus) DeepCopyInto

func (in *IntegrationStatus) DeepCopyInto(out *IntegrationStatus)

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

type JwtConfigurationInitParameters

type JwtConfigurationInitParameters struct {

	// List of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list.
	// +listType=set
	Audience []*string `json:"audience,omitempty" tf:"audience,omitempty"`

	// Base domain of the identity provider that issues JSON Web Tokens, such as the endpoint attribute of the aws_cognito_user_pool resource.
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`
}

func (*JwtConfigurationInitParameters) DeepCopy

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

func (*JwtConfigurationInitParameters) DeepCopyInto

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

type JwtConfigurationObservation

type JwtConfigurationObservation struct {

	// List of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list.
	// +listType=set
	Audience []*string `json:"audience,omitempty" tf:"audience,omitempty"`

	// Base domain of the identity provider that issues JSON Web Tokens, such as the endpoint attribute of the aws_cognito_user_pool resource.
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`
}

func (*JwtConfigurationObservation) DeepCopy

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

func (*JwtConfigurationObservation) DeepCopyInto

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

type JwtConfigurationParameters

type JwtConfigurationParameters struct {

	// List of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list.
	// +kubebuilder:validation:Optional
	// +listType=set
	Audience []*string `json:"audience,omitempty" tf:"audience,omitempty"`

	// Base domain of the identity provider that issues JSON Web Tokens, such as the endpoint attribute of the aws_cognito_user_pool resource.
	// +kubebuilder:validation:Optional
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`
}

func (*JwtConfigurationParameters) DeepCopy

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

func (*JwtConfigurationParameters) DeepCopyInto

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

type MutualTLSAuthenticationInitParameters

type MutualTLSAuthenticationInitParameters struct {

	// Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, s3://bucket-name/key-name. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version.
	TruststoreURI *string `json:"truststoreUri,omitempty" tf:"truststore_uri,omitempty"`

	// Version of the S3 object that contains the truststore. To specify a version, you must have versioning enabled for the S3 bucket.
	TruststoreVersion *string `json:"truststoreVersion,omitempty" tf:"truststore_version,omitempty"`
}

func (*MutualTLSAuthenticationInitParameters) DeepCopy

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

func (*MutualTLSAuthenticationInitParameters) DeepCopyInto

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

type MutualTLSAuthenticationObservation

type MutualTLSAuthenticationObservation struct {

	// Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, s3://bucket-name/key-name. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version.
	TruststoreURI *string `json:"truststoreUri,omitempty" tf:"truststore_uri,omitempty"`

	// Version of the S3 object that contains the truststore. To specify a version, you must have versioning enabled for the S3 bucket.
	TruststoreVersion *string `json:"truststoreVersion,omitempty" tf:"truststore_version,omitempty"`
}

func (*MutualTLSAuthenticationObservation) DeepCopy

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

func (*MutualTLSAuthenticationObservation) DeepCopyInto

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

type MutualTLSAuthenticationParameters

type MutualTLSAuthenticationParameters struct {

	// Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, s3://bucket-name/key-name. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version.
	// +kubebuilder:validation:Optional
	TruststoreURI *string `json:"truststoreUri" tf:"truststore_uri,omitempty"`

	// Version of the S3 object that contains the truststore. To specify a version, you must have versioning enabled for the S3 bucket.
	// +kubebuilder:validation:Optional
	TruststoreVersion *string `json:"truststoreVersion,omitempty" tf:"truststore_version,omitempty"`
}

func (*MutualTLSAuthenticationParameters) DeepCopy

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

func (*MutualTLSAuthenticationParameters) DeepCopyInto

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

type ResponseParametersInitParameters

type ResponseParametersInitParameters struct {

	// Key-value map. The key of this map identifies the location of the request parameter to change, and how to change it. The corresponding value specifies the new data for the parameter.
	// See the Amazon API Gateway Developer Guide for details.
	// +mapType=granular
	Mappings map[string]*string `json:"mappings,omitempty" tf:"mappings,omitempty"`

	// HTTP status code in the range 200-599.
	StatusCode *string `json:"statusCode,omitempty" tf:"status_code,omitempty"`
}

func (*ResponseParametersInitParameters) DeepCopy

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

func (*ResponseParametersInitParameters) DeepCopyInto

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

type ResponseParametersObservation

type ResponseParametersObservation struct {

	// Key-value map. The key of this map identifies the location of the request parameter to change, and how to change it. The corresponding value specifies the new data for the parameter.
	// See the Amazon API Gateway Developer Guide for details.
	// +mapType=granular
	Mappings map[string]*string `json:"mappings,omitempty" tf:"mappings,omitempty"`

	// HTTP status code in the range 200-599.
	StatusCode *string `json:"statusCode,omitempty" tf:"status_code,omitempty"`
}

func (*ResponseParametersObservation) DeepCopy

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

func (*ResponseParametersObservation) DeepCopyInto

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

type ResponseParametersParameters

type ResponseParametersParameters struct {

	// Key-value map. The key of this map identifies the location of the request parameter to change, and how to change it. The corresponding value specifies the new data for the parameter.
	// See the Amazon API Gateway Developer Guide for details.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Mappings map[string]*string `json:"mappings" tf:"mappings,omitempty"`

	// HTTP status code in the range 200-599.
	// +kubebuilder:validation:Optional
	StatusCode *string `json:"statusCode" tf:"status_code,omitempty"`
}

func (*ResponseParametersParameters) DeepCopy

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

func (*ResponseParametersParameters) DeepCopyInto

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

type RouteSettingsInitParameters

type RouteSettingsInitParameters struct {

	// Whether data trace logging is enabled for the route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Defaults to false. Supported only for WebSocket APIs.
	DataTraceEnabled *bool `json:"dataTraceEnabled,omitempty" tf:"data_trace_enabled,omitempty"`

	// Whether detailed metrics are enabled for the route. Defaults to false.
	DetailedMetricsEnabled *bool `json:"detailedMetricsEnabled,omitempty" tf:"detailed_metrics_enabled,omitempty"`

	// Logging level for the route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Valid values: ERROR, INFO, OFF. Defaults to OFF. Supported only for WebSocket APIs.
	LoggingLevel *string `json:"loggingLevel,omitempty" tf:"logging_level,omitempty"`

	// Route key.
	RouteKey *string `json:"routeKey,omitempty" tf:"route_key,omitempty"`

	// Throttling burst limit for the route.
	ThrottlingBurstLimit *float64 `json:"throttlingBurstLimit,omitempty" tf:"throttling_burst_limit,omitempty"`

	// Throttling rate limit for the route.
	ThrottlingRateLimit *float64 `json:"throttlingRateLimit,omitempty" tf:"throttling_rate_limit,omitempty"`
}

func (*RouteSettingsInitParameters) DeepCopy

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

func (*RouteSettingsInitParameters) DeepCopyInto

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

type RouteSettingsObservation

type RouteSettingsObservation struct {

	// Whether data trace logging is enabled for the route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Defaults to false. Supported only for WebSocket APIs.
	DataTraceEnabled *bool `json:"dataTraceEnabled,omitempty" tf:"data_trace_enabled,omitempty"`

	// Whether detailed metrics are enabled for the route. Defaults to false.
	DetailedMetricsEnabled *bool `json:"detailedMetricsEnabled,omitempty" tf:"detailed_metrics_enabled,omitempty"`

	// Logging level for the route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Valid values: ERROR, INFO, OFF. Defaults to OFF. Supported only for WebSocket APIs.
	LoggingLevel *string `json:"loggingLevel,omitempty" tf:"logging_level,omitempty"`

	// Route key.
	RouteKey *string `json:"routeKey,omitempty" tf:"route_key,omitempty"`

	// Throttling burst limit for the route.
	ThrottlingBurstLimit *float64 `json:"throttlingBurstLimit,omitempty" tf:"throttling_burst_limit,omitempty"`

	// Throttling rate limit for the route.
	ThrottlingRateLimit *float64 `json:"throttlingRateLimit,omitempty" tf:"throttling_rate_limit,omitempty"`
}

func (*RouteSettingsObservation) DeepCopy

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

func (*RouteSettingsObservation) DeepCopyInto

func (in *RouteSettingsObservation) DeepCopyInto(out *RouteSettingsObservation)

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

type RouteSettingsParameters

type RouteSettingsParameters struct {

	// Whether data trace logging is enabled for the route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Defaults to false. Supported only for WebSocket APIs.
	// +kubebuilder:validation:Optional
	DataTraceEnabled *bool `json:"dataTraceEnabled,omitempty" tf:"data_trace_enabled,omitempty"`

	// Whether detailed metrics are enabled for the route. Defaults to false.
	// +kubebuilder:validation:Optional
	DetailedMetricsEnabled *bool `json:"detailedMetricsEnabled,omitempty" tf:"detailed_metrics_enabled,omitempty"`

	// Logging level for the route. Affects the log entries pushed to Amazon CloudWatch Logs.
	// Valid values: ERROR, INFO, OFF. Defaults to OFF. Supported only for WebSocket APIs.
	// +kubebuilder:validation:Optional
	LoggingLevel *string `json:"loggingLevel,omitempty" tf:"logging_level,omitempty"`

	// Route key.
	// +kubebuilder:validation:Optional
	RouteKey *string `json:"routeKey" tf:"route_key,omitempty"`

	// Throttling burst limit for the route.
	// +kubebuilder:validation:Optional
	ThrottlingBurstLimit *float64 `json:"throttlingBurstLimit,omitempty" tf:"throttling_burst_limit,omitempty"`

	// Throttling rate limit for the route.
	// +kubebuilder:validation:Optional
	ThrottlingRateLimit *float64 `json:"throttlingRateLimit,omitempty" tf:"throttling_rate_limit,omitempty"`
}

func (*RouteSettingsParameters) DeepCopy

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

func (*RouteSettingsParameters) DeepCopyInto

func (in *RouteSettingsParameters) DeepCopyInto(out *RouteSettingsParameters)

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

type Stage

type Stage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StageSpec   `json:"spec"`
	Status            StageStatus `json:"status,omitempty"`
}

Stage is the Schema for the Stages API. Manages an Amazon API Gateway Version 2 stage. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Stage) DeepCopy

func (in *Stage) DeepCopy() *Stage

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

func (*Stage) DeepCopyInto

func (in *Stage) DeepCopyInto(out *Stage)

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

func (*Stage) DeepCopyObject

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

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

func (*Stage) GetCondition

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

GetCondition of this Stage.

func (*Stage) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Stage

func (*Stage) GetDeletionPolicy

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

GetDeletionPolicy of this Stage.

func (*Stage) GetID

func (tr *Stage) GetID() string

GetID returns ID of underlying Terraform resource of this Stage

func (*Stage) GetInitParameters

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

GetInitParameters of this Stage

func (*Stage) GetManagementPolicies

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

GetManagementPolicies of this Stage.

func (*Stage) GetMergedParameters

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

GetInitParameters of this Stage

func (*Stage) GetObservation

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

GetObservation of this Stage

func (*Stage) GetParameters

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

GetParameters of this Stage

func (*Stage) GetProviderConfigReference

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

GetProviderConfigReference of this Stage.

func (*Stage) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Stage.

func (*Stage) GetTerraformResourceType

func (mg *Stage) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Stage

func (*Stage) GetTerraformSchemaVersion

func (tr *Stage) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Stage) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Stage.

func (*Stage) Hub

func (tr *Stage) Hub()

Hub marks this type as a conversion hub.

func (*Stage) LateInitialize

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

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

func (*Stage) ResolveReferences

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

ResolveReferences of this Stage.

func (*Stage) SetConditions

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

SetConditions of this Stage.

func (*Stage) SetDeletionPolicy

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

SetDeletionPolicy of this Stage.

func (*Stage) SetManagementPolicies

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

SetManagementPolicies of this Stage.

func (*Stage) SetObservation

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

SetObservation for this Stage

func (*Stage) SetParameters

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

SetParameters for this Stage

func (*Stage) SetProviderConfigReference

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

SetProviderConfigReference of this Stage.

func (*Stage) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Stage.

func (*Stage) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Stage.

type StageInitParameters

type StageInitParameters struct {

	// API identifier.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta2.API
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

	// Reference to a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"`

	// Selector for a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"`

	// Settings for logging access in this stage.
	// Use the aws_api_gateway_account resource to configure permissions for CloudWatch Logging.
	AccessLogSettings *AccessLogSettingsInitParameters `json:"accessLogSettings,omitempty" tf:"access_log_settings,omitempty"`

	// Whether updates to an API automatically trigger a new deployment. Defaults to false. Applicable for HTTP APIs.
	AutoDeploy *bool `json:"autoDeploy,omitempty" tf:"auto_deploy,omitempty"`

	// Identifier of a client certificate for the stage. Use the aws_api_gateway_client_certificate resource to configure a client certificate.
	// Supported only for WebSocket APIs.
	ClientCertificateID *string `json:"clientCertificateId,omitempty" tf:"client_certificate_id,omitempty"`

	// Default route settings for the stage.
	DefaultRouteSettings *DefaultRouteSettingsInitParameters `json:"defaultRouteSettings,omitempty" tf:"default_route_settings,omitempty"`

	// Deployment identifier of the stage. Use the aws_apigatewayv2_deployment resource to configure a deployment.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1.Deployment
	DeploymentID *string `json:"deploymentId,omitempty" tf:"deployment_id,omitempty"`

	// Reference to a Deployment in apigatewayv2 to populate deploymentId.
	// +kubebuilder:validation:Optional
	DeploymentIDRef *v1.Reference `json:"deploymentIdRef,omitempty" tf:"-"`

	// Selector for a Deployment in apigatewayv2 to populate deploymentId.
	// +kubebuilder:validation:Optional
	DeploymentIDSelector *v1.Selector `json:"deploymentIdSelector,omitempty" tf:"-"`

	// Description for the stage. Must be less than or equal to 1024 characters in length.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Route settings for the stage.
	RouteSettings []RouteSettingsInitParameters `json:"routeSettings,omitempty" tf:"route_settings,omitempty"`

	// Map that defines the stage variables for the stage.
	// +mapType=granular
	StageVariables map[string]*string `json:"stageVariables,omitempty" tf:"stage_variables,omitempty"`

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

func (*StageInitParameters) DeepCopy

func (in *StageInitParameters) DeepCopy() *StageInitParameters

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

func (*StageInitParameters) DeepCopyInto

func (in *StageInitParameters) DeepCopyInto(out *StageInitParameters)

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

type StageList

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

StageList contains a list of Stages

func (*StageList) DeepCopy

func (in *StageList) DeepCopy() *StageList

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

func (*StageList) DeepCopyInto

func (in *StageList) DeepCopyInto(out *StageList)

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

func (*StageList) DeepCopyObject

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

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

func (*StageList) GetItems

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

GetItems of this StageList.

type StageObservation

type StageObservation struct {

	// API identifier.
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

	// Settings for logging access in this stage.
	// Use the aws_api_gateway_account resource to configure permissions for CloudWatch Logging.
	AccessLogSettings *AccessLogSettingsObservation `json:"accessLogSettings,omitempty" tf:"access_log_settings,omitempty"`

	// ARN of the stage.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Whether updates to an API automatically trigger a new deployment. Defaults to false. Applicable for HTTP APIs.
	AutoDeploy *bool `json:"autoDeploy,omitempty" tf:"auto_deploy,omitempty"`

	// Identifier of a client certificate for the stage. Use the aws_api_gateway_client_certificate resource to configure a client certificate.
	// Supported only for WebSocket APIs.
	ClientCertificateID *string `json:"clientCertificateId,omitempty" tf:"client_certificate_id,omitempty"`

	// Default route settings for the stage.
	DefaultRouteSettings *DefaultRouteSettingsObservation `json:"defaultRouteSettings,omitempty" tf:"default_route_settings,omitempty"`

	// Deployment identifier of the stage. Use the aws_apigatewayv2_deployment resource to configure a deployment.
	DeploymentID *string `json:"deploymentId,omitempty" tf:"deployment_id,omitempty"`

	// Description for the stage. Must be less than or equal to 1024 characters in length.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// ARN prefix to be used in an aws_lambda_permission's source_arn attribute.
	// For WebSocket APIs this attribute can additionally be used in an aws_iam_policy to authorize access to the @connections API.
	// See the Amazon API Gateway Developer Guide for details.
	ExecutionArn *string `json:"executionArn,omitempty" tf:"execution_arn,omitempty"`

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

	// URL to invoke the API pointing to the stage,
	// e.g., wss://z4675bid1j.execute-api.eu-west-2.amazonaws.com/example-stage, or https://z4675bid1j.execute-api.eu-west-2.amazonaws.com/
	InvokeURL *string `json:"invokeUrl,omitempty" tf:"invoke_url,omitempty"`

	// Route settings for the stage.
	RouteSettings []RouteSettingsObservation `json:"routeSettings,omitempty" tf:"route_settings,omitempty"`

	// Map that defines the stage variables for the stage.
	// +mapType=granular
	StageVariables map[string]*string `json:"stageVariables,omitempty" tf:"stage_variables,omitempty"`

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

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

func (*StageObservation) DeepCopy

func (in *StageObservation) DeepCopy() *StageObservation

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

func (*StageObservation) DeepCopyInto

func (in *StageObservation) DeepCopyInto(out *StageObservation)

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

type StageParameters

type StageParameters struct {

	// API identifier.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta2.API
	// +kubebuilder:validation:Optional
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

	// Reference to a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDRef *v1.Reference `json:"apiIdRef,omitempty" tf:"-"`

	// Selector for a API in apigatewayv2 to populate apiId.
	// +kubebuilder:validation:Optional
	APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"`

	// Settings for logging access in this stage.
	// Use the aws_api_gateway_account resource to configure permissions for CloudWatch Logging.
	// +kubebuilder:validation:Optional
	AccessLogSettings *AccessLogSettingsParameters `json:"accessLogSettings,omitempty" tf:"access_log_settings,omitempty"`

	// Whether updates to an API automatically trigger a new deployment. Defaults to false. Applicable for HTTP APIs.
	// +kubebuilder:validation:Optional
	AutoDeploy *bool `json:"autoDeploy,omitempty" tf:"auto_deploy,omitempty"`

	// Identifier of a client certificate for the stage. Use the aws_api_gateway_client_certificate resource to configure a client certificate.
	// Supported only for WebSocket APIs.
	// +kubebuilder:validation:Optional
	ClientCertificateID *string `json:"clientCertificateId,omitempty" tf:"client_certificate_id,omitempty"`

	// Default route settings for the stage.
	// +kubebuilder:validation:Optional
	DefaultRouteSettings *DefaultRouteSettingsParameters `json:"defaultRouteSettings,omitempty" tf:"default_route_settings,omitempty"`

	// Deployment identifier of the stage. Use the aws_apigatewayv2_deployment resource to configure a deployment.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1.Deployment
	// +kubebuilder:validation:Optional
	DeploymentID *string `json:"deploymentId,omitempty" tf:"deployment_id,omitempty"`

	// Reference to a Deployment in apigatewayv2 to populate deploymentId.
	// +kubebuilder:validation:Optional
	DeploymentIDRef *v1.Reference `json:"deploymentIdRef,omitempty" tf:"-"`

	// Selector for a Deployment in apigatewayv2 to populate deploymentId.
	// +kubebuilder:validation:Optional
	DeploymentIDSelector *v1.Selector `json:"deploymentIdSelector,omitempty" tf:"-"`

	// Description for the stage. Must be less than or equal to 1024 characters in length.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// Route settings for the stage.
	// +kubebuilder:validation:Optional
	RouteSettings []RouteSettingsParameters `json:"routeSettings,omitempty" tf:"route_settings,omitempty"`

	// Map that defines the stage variables for the stage.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	StageVariables map[string]*string `json:"stageVariables,omitempty" tf:"stage_variables,omitempty"`

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

func (*StageParameters) DeepCopy

func (in *StageParameters) DeepCopy() *StageParameters

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

func (*StageParameters) DeepCopyInto

func (in *StageParameters) DeepCopyInto(out *StageParameters)

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

type StageSpec

type StageSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StageParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider StageInitParameters `json:"initProvider,omitempty"`
}

StageSpec defines the desired state of Stage

func (*StageSpec) DeepCopy

func (in *StageSpec) DeepCopy() *StageSpec

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

func (*StageSpec) DeepCopyInto

func (in *StageSpec) DeepCopyInto(out *StageSpec)

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

type StageStatus

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

StageStatus defines the observed state of Stage.

func (*StageStatus) DeepCopy

func (in *StageStatus) DeepCopy() *StageStatus

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

func (*StageStatus) DeepCopyInto

func (in *StageStatus) DeepCopyInto(out *StageStatus)

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

type TLSConfigInitParameters

type TLSConfigInitParameters struct {

	// If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
	ServerNameToVerify *string `json:"serverNameToVerify,omitempty" tf:"server_name_to_verify,omitempty"`
}

func (*TLSConfigInitParameters) DeepCopy

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

func (*TLSConfigInitParameters) DeepCopyInto

func (in *TLSConfigInitParameters) DeepCopyInto(out *TLSConfigInitParameters)

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

type TLSConfigObservation

type TLSConfigObservation struct {

	// If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
	ServerNameToVerify *string `json:"serverNameToVerify,omitempty" tf:"server_name_to_verify,omitempty"`
}

func (*TLSConfigObservation) DeepCopy

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

func (*TLSConfigObservation) DeepCopyInto

func (in *TLSConfigObservation) DeepCopyInto(out *TLSConfigObservation)

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

type TLSConfigParameters

type TLSConfigParameters struct {

	// If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
	// +kubebuilder:validation:Optional
	ServerNameToVerify *string `json:"serverNameToVerify,omitempty" tf:"server_name_to_verify,omitempty"`
}

func (*TLSConfigParameters) DeepCopy

func (in *TLSConfigParameters) DeepCopy() *TLSConfigParameters

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

func (*TLSConfigParameters) DeepCopyInto

func (in *TLSConfigParameters) DeepCopyInto(out *TLSConfigParameters)

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