v1beta1

package
v0.0.0-...-274ce61 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	APICache_Kind             = "APICache"
	APICache_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: APICache_Kind}.String()
	APICache_KindAPIVersion   = APICache_Kind + "." + CRDGroupVersion.String()
	APICache_GroupVersionKind = CRDGroupVersion.WithKind(APICache_Kind)
)

Repository type metadata.

View Source
var (
	APIKey_Kind             = "APIKey"
	APIKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: APIKey_Kind}.String()
	APIKey_KindAPIVersion   = APIKey_Kind + "." + CRDGroupVersion.String()
	APIKey_GroupVersionKind = CRDGroupVersion.WithKind(APIKey_Kind)
)

Repository type metadata.

View Source
var (
	Datasource_Kind             = "Datasource"
	Datasource_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Datasource_Kind}.String()
	Datasource_KindAPIVersion   = Datasource_Kind + "." + CRDGroupVersion.String()
	Datasource_GroupVersionKind = CRDGroupVersion.WithKind(Datasource_Kind)
)

Repository type metadata.

View Source
var (
	Function_Kind             = "Function"
	Function_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Function_Kind}.String()
	Function_KindAPIVersion   = Function_Kind + "." + CRDGroupVersion.String()
	Function_GroupVersionKind = CRDGroupVersion.WithKind(Function_Kind)
)

Repository type metadata.

View Source
var (
	GraphQLAPI_Kind             = "GraphQLAPI"
	GraphQLAPI_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GraphQLAPI_Kind}.String()
	GraphQLAPI_KindAPIVersion   = GraphQLAPI_Kind + "." + CRDGroupVersion.String()
	GraphQLAPI_GroupVersionKind = CRDGroupVersion.WithKind(GraphQLAPI_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 (
	Resolver_Kind             = "Resolver"
	Resolver_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Resolver_Kind}.String()
	Resolver_KindAPIVersion   = Resolver_Kind + "." + CRDGroupVersion.String()
	Resolver_GroupVersionKind = CRDGroupVersion.WithKind(Resolver_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type APICache

type APICache struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.apiCachingBehavior)",message="apiCachingBehavior is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.ttl)",message="ttl is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.type)",message="type is a required parameter"
	Spec   APICacheSpec   `json:"spec"`
	Status APICacheStatus `json:"status,omitempty"`
}

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

func (*APICache) DeepCopy

func (in *APICache) DeepCopy() *APICache

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

func (*APICache) DeepCopyInto

func (in *APICache) DeepCopyInto(out *APICache)

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

func (*APICache) DeepCopyObject

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

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

func (*APICache) GetCondition

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

GetCondition of this APICache.

func (*APICache) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this APICache

func (*APICache) GetDeletionPolicy

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

GetDeletionPolicy of this APICache.

func (*APICache) GetID

func (tr *APICache) GetID() string

GetID returns ID of underlying Terraform resource of this APICache

func (*APICache) GetManagementPolicy

func (mg *APICache) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this APICache.

func (*APICache) GetObservation

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

GetObservation of this APICache

func (*APICache) GetParameters

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

GetParameters of this APICache

func (*APICache) GetProviderConfigReference

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

GetProviderConfigReference of this APICache.

func (*APICache) GetProviderReference

func (mg *APICache) GetProviderReference() *xpv1.Reference

GetProviderReference of this APICache. Deprecated: Use GetProviderConfigReference.

func (*APICache) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this APICache.

func (*APICache) GetTerraformResourceType

func (mg *APICache) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this APICache

func (*APICache) GetTerraformSchemaVersion

func (tr *APICache) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*APICache) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this APICache.

func (*APICache) LateInitialize

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

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

func (*APICache) ResolveReferences

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

ResolveReferences of this APICache.

func (*APICache) SetConditions

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

SetConditions of this APICache.

func (*APICache) SetDeletionPolicy

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

SetDeletionPolicy of this APICache.

func (*APICache) SetManagementPolicy

func (mg *APICache) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this APICache.

func (*APICache) SetObservation

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

SetObservation for this APICache

func (*APICache) SetParameters

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

SetParameters for this APICache

func (*APICache) SetProviderConfigReference

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

SetProviderConfigReference of this APICache.

func (*APICache) SetProviderReference

func (mg *APICache) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this APICache. Deprecated: Use SetProviderConfigReference.

func (*APICache) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this APICache.

func (*APICache) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this APICache.

type APICacheList

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

APICacheList contains a list of APICaches

func (*APICacheList) DeepCopy

func (in *APICacheList) DeepCopy() *APICacheList

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

func (*APICacheList) DeepCopyInto

func (in *APICacheList) DeepCopyInto(out *APICacheList)

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

func (*APICacheList) DeepCopyObject

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

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

func (*APICacheList) GetItems

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

GetItems of this APICacheList.

type APICacheObservation

type APICacheObservation struct {

	// Caching behavior. Valid values are FULL_REQUEST_CACHING and PER_RESOLVER_CACHING.
	APICachingBehavior *string `json:"apiCachingBehavior,omitempty" tf:"api_caching_behavior,omitempty"`

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

	// At-rest encryption flag for cache. You cannot update this setting after creation.
	AtRestEncryptionEnabled *bool `json:"atRestEncryptionEnabled,omitempty" tf:"at_rest_encryption_enabled,omitempty"`

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

	// TTL in seconds for cache entries.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// Transit encryption flag when connecting to cache. You cannot update this setting after creation.
	TransitEncryptionEnabled *bool `json:"transitEncryptionEnabled,omitempty" tf:"transit_encryption_enabled,omitempty"`

	// Cache instance type. Valid values are SMALL, MEDIUM, LARGE, XLARGE, LARGE_2X, LARGE_4X, LARGE_8X, LARGE_12X, T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*APICacheObservation) DeepCopy

func (in *APICacheObservation) DeepCopy() *APICacheObservation

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

func (*APICacheObservation) DeepCopyInto

func (in *APICacheObservation) DeepCopyInto(out *APICacheObservation)

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

type APICacheParameters

type APICacheParameters struct {

	// Caching behavior. Valid values are FULL_REQUEST_CACHING and PER_RESOLVER_CACHING.
	// +kubebuilder:validation:Optional
	APICachingBehavior *string `json:"apiCachingBehavior,omitempty" tf:"api_caching_behavior,omitempty"`

	// GraphQL API ID.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appsync/v1beta1.GraphQLAPI
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

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

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

	// At-rest encryption flag for cache. You cannot update this setting after creation.
	// +kubebuilder:validation:Optional
	AtRestEncryptionEnabled *bool `json:"atRestEncryptionEnabled,omitempty" tf:"at_rest_encryption_enabled,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:"-"`

	// TTL in seconds for cache entries.
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// Transit encryption flag when connecting to cache. You cannot update this setting after creation.
	// +kubebuilder:validation:Optional
	TransitEncryptionEnabled *bool `json:"transitEncryptionEnabled,omitempty" tf:"transit_encryption_enabled,omitempty"`

	// Cache instance type. Valid values are SMALL, MEDIUM, LARGE, XLARGE, LARGE_2X, LARGE_4X, LARGE_8X, LARGE_12X, T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*APICacheParameters) DeepCopy

func (in *APICacheParameters) DeepCopy() *APICacheParameters

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

func (*APICacheParameters) DeepCopyInto

func (in *APICacheParameters) DeepCopyInto(out *APICacheParameters)

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

type APICacheSpec

type APICacheSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     APICacheParameters `json:"forProvider"`
}

APICacheSpec defines the desired state of APICache

func (*APICacheSpec) DeepCopy

func (in *APICacheSpec) DeepCopy() *APICacheSpec

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

func (*APICacheSpec) DeepCopyInto

func (in *APICacheSpec) DeepCopyInto(out *APICacheSpec)

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

type APICacheStatus

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

APICacheStatus defines the observed state of APICache.

func (*APICacheStatus) DeepCopy

func (in *APICacheStatus) DeepCopy() *APICacheStatus

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

func (*APICacheStatus) DeepCopyInto

func (in *APICacheStatus) DeepCopyInto(out *APICacheStatus)

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

type APIKey

type APIKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              APIKeySpec   `json:"spec"`
	Status            APIKeyStatus `json:"status,omitempty"`
}

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

func (*APIKey) DeepCopy

func (in *APIKey) DeepCopy() *APIKey

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

func (*APIKey) DeepCopyInto

func (in *APIKey) DeepCopyInto(out *APIKey)

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

func (*APIKey) DeepCopyObject

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

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

func (*APIKey) GetCondition

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

GetCondition of this APIKey.

func (*APIKey) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this APIKey

func (*APIKey) GetDeletionPolicy

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

GetDeletionPolicy of this APIKey.

func (*APIKey) GetID

func (tr *APIKey) GetID() string

GetID returns ID of underlying Terraform resource of this APIKey

func (*APIKey) GetManagementPolicy

func (mg *APIKey) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this APIKey.

func (*APIKey) GetObservation

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

GetObservation of this APIKey

func (*APIKey) GetParameters

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

GetParameters of this APIKey

func (*APIKey) GetProviderConfigReference

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

GetProviderConfigReference of this APIKey.

func (*APIKey) GetProviderReference

func (mg *APIKey) GetProviderReference() *xpv1.Reference

GetProviderReference of this APIKey. Deprecated: Use GetProviderConfigReference.

func (*APIKey) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this APIKey.

func (*APIKey) GetTerraformResourceType

func (mg *APIKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this APIKey

func (*APIKey) GetTerraformSchemaVersion

func (tr *APIKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*APIKey) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this APIKey.

func (*APIKey) LateInitialize

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

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

func (*APIKey) ResolveReferences

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

ResolveReferences of this APIKey.

func (*APIKey) SetConditions

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

SetConditions of this APIKey.

func (*APIKey) SetDeletionPolicy

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

SetDeletionPolicy of this APIKey.

func (*APIKey) SetManagementPolicy

func (mg *APIKey) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this APIKey.

func (*APIKey) SetObservation

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

SetObservation for this APIKey

func (*APIKey) SetParameters

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

SetParameters for this APIKey

func (*APIKey) SetProviderConfigReference

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

SetProviderConfigReference of this APIKey.

func (*APIKey) SetProviderReference

func (mg *APIKey) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this APIKey. Deprecated: Use SetProviderConfigReference.

func (*APIKey) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this APIKey.

func (*APIKey) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this APIKey.

type APIKeyList

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

APIKeyList contains a list of APIKeys

func (*APIKeyList) DeepCopy

func (in *APIKeyList) DeepCopy() *APIKeyList

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

func (*APIKeyList) DeepCopyInto

func (in *APIKeyList) DeepCopyInto(out *APIKeyList)

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

func (*APIKeyList) DeepCopyObject

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

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

func (*APIKeyList) GetItems

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

GetItems of this APIKeyList.

type APIKeyObservation

type APIKeyObservation struct {

	// ID of the associated AppSync API
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

	// API key description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.
	Expires *string `json:"expires,omitempty" tf:"expires,omitempty"`

	// API Key ID (Formatted as ApiId:Key)
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*APIKeyObservation) DeepCopy

func (in *APIKeyObservation) DeepCopy() *APIKeyObservation

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

func (*APIKeyObservation) DeepCopyInto

func (in *APIKeyObservation) DeepCopyInto(out *APIKeyObservation)

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

type APIKeyParameters

type APIKeyParameters struct {

	// ID of the associated AppSync API
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appsync/v1beta1.GraphQLAPI
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

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

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

	// API key description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.
	// +kubebuilder:validation:Optional
	Expires *string `json:"expires,omitempty" tf:"expires,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 (*APIKeyParameters) DeepCopy

func (in *APIKeyParameters) DeepCopy() *APIKeyParameters

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

func (*APIKeyParameters) DeepCopyInto

func (in *APIKeyParameters) DeepCopyInto(out *APIKeyParameters)

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

type APIKeySpec

type APIKeySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     APIKeyParameters `json:"forProvider"`
}

APIKeySpec defines the desired state of APIKey

func (*APIKeySpec) DeepCopy

func (in *APIKeySpec) DeepCopy() *APIKeySpec

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

func (*APIKeySpec) DeepCopyInto

func (in *APIKeySpec) DeepCopyInto(out *APIKeySpec)

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

type APIKeyStatus

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

APIKeyStatus defines the observed state of APIKey.

func (*APIKeyStatus) DeepCopy

func (in *APIKeyStatus) DeepCopy() *APIKeyStatus

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

func (*APIKeyStatus) DeepCopyInto

func (in *APIKeyStatus) DeepCopyInto(out *APIKeyStatus)

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

type AdditionalAuthenticationProviderObservation

type AdditionalAuthenticationProviderObservation struct {

	// Authentication type. Valid values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
	AuthenticationType *string `json:"authenticationType,omitempty" tf:"authentication_type,omitempty"`

	// Nested argument containing Lambda authorizer configuration. Defined below.
	LambdaAuthorizerConfig []LambdaAuthorizerConfigObservation `json:"lambdaAuthorizerConfig,omitempty" tf:"lambda_authorizer_config,omitempty"`

	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenIDConnectConfig []OpenIDConnectConfigObservation `json:"openidConnectConfig,omitempty" tf:"openid_connect_config,omitempty"`

	// Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig []UserPoolConfigObservation `json:"userPoolConfig,omitempty" tf:"user_pool_config,omitempty"`
}

func (*AdditionalAuthenticationProviderObservation) DeepCopy

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

func (*AdditionalAuthenticationProviderObservation) DeepCopyInto

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

type AdditionalAuthenticationProviderParameters

type AdditionalAuthenticationProviderParameters struct {

	// Authentication type. Valid values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
	// +kubebuilder:validation:Required
	AuthenticationType *string `json:"authenticationType" tf:"authentication_type,omitempty"`

	// Nested argument containing Lambda authorizer configuration. Defined below.
	// +kubebuilder:validation:Optional
	LambdaAuthorizerConfig []LambdaAuthorizerConfigParameters `json:"lambdaAuthorizerConfig,omitempty" tf:"lambda_authorizer_config,omitempty"`

	// Nested argument containing OpenID Connect configuration. Defined below.
	// +kubebuilder:validation:Optional
	OpenIDConnectConfig []OpenIDConnectConfigParameters `json:"openidConnectConfig,omitempty" tf:"openid_connect_config,omitempty"`

	// Amazon Cognito User Pool configuration. Defined below.
	// +kubebuilder:validation:Optional
	UserPoolConfig []UserPoolConfigParameters `json:"userPoolConfig,omitempty" tf:"user_pool_config,omitempty"`
}

func (*AdditionalAuthenticationProviderParameters) DeepCopy

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

func (*AdditionalAuthenticationProviderParameters) DeepCopyInto

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

type AuthorizationConfigObservation

type AuthorizationConfigObservation struct {

	// Authorization type that the HTTP endpoint requires. Default values is AWS_IAM.
	AuthorizationType *string `json:"authorizationType,omitempty" tf:"authorization_type,omitempty"`

	// Identity and Access Management (IAM) settings. See AWS IAM Config.
	AwsIAMConfig []AwsIAMConfigObservation `json:"awsIamConfig,omitempty" tf:"aws_iam_config,omitempty"`
}

func (*AuthorizationConfigObservation) DeepCopy

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

func (*AuthorizationConfigObservation) DeepCopyInto

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

type AuthorizationConfigParameters

type AuthorizationConfigParameters struct {

	// Authorization type that the HTTP endpoint requires. Default values is AWS_IAM.
	// +kubebuilder:validation:Optional
	AuthorizationType *string `json:"authorizationType,omitempty" tf:"authorization_type,omitempty"`

	// Identity and Access Management (IAM) settings. See AWS IAM Config.
	// +kubebuilder:validation:Optional
	AwsIAMConfig []AwsIAMConfigParameters `json:"awsIamConfig,omitempty" tf:"aws_iam_config,omitempty"`
}

func (*AuthorizationConfigParameters) DeepCopy

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

func (*AuthorizationConfigParameters) DeepCopyInto

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

type AwsIAMConfigObservation

type AwsIAMConfigObservation struct {

	// Signing Amazon Web Services Region for IAM authorization.
	SigningRegion *string `json:"signingRegion,omitempty" tf:"signing_region,omitempty"`

	// Signing service name for IAM authorization.
	SigningServiceName *string `json:"signingServiceName,omitempty" tf:"signing_service_name,omitempty"`
}

func (*AwsIAMConfigObservation) DeepCopy

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

func (*AwsIAMConfigObservation) DeepCopyInto

func (in *AwsIAMConfigObservation) DeepCopyInto(out *AwsIAMConfigObservation)

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

type AwsIAMConfigParameters

type AwsIAMConfigParameters struct {

	// Signing Amazon Web Services Region for IAM authorization.
	// +kubebuilder:validation:Optional
	SigningRegion *string `json:"signingRegion,omitempty" tf:"signing_region,omitempty"`

	// Signing service name for IAM authorization.
	// +kubebuilder:validation:Optional
	SigningServiceName *string `json:"signingServiceName,omitempty" tf:"signing_service_name,omitempty"`
}

func (*AwsIAMConfigParameters) DeepCopy

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

func (*AwsIAMConfigParameters) DeepCopyInto

func (in *AwsIAMConfigParameters) DeepCopyInto(out *AwsIAMConfigParameters)

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

type CachingConfigObservation

type CachingConfigObservation struct {

	// The caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.
	CachingKeys []*string `json:"cachingKeys,omitempty" tf:"caching_keys,omitempty"`

	// The TTL in seconds for a resolver that has caching activated. Valid values are between 1 and 3600 seconds.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*CachingConfigObservation) DeepCopy

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

func (*CachingConfigObservation) DeepCopyInto

func (in *CachingConfigObservation) DeepCopyInto(out *CachingConfigObservation)

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

type CachingConfigParameters

type CachingConfigParameters struct {

	// The caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.
	// +kubebuilder:validation:Optional
	CachingKeys []*string `json:"cachingKeys,omitempty" tf:"caching_keys,omitempty"`

	// The TTL in seconds for a resolver that has caching activated. Valid values are between 1 and 3600 seconds.
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*CachingConfigParameters) DeepCopy

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

func (*CachingConfigParameters) DeepCopyInto

func (in *CachingConfigParameters) DeepCopyInto(out *CachingConfigParameters)

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

type Datasource

type Datasource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.type)",message="type is a required parameter"
	Spec   DatasourceSpec   `json:"spec"`
	Status DatasourceStatus `json:"status,omitempty"`
}

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

func (*Datasource) DeepCopy

func (in *Datasource) DeepCopy() *Datasource

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

func (*Datasource) DeepCopyInto

func (in *Datasource) DeepCopyInto(out *Datasource)

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

func (*Datasource) DeepCopyObject

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

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

func (*Datasource) GetCondition

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

GetCondition of this Datasource.

func (*Datasource) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Datasource

func (*Datasource) GetDeletionPolicy

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

GetDeletionPolicy of this Datasource.

func (*Datasource) GetID

func (tr *Datasource) GetID() string

GetID returns ID of underlying Terraform resource of this Datasource

func (*Datasource) GetManagementPolicy

func (mg *Datasource) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Datasource.

func (*Datasource) GetObservation

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

GetObservation of this Datasource

func (*Datasource) GetParameters

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

GetParameters of this Datasource

func (*Datasource) GetProviderConfigReference

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

GetProviderConfigReference of this Datasource.

func (*Datasource) GetProviderReference

func (mg *Datasource) GetProviderReference() *xpv1.Reference

GetProviderReference of this Datasource. Deprecated: Use GetProviderConfigReference.

func (*Datasource) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Datasource.

func (*Datasource) GetTerraformResourceType

func (mg *Datasource) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Datasource

func (*Datasource) GetTerraformSchemaVersion

func (tr *Datasource) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Datasource) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Datasource.

func (*Datasource) LateInitialize

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

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

func (*Datasource) ResolveReferences

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

ResolveReferences of this Datasource.

func (*Datasource) SetConditions

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

SetConditions of this Datasource.

func (*Datasource) SetDeletionPolicy

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

SetDeletionPolicy of this Datasource.

func (*Datasource) SetManagementPolicy

func (mg *Datasource) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Datasource.

func (*Datasource) SetObservation

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

SetObservation for this Datasource

func (*Datasource) SetParameters

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

SetParameters for this Datasource

func (*Datasource) SetProviderConfigReference

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

SetProviderConfigReference of this Datasource.

func (*Datasource) SetProviderReference

func (mg *Datasource) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Datasource. Deprecated: Use SetProviderConfigReference.

func (*Datasource) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Datasource.

func (*Datasource) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Datasource.

type DatasourceList

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

DatasourceList contains a list of Datasources

func (*DatasourceList) DeepCopy

func (in *DatasourceList) DeepCopy() *DatasourceList

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

func (*DatasourceList) DeepCopyInto

func (in *DatasourceList) DeepCopyInto(out *DatasourceList)

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

func (*DatasourceList) DeepCopyObject

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

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

func (*DatasourceList) GetItems

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

GetItems of this DatasourceList.

type DatasourceObservation

type DatasourceObservation struct {

	// API ID for the GraphQL API for the data source.
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

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

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

	// DynamoDB settings. See below
	DynamodbConfig []DynamodbConfigObservation `json:"dynamodbConfig,omitempty" tf:"dynamodb_config,omitempty"`

	// Amazon Elasticsearch settings. See below
	ElasticsearchConfig []ElasticsearchConfigObservation `json:"elasticsearchConfig,omitempty" tf:"elasticsearch_config,omitempty"`

	// HTTP settings. See below
	HTTPConfig []HTTPConfigObservation `json:"httpConfig,omitempty" tf:"http_config,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// AWS Lambda settings. See below
	LambdaConfig []LambdaConfigObservation `json:"lambdaConfig,omitempty" tf:"lambda_config,omitempty"`

	// AWS RDS settings. See Relational Database Config
	RelationalDatabaseConfig []RelationalDatabaseConfigObservation `json:"relationalDatabaseConfig,omitempty" tf:"relational_database_config,omitempty"`

	// IAM service role ARN for the data source.
	ServiceRoleArn *string `json:"serviceRoleArn,omitempty" tf:"service_role_arn,omitempty"`

	// Type of the Data Source. Valid values: AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, HTTP, NONE, RELATIONAL_DATABASE.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*DatasourceObservation) DeepCopy

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

func (*DatasourceObservation) DeepCopyInto

func (in *DatasourceObservation) DeepCopyInto(out *DatasourceObservation)

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

type DatasourceParameters

type DatasourceParameters struct {

	// API ID for the GraphQL API for the data source.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appsync/v1beta1.GraphQLAPI
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

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

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

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

	// DynamoDB settings. See below
	// +kubebuilder:validation:Optional
	DynamodbConfig []DynamodbConfigParameters `json:"dynamodbConfig,omitempty" tf:"dynamodb_config,omitempty"`

	// Amazon Elasticsearch settings. See below
	// +kubebuilder:validation:Optional
	ElasticsearchConfig []ElasticsearchConfigParameters `json:"elasticsearchConfig,omitempty" tf:"elasticsearch_config,omitempty"`

	// HTTP settings. See below
	// +kubebuilder:validation:Optional
	HTTPConfig []HTTPConfigParameters `json:"httpConfig,omitempty" tf:"http_config,omitempty"`

	// AWS Lambda settings. See below
	// +kubebuilder:validation:Optional
	LambdaConfig []LambdaConfigParameters `json:"lambdaConfig,omitempty" tf:"lambda_config,omitempty"`

	// AWS Region for RDS HTTP endpoint. Defaults to current region.
	// 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:"-"`

	// AWS RDS settings. See Relational Database Config
	// +kubebuilder:validation:Optional
	RelationalDatabaseConfig []RelationalDatabaseConfigParameters `json:"relationalDatabaseConfig,omitempty" tf:"relational_database_config,omitempty"`

	// IAM service role ARN for the data source.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/spirosco/upbound-provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	ServiceRoleArn *string `json:"serviceRoleArn,omitempty" tf:"service_role_arn,omitempty"`

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

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

	// Type of the Data Source. Valid values: AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, HTTP, NONE, RELATIONAL_DATABASE.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*DatasourceParameters) DeepCopy

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

func (*DatasourceParameters) DeepCopyInto

func (in *DatasourceParameters) DeepCopyInto(out *DatasourceParameters)

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

type DatasourceSpec

type DatasourceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatasourceParameters `json:"forProvider"`
}

DatasourceSpec defines the desired state of Datasource

func (*DatasourceSpec) DeepCopy

func (in *DatasourceSpec) DeepCopy() *DatasourceSpec

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

func (*DatasourceSpec) DeepCopyInto

func (in *DatasourceSpec) DeepCopyInto(out *DatasourceSpec)

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

type DatasourceStatus

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

DatasourceStatus defines the observed state of Datasource.

func (*DatasourceStatus) DeepCopy

func (in *DatasourceStatus) DeepCopy() *DatasourceStatus

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

func (*DatasourceStatus) DeepCopyInto

func (in *DatasourceStatus) DeepCopyInto(out *DatasourceStatus)

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

type DeltaSyncConfigObservation

type DeltaSyncConfigObservation struct {
	BaseTableTTL *float64 `json:"baseTableTtl,omitempty" tf:"base_table_ttl,omitempty"`

	// User-supplied name for the data source.
	DeltaSyncTableName *string `json:"deltaSyncTableName,omitempty" tf:"delta_sync_table_name,omitempty"`

	DeltaSyncTableTTL *float64 `json:"deltaSyncTableTtl,omitempty" tf:"delta_sync_table_ttl,omitempty"`
}

func (*DeltaSyncConfigObservation) DeepCopy

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

func (*DeltaSyncConfigObservation) DeepCopyInto

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

type DeltaSyncConfigParameters

type DeltaSyncConfigParameters struct {

	// +kubebuilder:validation:Optional
	BaseTableTTL *float64 `json:"baseTableTtl,omitempty" tf:"base_table_ttl,omitempty"`

	// User-supplied name for the data source.
	// +kubebuilder:validation:Required
	DeltaSyncTableName *string `json:"deltaSyncTableName" tf:"delta_sync_table_name,omitempty"`

	// +kubebuilder:validation:Optional
	DeltaSyncTableTTL *float64 `json:"deltaSyncTableTtl,omitempty" tf:"delta_sync_table_ttl,omitempty"`
}

func (*DeltaSyncConfigParameters) DeepCopy

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

func (*DeltaSyncConfigParameters) DeepCopyInto

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

type DynamodbConfigObservation

type DynamodbConfigObservation struct {
	DeltaSyncConfig []DeltaSyncConfigObservation `json:"deltaSyncConfig,omitempty" tf:"delta_sync_config,omitempty"`

	// AWS region of the DynamoDB table. Defaults to current region.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Name of the DynamoDB table.
	TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"`

	// Set to true to use Amazon Cognito credentials with this data source.
	UseCallerCredentials *bool `json:"useCallerCredentials,omitempty" tf:"use_caller_credentials,omitempty"`

	Versioned *bool `json:"versioned,omitempty" tf:"versioned,omitempty"`
}

func (*DynamodbConfigObservation) DeepCopy

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

func (*DynamodbConfigObservation) DeepCopyInto

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

type DynamodbConfigParameters

type DynamodbConfigParameters struct {

	// +kubebuilder:validation:Optional
	DeltaSyncConfig []DeltaSyncConfigParameters `json:"deltaSyncConfig,omitempty" tf:"delta_sync_config,omitempty"`

	// AWS region of the DynamoDB table. Defaults to current region.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Name of the DynamoDB table.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/dynamodb/v1beta1.Table
	// +kubebuilder:validation:Optional
	TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"`

	// Reference to a Table in dynamodb to populate tableName.
	// +kubebuilder:validation:Optional
	TableNameRef *v1.Reference `json:"tableNameRef,omitempty" tf:"-"`

	// Selector for a Table in dynamodb to populate tableName.
	// +kubebuilder:validation:Optional
	TableNameSelector *v1.Selector `json:"tableNameSelector,omitempty" tf:"-"`

	// Set to true to use Amazon Cognito credentials with this data source.
	// +kubebuilder:validation:Optional
	UseCallerCredentials *bool `json:"useCallerCredentials,omitempty" tf:"use_caller_credentials,omitempty"`

	// +kubebuilder:validation:Optional
	Versioned *bool `json:"versioned,omitempty" tf:"versioned,omitempty"`
}

func (*DynamodbConfigParameters) DeepCopy

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

func (*DynamodbConfigParameters) DeepCopyInto

func (in *DynamodbConfigParameters) DeepCopyInto(out *DynamodbConfigParameters)

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

type ElasticsearchConfigObservation

type ElasticsearchConfigObservation struct {

	// HTTP endpoint of the Elasticsearch domain.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// AWS region of Elasticsearch domain. Defaults to current region.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*ElasticsearchConfigObservation) DeepCopy

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

func (*ElasticsearchConfigObservation) DeepCopyInto

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

type ElasticsearchConfigParameters

type ElasticsearchConfigParameters struct {

	// HTTP endpoint of the Elasticsearch domain.
	// +kubebuilder:validation:Required
	Endpoint *string `json:"endpoint" tf:"endpoint,omitempty"`

	// AWS region of Elasticsearch domain. Defaults to current region.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*ElasticsearchConfigParameters) DeepCopy

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

func (*ElasticsearchConfigParameters) DeepCopyInto

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

type Function

type Function struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	Spec   FunctionSpec   `json:"spec"`
	Status FunctionStatus `json:"status,omitempty"`
}

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

func (*Function) DeepCopy

func (in *Function) DeepCopy() *Function

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

func (*Function) DeepCopyInto

func (in *Function) DeepCopyInto(out *Function)

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

func (*Function) DeepCopyObject

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

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

func (*Function) GetCondition

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

GetCondition of this Function.

func (*Function) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Function

func (*Function) GetDeletionPolicy

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

GetDeletionPolicy of this Function.

func (*Function) GetID

func (tr *Function) GetID() string

GetID returns ID of underlying Terraform resource of this Function

func (*Function) GetManagementPolicy

func (mg *Function) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Function.

func (*Function) GetObservation

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

GetObservation of this Function

func (*Function) GetParameters

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

GetParameters of this Function

func (*Function) GetProviderConfigReference

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

GetProviderConfigReference of this Function.

func (*Function) GetProviderReference

func (mg *Function) GetProviderReference() *xpv1.Reference

GetProviderReference of this Function. Deprecated: Use GetProviderConfigReference.

func (*Function) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Function.

func (*Function) GetTerraformResourceType

func (mg *Function) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Function

func (*Function) GetTerraformSchemaVersion

func (tr *Function) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Function) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Function.

func (*Function) LateInitialize

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

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

func (*Function) ResolveReferences

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

ResolveReferences of this Function.

func (*Function) SetConditions

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

SetConditions of this Function.

func (*Function) SetDeletionPolicy

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

SetDeletionPolicy of this Function.

func (*Function) SetManagementPolicy

func (mg *Function) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Function.

func (*Function) SetObservation

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

SetObservation for this Function

func (*Function) SetParameters

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

SetParameters for this Function

func (*Function) SetProviderConfigReference

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

SetProviderConfigReference of this Function.

func (*Function) SetProviderReference

func (mg *Function) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Function. Deprecated: Use SetProviderConfigReference.

func (*Function) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Function.

func (*Function) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Function.

type FunctionList

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

FunctionList contains a list of Functions

func (*FunctionList) DeepCopy

func (in *FunctionList) DeepCopy() *FunctionList

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

func (*FunctionList) DeepCopyInto

func (in *FunctionList) DeepCopyInto(out *FunctionList)

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

func (*FunctionList) DeepCopyObject

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

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

func (*FunctionList) GetItems

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

GetItems of this FunctionList.

type FunctionObservation

type FunctionObservation struct {

	// ID of the associated AppSync API.
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

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

	// The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
	Code *string `json:"code,omitempty" tf:"code,omitempty"`

	// Function data source name.
	DataSource *string `json:"dataSource,omitempty" tf:"data_source,omitempty"`

	// Function description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Unique ID representing the Function object.
	FunctionID *string `json:"functionId,omitempty" tf:"function_id,omitempty"`

	// Version of the request mapping template. Currently the supported value is 2018-05-29. Does not apply when specifying code.
	FunctionVersion *string `json:"functionVersion,omitempty" tf:"function_version,omitempty"`

	// API Function ID (Formatted as ApiId-FunctionId)
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Maximum batching size for a resolver. Valid values are between 0 and 2000.
	MaxBatchSize *float64 `json:"maxBatchSize,omitempty" tf:"max_batch_size,omitempty"`

	// Function name. The function name does not have to be unique.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
	RequestMappingTemplate *string `json:"requestMappingTemplate,omitempty" tf:"request_mapping_template,omitempty"`

	// Function response mapping template.
	ResponseMappingTemplate *string `json:"responseMappingTemplate,omitempty" tf:"response_mapping_template,omitempty"`

	// Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
	Runtime []RuntimeObservation `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig []SyncConfigObservation `json:"syncConfig,omitempty" tf:"sync_config,omitempty"`
}

func (*FunctionObservation) DeepCopy

func (in *FunctionObservation) DeepCopy() *FunctionObservation

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

func (*FunctionObservation) DeepCopyInto

func (in *FunctionObservation) DeepCopyInto(out *FunctionObservation)

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

type FunctionParameters

type FunctionParameters struct {

	// ID of the associated AppSync API.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appsync/v1beta1.GraphQLAPI
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

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

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

	// The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
	// +kubebuilder:validation:Optional
	Code *string `json:"code,omitempty" tf:"code,omitempty"`

	// Function data source name.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appsync/v1beta1.Datasource
	// +kubebuilder:validation:Optional
	DataSource *string `json:"dataSource,omitempty" tf:"data_source,omitempty"`

	// Reference to a Datasource in appsync to populate dataSource.
	// +kubebuilder:validation:Optional
	DataSourceRef *v1.Reference `json:"dataSourceRef,omitempty" tf:"-"`

	// Selector for a Datasource in appsync to populate dataSource.
	// +kubebuilder:validation:Optional
	DataSourceSelector *v1.Selector `json:"dataSourceSelector,omitempty" tf:"-"`

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

	// Version of the request mapping template. Currently the supported value is 2018-05-29. Does not apply when specifying code.
	// +kubebuilder:validation:Optional
	FunctionVersion *string `json:"functionVersion,omitempty" tf:"function_version,omitempty"`

	// Maximum batching size for a resolver. Valid values are between 0 and 2000.
	// +kubebuilder:validation:Optional
	MaxBatchSize *float64 `json:"maxBatchSize,omitempty" tf:"max_batch_size,omitempty"`

	// Function name. The function name does not have to be unique.
	// +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:"-"`

	// Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
	// +kubebuilder:validation:Optional
	RequestMappingTemplate *string `json:"requestMappingTemplate,omitempty" tf:"request_mapping_template,omitempty"`

	// Function response mapping template.
	// +kubebuilder:validation:Optional
	ResponseMappingTemplate *string `json:"responseMappingTemplate,omitempty" tf:"response_mapping_template,omitempty"`

	// Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
	// +kubebuilder:validation:Optional
	Runtime []RuntimeParameters `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// Describes a Sync configuration for a resolver. See Sync Config.
	// +kubebuilder:validation:Optional
	SyncConfig []SyncConfigParameters `json:"syncConfig,omitempty" tf:"sync_config,omitempty"`
}

func (*FunctionParameters) DeepCopy

func (in *FunctionParameters) DeepCopy() *FunctionParameters

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

func (*FunctionParameters) DeepCopyInto

func (in *FunctionParameters) DeepCopyInto(out *FunctionParameters)

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

type FunctionSpec

type FunctionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FunctionParameters `json:"forProvider"`
}

FunctionSpec defines the desired state of Function

func (*FunctionSpec) DeepCopy

func (in *FunctionSpec) DeepCopy() *FunctionSpec

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

func (*FunctionSpec) DeepCopyInto

func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)

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

type FunctionStatus

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

FunctionStatus defines the observed state of Function.

func (*FunctionStatus) DeepCopy

func (in *FunctionStatus) DeepCopy() *FunctionStatus

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

func (*FunctionStatus) DeepCopyInto

func (in *FunctionStatus) DeepCopyInto(out *FunctionStatus)

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

type GraphQLAPI

type GraphQLAPI struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.authenticationType)",message="authenticationType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	Spec   GraphQLAPISpec   `json:"spec"`
	Status GraphQLAPIStatus `json:"status,omitempty"`
}

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

func (*GraphQLAPI) DeepCopy

func (in *GraphQLAPI) DeepCopy() *GraphQLAPI

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

func (*GraphQLAPI) DeepCopyInto

func (in *GraphQLAPI) DeepCopyInto(out *GraphQLAPI)

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

func (*GraphQLAPI) DeepCopyObject

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

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

func (*GraphQLAPI) GetCondition

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

GetCondition of this GraphQLAPI.

func (*GraphQLAPI) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this GraphQLAPI

func (*GraphQLAPI) GetDeletionPolicy

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

GetDeletionPolicy of this GraphQLAPI.

func (*GraphQLAPI) GetID

func (tr *GraphQLAPI) GetID() string

GetID returns ID of underlying Terraform resource of this GraphQLAPI

func (*GraphQLAPI) GetManagementPolicy

func (mg *GraphQLAPI) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this GraphQLAPI.

func (*GraphQLAPI) GetObservation

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

GetObservation of this GraphQLAPI

func (*GraphQLAPI) GetParameters

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

GetParameters of this GraphQLAPI

func (*GraphQLAPI) GetProviderConfigReference

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

GetProviderConfigReference of this GraphQLAPI.

func (*GraphQLAPI) GetProviderReference

func (mg *GraphQLAPI) GetProviderReference() *xpv1.Reference

GetProviderReference of this GraphQLAPI. Deprecated: Use GetProviderConfigReference.

func (*GraphQLAPI) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this GraphQLAPI.

func (*GraphQLAPI) GetTerraformResourceType

func (mg *GraphQLAPI) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GraphQLAPI

func (*GraphQLAPI) GetTerraformSchemaVersion

func (tr *GraphQLAPI) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GraphQLAPI) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this GraphQLAPI.

func (*GraphQLAPI) LateInitialize

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

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

func (*GraphQLAPI) ResolveReferences

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

ResolveReferences of this GraphQLAPI.

func (*GraphQLAPI) SetConditions

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

SetConditions of this GraphQLAPI.

func (*GraphQLAPI) SetDeletionPolicy

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

SetDeletionPolicy of this GraphQLAPI.

func (*GraphQLAPI) SetManagementPolicy

func (mg *GraphQLAPI) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this GraphQLAPI.

func (*GraphQLAPI) SetObservation

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

SetObservation for this GraphQLAPI

func (*GraphQLAPI) SetParameters

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

SetParameters for this GraphQLAPI

func (*GraphQLAPI) SetProviderConfigReference

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

SetProviderConfigReference of this GraphQLAPI.

func (*GraphQLAPI) SetProviderReference

func (mg *GraphQLAPI) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this GraphQLAPI. Deprecated: Use SetProviderConfigReference.

func (*GraphQLAPI) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this GraphQLAPI.

func (*GraphQLAPI) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this GraphQLAPI.

type GraphQLAPILambdaAuthorizerConfigObservation

type GraphQLAPILambdaAuthorizerConfigObservation struct {

	// Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverride key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
	AuthorizerResultTTLInSeconds *float64 `json:"authorizerResultTtlInSeconds,omitempty" tf:"authorizer_result_ttl_in_seconds,omitempty"`

	// ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunction from service principal appsync.amazonaws.com.
	AuthorizerURI *string `json:"authorizerUri,omitempty" tf:"authorizer_uri,omitempty"`

	// Regular expression for validation of tokens before the Lambda function is called.
	IdentityValidationExpression *string `json:"identityValidationExpression,omitempty" tf:"identity_validation_expression,omitempty"`
}

func (*GraphQLAPILambdaAuthorizerConfigObservation) DeepCopy

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

func (*GraphQLAPILambdaAuthorizerConfigObservation) DeepCopyInto

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

type GraphQLAPILambdaAuthorizerConfigParameters

type GraphQLAPILambdaAuthorizerConfigParameters struct {

	// Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverride key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
	// +kubebuilder:validation:Optional
	AuthorizerResultTTLInSeconds *float64 `json:"authorizerResultTtlInSeconds,omitempty" tf:"authorizer_result_ttl_in_seconds,omitempty"`

	// ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunction from service principal appsync.amazonaws.com.
	// +kubebuilder:validation:Required
	AuthorizerURI *string `json:"authorizerUri" tf:"authorizer_uri,omitempty"`

	// Regular expression for validation of tokens before the Lambda function is called.
	// +kubebuilder:validation:Optional
	IdentityValidationExpression *string `json:"identityValidationExpression,omitempty" tf:"identity_validation_expression,omitempty"`
}

func (*GraphQLAPILambdaAuthorizerConfigParameters) DeepCopy

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

func (*GraphQLAPILambdaAuthorizerConfigParameters) DeepCopyInto

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

type GraphQLAPIList

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

GraphQLAPIList contains a list of GraphQLAPIs

func (*GraphQLAPIList) DeepCopy

func (in *GraphQLAPIList) DeepCopy() *GraphQLAPIList

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

func (*GraphQLAPIList) DeepCopyInto

func (in *GraphQLAPIList) DeepCopyInto(out *GraphQLAPIList)

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

func (*GraphQLAPIList) DeepCopyObject

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

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

func (*GraphQLAPIList) GetItems

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

GetItems of this GraphQLAPIList.

type GraphQLAPIObservation

type GraphQLAPIObservation struct {

	// One or more additional authentication providers for the GraphqlApi. Defined below.
	AdditionalAuthenticationProvider []AdditionalAuthenticationProviderObservation `json:"additionalAuthenticationProvider,omitempty" tf:"additional_authentication_provider,omitempty"`

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

	// Authentication type. Valid values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
	AuthenticationType *string `json:"authenticationType,omitempty" tf:"authentication_type,omitempty"`

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

	// Nested argument containing Lambda authorizer configuration. Defined below.
	LambdaAuthorizerConfig []GraphQLAPILambdaAuthorizerConfigObservation `json:"lambdaAuthorizerConfig,omitempty" tf:"lambda_authorizer_config,omitempty"`

	// Nested argument containing logging configuration. Defined below.
	LogConfig []LogConfigObservation `json:"logConfig,omitempty" tf:"log_config,omitempty"`

	// User-supplied name for the GraphqlApi.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenIDConnectConfig []GraphQLAPIOpenIDConnectConfigObservation `json:"openidConnectConfig,omitempty" tf:"openid_connect_config,omitempty"`

	// Schema definition, in GraphQL schema language format.
	Schema *string `json:"schema,omitempty" tf:"schema,omitempty"`

	// Key-value map of resource tags.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// Map of URIs associated with the APIE.g., uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql
	Uris map[string]*string `json:"uris,omitempty" tf:"uris,omitempty"`

	// Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig []GraphQLAPIUserPoolConfigObservation `json:"userPoolConfig,omitempty" tf:"user_pool_config,omitempty"`

	// Whether tracing with X-ray is enabled. Defaults to false.
	XrayEnabled *bool `json:"xrayEnabled,omitempty" tf:"xray_enabled,omitempty"`
}

func (*GraphQLAPIObservation) DeepCopy

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

func (*GraphQLAPIObservation) DeepCopyInto

func (in *GraphQLAPIObservation) DeepCopyInto(out *GraphQLAPIObservation)

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

type GraphQLAPIOpenIDConnectConfigObservation

type GraphQLAPIOpenIDConnectConfigObservation struct {

	// Number of milliseconds a token is valid after being authenticated.
	AuthTTL *float64 `json:"authTtl,omitempty" tf:"auth_ttl,omitempty"`

	// Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Number of milliseconds a token is valid after being issued to a user.
	IatTTL *float64 `json:"iatTtl,omitempty" tf:"iat_ttl,omitempty"`

	// Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`
}

func (*GraphQLAPIOpenIDConnectConfigObservation) DeepCopy

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

func (*GraphQLAPIOpenIDConnectConfigObservation) DeepCopyInto

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

type GraphQLAPIOpenIDConnectConfigParameters

type GraphQLAPIOpenIDConnectConfigParameters struct {

	// Number of milliseconds a token is valid after being authenticated.
	// +kubebuilder:validation:Optional
	AuthTTL *float64 `json:"authTtl,omitempty" tf:"auth_ttl,omitempty"`

	// Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Number of milliseconds a token is valid after being issued to a user.
	// +kubebuilder:validation:Optional
	IatTTL *float64 `json:"iatTtl,omitempty" tf:"iat_ttl,omitempty"`

	// Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
	// +kubebuilder:validation:Required
	Issuer *string `json:"issuer" tf:"issuer,omitempty"`
}

func (*GraphQLAPIOpenIDConnectConfigParameters) DeepCopy

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

func (*GraphQLAPIOpenIDConnectConfigParameters) DeepCopyInto

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

type GraphQLAPIParameters

type GraphQLAPIParameters struct {

	// One or more additional authentication providers for the GraphqlApi. Defined below.
	// +kubebuilder:validation:Optional
	AdditionalAuthenticationProvider []AdditionalAuthenticationProviderParameters `json:"additionalAuthenticationProvider,omitempty" tf:"additional_authentication_provider,omitempty"`

	// Authentication type. Valid values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
	// +kubebuilder:validation:Optional
	AuthenticationType *string `json:"authenticationType,omitempty" tf:"authentication_type,omitempty"`

	// Nested argument containing Lambda authorizer configuration. Defined below.
	// +kubebuilder:validation:Optional
	LambdaAuthorizerConfig []GraphQLAPILambdaAuthorizerConfigParameters `json:"lambdaAuthorizerConfig,omitempty" tf:"lambda_authorizer_config,omitempty"`

	// Nested argument containing logging configuration. Defined below.
	// +kubebuilder:validation:Optional
	LogConfig []LogConfigParameters `json:"logConfig,omitempty" tf:"log_config,omitempty"`

	// User-supplied name for the GraphqlApi.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Nested argument containing OpenID Connect configuration. Defined below.
	// +kubebuilder:validation:Optional
	OpenIDConnectConfig []GraphQLAPIOpenIDConnectConfigParameters `json:"openidConnectConfig,omitempty" tf:"openid_connect_config,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:"-"`

	// Schema definition, in GraphQL schema language format.
	// +kubebuilder:validation:Optional
	Schema *string `json:"schema,omitempty" tf:"schema,omitempty"`

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

	// Amazon Cognito User Pool configuration. Defined below.
	// +kubebuilder:validation:Optional
	UserPoolConfig []GraphQLAPIUserPoolConfigParameters `json:"userPoolConfig,omitempty" tf:"user_pool_config,omitempty"`

	// Whether tracing with X-ray is enabled. Defaults to false.
	// +kubebuilder:validation:Optional
	XrayEnabled *bool `json:"xrayEnabled,omitempty" tf:"xray_enabled,omitempty"`
}

func (*GraphQLAPIParameters) DeepCopy

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

func (*GraphQLAPIParameters) DeepCopyInto

func (in *GraphQLAPIParameters) DeepCopyInto(out *GraphQLAPIParameters)

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

type GraphQLAPISpec

type GraphQLAPISpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GraphQLAPIParameters `json:"forProvider"`
}

GraphQLAPISpec defines the desired state of GraphQLAPI

func (*GraphQLAPISpec) DeepCopy

func (in *GraphQLAPISpec) DeepCopy() *GraphQLAPISpec

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

func (*GraphQLAPISpec) DeepCopyInto

func (in *GraphQLAPISpec) DeepCopyInto(out *GraphQLAPISpec)

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

type GraphQLAPIStatus

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

GraphQLAPIStatus defines the observed state of GraphQLAPI.

func (*GraphQLAPIStatus) DeepCopy

func (in *GraphQLAPIStatus) DeepCopy() *GraphQLAPIStatus

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

func (*GraphQLAPIStatus) DeepCopyInto

func (in *GraphQLAPIStatus) DeepCopyInto(out *GraphQLAPIStatus)

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

type GraphQLAPIUserPoolConfigObservation

type GraphQLAPIUserPoolConfigObservation struct {

	// Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
	AppIDClientRegex *string `json:"appIdClientRegex,omitempty" tf:"app_id_client_regex,omitempty"`

	// AWS region in which the user pool was created.
	AwsRegion *string `json:"awsRegion,omitempty" tf:"aws_region,omitempty"`

	// Action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: ALLOW and DENY
	DefaultAction *string `json:"defaultAction,omitempty" tf:"default_action,omitempty"`

	// User pool ID.
	UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"`
}

func (*GraphQLAPIUserPoolConfigObservation) DeepCopy

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

func (*GraphQLAPIUserPoolConfigObservation) DeepCopyInto

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

type GraphQLAPIUserPoolConfigParameters

type GraphQLAPIUserPoolConfigParameters struct {

	// Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
	// +kubebuilder:validation:Optional
	AppIDClientRegex *string `json:"appIdClientRegex,omitempty" tf:"app_id_client_regex,omitempty"`

	// AWS region in which the user pool was created.
	// +kubebuilder:validation:Optional
	AwsRegion *string `json:"awsRegion,omitempty" tf:"aws_region,omitempty"`

	// Action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: ALLOW and DENY
	// +kubebuilder:validation:Required
	DefaultAction *string `json:"defaultAction" tf:"default_action,omitempty"`

	// User pool ID.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/cognitoidp/v1beta1.UserPool
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"`

	// Reference to a UserPool in cognitoidp to populate userPoolId.
	// +kubebuilder:validation:Optional
	UserPoolIDRef *v1.Reference `json:"userPoolIdRef,omitempty" tf:"-"`

	// Selector for a UserPool in cognitoidp to populate userPoolId.
	// +kubebuilder:validation:Optional
	UserPoolIDSelector *v1.Selector `json:"userPoolIdSelector,omitempty" tf:"-"`
}

func (*GraphQLAPIUserPoolConfigParameters) DeepCopy

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

func (*GraphQLAPIUserPoolConfigParameters) DeepCopyInto

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

type HTTPConfigObservation

type HTTPConfigObservation struct {

	// Authorization configuration in case the HTTP endpoint requires authorization. See Authorization Config.
	AuthorizationConfig []AuthorizationConfigObservation `json:"authorizationConfig,omitempty" tf:"authorization_config,omitempty"`

	// HTTP URL.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`
}

func (*HTTPConfigObservation) DeepCopy

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

func (*HTTPConfigObservation) DeepCopyInto

func (in *HTTPConfigObservation) DeepCopyInto(out *HTTPConfigObservation)

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

type HTTPConfigParameters

type HTTPConfigParameters struct {

	// Authorization configuration in case the HTTP endpoint requires authorization. See Authorization Config.
	// +kubebuilder:validation:Optional
	AuthorizationConfig []AuthorizationConfigParameters `json:"authorizationConfig,omitempty" tf:"authorization_config,omitempty"`

	// HTTP URL.
	// +kubebuilder:validation:Required
	Endpoint *string `json:"endpoint" tf:"endpoint,omitempty"`
}

func (*HTTPConfigParameters) DeepCopy

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

func (*HTTPConfigParameters) DeepCopyInto

func (in *HTTPConfigParameters) DeepCopyInto(out *HTTPConfigParameters)

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

type HTTPEndpointConfigObservation

type HTTPEndpointConfigObservation struct {

	// AWS secret store ARN for database credentials.
	AwsSecretStoreArn *string `json:"awsSecretStoreArn,omitempty" tf:"aws_secret_store_arn,omitempty"`

	// Amazon RDS cluster identifier.
	DBClusterIdentifier *string `json:"dbClusterIdentifier,omitempty" tf:"db_cluster_identifier,omitempty"`

	// Logical database name.
	DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`

	// AWS Region for RDS HTTP endpoint. Defaults to current region.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Logical schema name.
	Schema *string `json:"schema,omitempty" tf:"schema,omitempty"`
}

func (*HTTPEndpointConfigObservation) DeepCopy

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

func (*HTTPEndpointConfigObservation) DeepCopyInto

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

type HTTPEndpointConfigParameters

type HTTPEndpointConfigParameters struct {

	// AWS secret store ARN for database credentials.
	// +kubebuilder:validation:Required
	AwsSecretStoreArn *string `json:"awsSecretStoreArn" tf:"aws_secret_store_arn,omitempty"`

	// Amazon RDS cluster identifier.
	// +kubebuilder:validation:Required
	DBClusterIdentifier *string `json:"dbClusterIdentifier" tf:"db_cluster_identifier,omitempty"`

	// Logical database name.
	// +kubebuilder:validation:Optional
	DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`

	// AWS Region for RDS HTTP endpoint. Defaults to current region.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Logical schema name.
	// +kubebuilder:validation:Optional
	Schema *string `json:"schema,omitempty" tf:"schema,omitempty"`
}

func (*HTTPEndpointConfigParameters) DeepCopy

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

func (*HTTPEndpointConfigParameters) DeepCopyInto

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

type LambdaAuthorizerConfigObservation

type LambdaAuthorizerConfigObservation struct {

	// Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverride key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
	AuthorizerResultTTLInSeconds *float64 `json:"authorizerResultTtlInSeconds,omitempty" tf:"authorizer_result_ttl_in_seconds,omitempty"`

	// ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunction from service principal appsync.amazonaws.com.
	AuthorizerURI *string `json:"authorizerUri,omitempty" tf:"authorizer_uri,omitempty"`

	// Regular expression for validation of tokens before the Lambda function is called.
	IdentityValidationExpression *string `json:"identityValidationExpression,omitempty" tf:"identity_validation_expression,omitempty"`
}

func (*LambdaAuthorizerConfigObservation) DeepCopy

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

func (*LambdaAuthorizerConfigObservation) DeepCopyInto

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

type LambdaAuthorizerConfigParameters

type LambdaAuthorizerConfigParameters struct {

	// Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverride key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.
	// +kubebuilder:validation:Optional
	AuthorizerResultTTLInSeconds *float64 `json:"authorizerResultTtlInSeconds,omitempty" tf:"authorizer_result_ttl_in_seconds,omitempty"`

	// ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunction from service principal appsync.amazonaws.com.
	// +kubebuilder:validation:Required
	AuthorizerURI *string `json:"authorizerUri" tf:"authorizer_uri,omitempty"`

	// Regular expression for validation of tokens before the Lambda function is called.
	// +kubebuilder:validation:Optional
	IdentityValidationExpression *string `json:"identityValidationExpression,omitempty" tf:"identity_validation_expression,omitempty"`
}

func (*LambdaAuthorizerConfigParameters) DeepCopy

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

func (*LambdaAuthorizerConfigParameters) DeepCopyInto

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

type LambdaConfigObservation

type LambdaConfigObservation struct {

	// ARN for the Lambda function.
	FunctionArn *string `json:"functionArn,omitempty" tf:"function_arn,omitempty"`
}

func (*LambdaConfigObservation) DeepCopy

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

func (*LambdaConfigObservation) DeepCopyInto

func (in *LambdaConfigObservation) DeepCopyInto(out *LambdaConfigObservation)

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

type LambdaConfigParameters

type LambdaConfigParameters struct {

	// ARN for the Lambda function.
	// +kubebuilder:validation:Required
	FunctionArn *string `json:"functionArn" tf:"function_arn,omitempty"`
}

func (*LambdaConfigParameters) DeepCopy

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

func (*LambdaConfigParameters) DeepCopyInto

func (in *LambdaConfigParameters) DeepCopyInto(out *LambdaConfigParameters)

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

type LambdaConflictHandlerConfigObservation

type LambdaConflictHandlerConfigObservation struct {

	// ARN for the Lambda function to use as the Conflict Handler.
	LambdaConflictHandlerArn *string `json:"lambdaConflictHandlerArn,omitempty" tf:"lambda_conflict_handler_arn,omitempty"`
}

func (*LambdaConflictHandlerConfigObservation) DeepCopy

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

func (*LambdaConflictHandlerConfigObservation) DeepCopyInto

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

type LambdaConflictHandlerConfigParameters

type LambdaConflictHandlerConfigParameters struct {

	// ARN for the Lambda function to use as the Conflict Handler.
	// +kubebuilder:validation:Optional
	LambdaConflictHandlerArn *string `json:"lambdaConflictHandlerArn,omitempty" tf:"lambda_conflict_handler_arn,omitempty"`
}

func (*LambdaConflictHandlerConfigParameters) DeepCopy

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

func (*LambdaConflictHandlerConfigParameters) DeepCopyInto

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

type LogConfigObservation

type LogConfigObservation struct {

	// Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
	CloudwatchLogsRoleArn *string `json:"cloudwatchLogsRoleArn,omitempty" tf:"cloudwatch_logs_role_arn,omitempty"`

	// Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging  level. Valid values: true, false. Default value: false
	ExcludeVerboseContent *bool `json:"excludeVerboseContent,omitempty" tf:"exclude_verbose_content,omitempty"`

	// Field logging level. Valid values: ALL, ERROR, NONE.
	FieldLogLevel *string `json:"fieldLogLevel,omitempty" tf:"field_log_level,omitempty"`
}

func (*LogConfigObservation) DeepCopy

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

func (*LogConfigObservation) DeepCopyInto

func (in *LogConfigObservation) DeepCopyInto(out *LogConfigObservation)

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

type LogConfigParameters

type LogConfigParameters struct {

	// Amazon Resource Name of the service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	CloudwatchLogsRoleArn *string `json:"cloudwatchLogsRoleArn,omitempty" tf:"cloudwatch_logs_role_arn,omitempty"`

	// Reference to a Role in iam to populate cloudwatchLogsRoleArn.
	// +kubebuilder:validation:Optional
	CloudwatchLogsRoleArnRef *v1.Reference `json:"cloudwatchLogsRoleArnRef,omitempty" tf:"-"`

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

	// Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging  level. Valid values: true, false. Default value: false
	// +kubebuilder:validation:Optional
	ExcludeVerboseContent *bool `json:"excludeVerboseContent,omitempty" tf:"exclude_verbose_content,omitempty"`

	// Field logging level. Valid values: ALL, ERROR, NONE.
	// +kubebuilder:validation:Required
	FieldLogLevel *string `json:"fieldLogLevel" tf:"field_log_level,omitempty"`
}

func (*LogConfigParameters) DeepCopy

func (in *LogConfigParameters) DeepCopy() *LogConfigParameters

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

func (*LogConfigParameters) DeepCopyInto

func (in *LogConfigParameters) DeepCopyInto(out *LogConfigParameters)

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

type OpenIDConnectConfigObservation

type OpenIDConnectConfigObservation struct {

	// Number of milliseconds a token is valid after being authenticated.
	AuthTTL *float64 `json:"authTtl,omitempty" tf:"auth_ttl,omitempty"`

	// Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Number of milliseconds a token is valid after being issued to a user.
	IatTTL *float64 `json:"iatTtl,omitempty" tf:"iat_ttl,omitempty"`

	// Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`
}

func (*OpenIDConnectConfigObservation) DeepCopy

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

func (*OpenIDConnectConfigObservation) DeepCopyInto

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

type OpenIDConnectConfigParameters

type OpenIDConnectConfigParameters struct {

	// Number of milliseconds a token is valid after being authenticated.
	// +kubebuilder:validation:Optional
	AuthTTL *float64 `json:"authTtl,omitempty" tf:"auth_ttl,omitempty"`

	// Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Number of milliseconds a token is valid after being issued to a user.
	// +kubebuilder:validation:Optional
	IatTTL *float64 `json:"iatTtl,omitempty" tf:"iat_ttl,omitempty"`

	// Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
	// +kubebuilder:validation:Required
	Issuer *string `json:"issuer" tf:"issuer,omitempty"`
}

func (*OpenIDConnectConfigParameters) DeepCopy

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

func (*OpenIDConnectConfigParameters) DeepCopyInto

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

type PipelineConfigObservation

type PipelineConfigObservation struct {

	// A list of Function objects.
	Functions []*string `json:"functions,omitempty" tf:"functions,omitempty"`
}

func (*PipelineConfigObservation) DeepCopy

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

func (*PipelineConfigObservation) DeepCopyInto

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

type PipelineConfigParameters

type PipelineConfigParameters struct {

	// A list of Function objects.
	// +kubebuilder:validation:Optional
	Functions []*string `json:"functions,omitempty" tf:"functions,omitempty"`
}

func (*PipelineConfigParameters) DeepCopy

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

func (*PipelineConfigParameters) DeepCopyInto

func (in *PipelineConfigParameters) DeepCopyInto(out *PipelineConfigParameters)

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

type RelationalDatabaseConfigObservation

type RelationalDatabaseConfigObservation struct {

	// Amazon RDS HTTP endpoint configuration. See HTTP Endpoint Config.
	HTTPEndpointConfig []HTTPEndpointConfigObservation `json:"httpEndpointConfig,omitempty" tf:"http_endpoint_config,omitempty"`

	// Source type for the relational database. Valid values: RDS_HTTP_ENDPOINT.
	SourceType *string `json:"sourceType,omitempty" tf:"source_type,omitempty"`
}

func (*RelationalDatabaseConfigObservation) DeepCopy

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

func (*RelationalDatabaseConfigObservation) DeepCopyInto

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

type RelationalDatabaseConfigParameters

type RelationalDatabaseConfigParameters struct {

	// Amazon RDS HTTP endpoint configuration. See HTTP Endpoint Config.
	// +kubebuilder:validation:Optional
	HTTPEndpointConfig []HTTPEndpointConfigParameters `json:"httpEndpointConfig,omitempty" tf:"http_endpoint_config,omitempty"`

	// Source type for the relational database. Valid values: RDS_HTTP_ENDPOINT.
	// +kubebuilder:validation:Optional
	SourceType *string `json:"sourceType,omitempty" tf:"source_type,omitempty"`
}

func (*RelationalDatabaseConfigParameters) DeepCopy

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

func (*RelationalDatabaseConfigParameters) DeepCopyInto

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

type Resolver

type Resolver struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResolverSpec   `json:"spec"`
	Status            ResolverStatus `json:"status,omitempty"`
}

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

func (*Resolver) DeepCopy

func (in *Resolver) DeepCopy() *Resolver

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

func (*Resolver) DeepCopyInto

func (in *Resolver) DeepCopyInto(out *Resolver)

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

func (*Resolver) DeepCopyObject

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

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

func (*Resolver) GetCondition

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

GetCondition of this Resolver.

func (*Resolver) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Resolver

func (*Resolver) GetDeletionPolicy

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

GetDeletionPolicy of this Resolver.

func (*Resolver) GetID

func (tr *Resolver) GetID() string

GetID returns ID of underlying Terraform resource of this Resolver

func (*Resolver) GetManagementPolicy

func (mg *Resolver) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Resolver.

func (*Resolver) GetObservation

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

GetObservation of this Resolver

func (*Resolver) GetParameters

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

GetParameters of this Resolver

func (*Resolver) GetProviderConfigReference

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

GetProviderConfigReference of this Resolver.

func (*Resolver) GetProviderReference

func (mg *Resolver) GetProviderReference() *xpv1.Reference

GetProviderReference of this Resolver. Deprecated: Use GetProviderConfigReference.

func (*Resolver) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Resolver.

func (*Resolver) GetTerraformResourceType

func (mg *Resolver) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Resolver

func (*Resolver) GetTerraformSchemaVersion

func (tr *Resolver) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Resolver) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Resolver.

func (*Resolver) LateInitialize

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

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

func (*Resolver) ResolveReferences

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

ResolveReferences of this Resolver.

func (*Resolver) SetConditions

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

SetConditions of this Resolver.

func (*Resolver) SetDeletionPolicy

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

SetDeletionPolicy of this Resolver.

func (*Resolver) SetManagementPolicy

func (mg *Resolver) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Resolver.

func (*Resolver) SetObservation

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

SetObservation for this Resolver

func (*Resolver) SetParameters

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

SetParameters for this Resolver

func (*Resolver) SetProviderConfigReference

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

SetProviderConfigReference of this Resolver.

func (*Resolver) SetProviderReference

func (mg *Resolver) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Resolver. Deprecated: Use SetProviderConfigReference.

func (*Resolver) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Resolver.

func (*Resolver) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Resolver.

type ResolverList

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

ResolverList contains a list of Resolvers

func (*ResolverList) DeepCopy

func (in *ResolverList) DeepCopy() *ResolverList

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

func (*ResolverList) DeepCopyInto

func (in *ResolverList) DeepCopyInto(out *ResolverList)

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

func (*ResolverList) DeepCopyObject

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

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

func (*ResolverList) GetItems

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

GetItems of this ResolverList.

type ResolverObservation

type ResolverObservation struct {

	// API ID for the GraphQL API.
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

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

	// The Caching Config. See Caching Config.
	CachingConfig []CachingConfigObservation `json:"cachingConfig,omitempty" tf:"caching_config,omitempty"`

	// The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
	Code *string `json:"code,omitempty" tf:"code,omitempty"`

	// Data source name.
	DataSource *string `json:"dataSource,omitempty" tf:"data_source,omitempty"`

	// Field name from the schema defined in the GraphQL API.
	Field *string `json:"field,omitempty" tf:"field,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Resolver type. Valid values are UNIT and PIPELINE.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// Maximum batching size for a resolver. Valid values are between 0 and 2000.
	MaxBatchSize *float64 `json:"maxBatchSize,omitempty" tf:"max_batch_size,omitempty"`

	// The caching configuration for the resolver. See Pipeline Config.
	PipelineConfig []PipelineConfigObservation `json:"pipelineConfig,omitempty" tf:"pipeline_config,omitempty"`

	// Request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	RequestTemplate *string `json:"requestTemplate,omitempty" tf:"request_template,omitempty"`

	// Response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	ResponseTemplate *string `json:"responseTemplate,omitempty" tf:"response_template,omitempty"`

	// Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
	Runtime []ResolverRuntimeObservation `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// Describes a Sync configuration for a resolver. See Sync Config.
	SyncConfig []ResolverSyncConfigObservation `json:"syncConfig,omitempty" tf:"sync_config,omitempty"`

	// Type name from the schema defined in the GraphQL API.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ResolverObservation) DeepCopy

func (in *ResolverObservation) DeepCopy() *ResolverObservation

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

func (*ResolverObservation) DeepCopyInto

func (in *ResolverObservation) DeepCopyInto(out *ResolverObservation)

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

type ResolverParameters

type ResolverParameters struct {

	// API ID for the GraphQL API.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appsync/v1beta1.GraphQLAPI
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"`

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

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

	// The Caching Config. See Caching Config.
	// +kubebuilder:validation:Optional
	CachingConfig []CachingConfigParameters `json:"cachingConfig,omitempty" tf:"caching_config,omitempty"`

	// The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
	// +kubebuilder:validation:Optional
	Code *string `json:"code,omitempty" tf:"code,omitempty"`

	// Data source name.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appsync/v1beta1.Datasource
	// +kubebuilder:validation:Optional
	DataSource *string `json:"dataSource,omitempty" tf:"data_source,omitempty"`

	// Reference to a Datasource in appsync to populate dataSource.
	// +kubebuilder:validation:Optional
	DataSourceRef *v1.Reference `json:"dataSourceRef,omitempty" tf:"-"`

	// Selector for a Datasource in appsync to populate dataSource.
	// +kubebuilder:validation:Optional
	DataSourceSelector *v1.Selector `json:"dataSourceSelector,omitempty" tf:"-"`

	// Field name from the schema defined in the GraphQL API.
	// +kubebuilder:validation:Required
	Field *string `json:"field" tf:"field,omitempty"`

	// Resolver type. Valid values are UNIT and PIPELINE.
	// +kubebuilder:validation:Optional
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// Maximum batching size for a resolver. Valid values are between 0 and 2000.
	// +kubebuilder:validation:Optional
	MaxBatchSize *float64 `json:"maxBatchSize,omitempty" tf:"max_batch_size,omitempty"`

	// The caching configuration for the resolver. See Pipeline Config.
	// +kubebuilder:validation:Optional
	PipelineConfig []PipelineConfigParameters `json:"pipelineConfig,omitempty" tf:"pipeline_config,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:"-"`

	// Request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	// +kubebuilder:validation:Optional
	RequestTemplate *string `json:"requestTemplate,omitempty" tf:"request_template,omitempty"`

	// Response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
	// +kubebuilder:validation:Optional
	ResponseTemplate *string `json:"responseTemplate,omitempty" tf:"response_template,omitempty"`

	// Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See Runtime.
	// +kubebuilder:validation:Optional
	Runtime []ResolverRuntimeParameters `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// Describes a Sync configuration for a resolver. See Sync Config.
	// +kubebuilder:validation:Optional
	SyncConfig []ResolverSyncConfigParameters `json:"syncConfig,omitempty" tf:"sync_config,omitempty"`

	// Type name from the schema defined in the GraphQL API.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ResolverParameters) DeepCopy

func (in *ResolverParameters) DeepCopy() *ResolverParameters

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

func (*ResolverParameters) DeepCopyInto

func (in *ResolverParameters) DeepCopyInto(out *ResolverParameters)

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

type ResolverRuntimeObservation

type ResolverRuntimeObservation struct {

	// The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The version of the runtime to use. Currently, the only allowed version is 1.0.0.
	RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"`
}

func (*ResolverRuntimeObservation) DeepCopy

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

func (*ResolverRuntimeObservation) DeepCopyInto

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

type ResolverRuntimeParameters

type ResolverRuntimeParameters struct {

	// The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The version of the runtime to use. Currently, the only allowed version is 1.0.0.
	// +kubebuilder:validation:Required
	RuntimeVersion *string `json:"runtimeVersion" tf:"runtime_version,omitempty"`
}

func (*ResolverRuntimeParameters) DeepCopy

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

func (*ResolverRuntimeParameters) DeepCopyInto

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

type ResolverSpec

type ResolverSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResolverParameters `json:"forProvider"`
}

ResolverSpec defines the desired state of Resolver

func (*ResolverSpec) DeepCopy

func (in *ResolverSpec) DeepCopy() *ResolverSpec

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

func (*ResolverSpec) DeepCopyInto

func (in *ResolverSpec) DeepCopyInto(out *ResolverSpec)

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

type ResolverStatus

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

ResolverStatus defines the observed state of Resolver.

func (*ResolverStatus) DeepCopy

func (in *ResolverStatus) DeepCopy() *ResolverStatus

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

func (*ResolverStatus) DeepCopyInto

func (in *ResolverStatus) DeepCopyInto(out *ResolverStatus)

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

type ResolverSyncConfigObservation

type ResolverSyncConfigObservation struct {

	// Conflict Detection strategy to use. Valid values are NONE and VERSION.
	ConflictDetection *string `json:"conflictDetection,omitempty" tf:"conflict_detection,omitempty"`

	// Conflict Resolution strategy to perform in the event of a conflict. Valid values are NONE, OPTIMISTIC_CONCURRENCY, AUTOMERGE, and LAMBDA.
	ConflictHandler *string `json:"conflictHandler,omitempty" tf:"conflict_handler,omitempty"`

	// Lambda Conflict Handler Config when configuring LAMBDA as the Conflict Handler. See Lambda Conflict Handler Config.
	LambdaConflictHandlerConfig []SyncConfigLambdaConflictHandlerConfigObservation `json:"lambdaConflictHandlerConfig,omitempty" tf:"lambda_conflict_handler_config,omitempty"`
}

func (*ResolverSyncConfigObservation) DeepCopy

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

func (*ResolverSyncConfigObservation) DeepCopyInto

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

type ResolverSyncConfigParameters

type ResolverSyncConfigParameters struct {

	// Conflict Detection strategy to use. Valid values are NONE and VERSION.
	// +kubebuilder:validation:Optional
	ConflictDetection *string `json:"conflictDetection,omitempty" tf:"conflict_detection,omitempty"`

	// Conflict Resolution strategy to perform in the event of a conflict. Valid values are NONE, OPTIMISTIC_CONCURRENCY, AUTOMERGE, and LAMBDA.
	// +kubebuilder:validation:Optional
	ConflictHandler *string `json:"conflictHandler,omitempty" tf:"conflict_handler,omitempty"`

	// Lambda Conflict Handler Config when configuring LAMBDA as the Conflict Handler. See Lambda Conflict Handler Config.
	// +kubebuilder:validation:Optional
	LambdaConflictHandlerConfig []SyncConfigLambdaConflictHandlerConfigParameters `json:"lambdaConflictHandlerConfig,omitempty" tf:"lambda_conflict_handler_config,omitempty"`
}

func (*ResolverSyncConfigParameters) DeepCopy

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

func (*ResolverSyncConfigParameters) DeepCopyInto

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

type RuntimeObservation

type RuntimeObservation struct {

	// Function name. The function name does not have to be unique.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The version of the runtime to use. Currently, the only allowed version is 1.0.0.
	RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"`
}

func (*RuntimeObservation) DeepCopy

func (in *RuntimeObservation) DeepCopy() *RuntimeObservation

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

func (*RuntimeObservation) DeepCopyInto

func (in *RuntimeObservation) DeepCopyInto(out *RuntimeObservation)

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

type RuntimeParameters

type RuntimeParameters struct {

	// Function name. The function name does not have to be unique.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The version of the runtime to use. Currently, the only allowed version is 1.0.0.
	// +kubebuilder:validation:Required
	RuntimeVersion *string `json:"runtimeVersion" tf:"runtime_version,omitempty"`
}

func (*RuntimeParameters) DeepCopy

func (in *RuntimeParameters) DeepCopy() *RuntimeParameters

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

func (*RuntimeParameters) DeepCopyInto

func (in *RuntimeParameters) DeepCopyInto(out *RuntimeParameters)

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

type SyncConfigLambdaConflictHandlerConfigObservation

type SyncConfigLambdaConflictHandlerConfigObservation struct {

	// ARN for the Lambda function to use as the Conflict Handler.
	LambdaConflictHandlerArn *string `json:"lambdaConflictHandlerArn,omitempty" tf:"lambda_conflict_handler_arn,omitempty"`
}

func (*SyncConfigLambdaConflictHandlerConfigObservation) DeepCopy

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

func (*SyncConfigLambdaConflictHandlerConfigObservation) DeepCopyInto

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

type SyncConfigLambdaConflictHandlerConfigParameters

type SyncConfigLambdaConflictHandlerConfigParameters struct {

	// ARN for the Lambda function to use as the Conflict Handler.
	// +kubebuilder:validation:Optional
	LambdaConflictHandlerArn *string `json:"lambdaConflictHandlerArn,omitempty" tf:"lambda_conflict_handler_arn,omitempty"`
}

func (*SyncConfigLambdaConflictHandlerConfigParameters) DeepCopy

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

func (*SyncConfigLambdaConflictHandlerConfigParameters) DeepCopyInto

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

type SyncConfigObservation

type SyncConfigObservation struct {

	// Conflict Detection strategy to use. Valid values are NONE and VERSION.
	ConflictDetection *string `json:"conflictDetection,omitempty" tf:"conflict_detection,omitempty"`

	// Conflict Resolution strategy to perform in the event of a conflict. Valid values are NONE, OPTIMISTIC_CONCURRENCY, AUTOMERGE, and LAMBDA.
	ConflictHandler *string `json:"conflictHandler,omitempty" tf:"conflict_handler,omitempty"`

	// Lambda Conflict Handler Config when configuring LAMBDA as the Conflict Handler. See Lambda Conflict Handler Config.
	LambdaConflictHandlerConfig []LambdaConflictHandlerConfigObservation `json:"lambdaConflictHandlerConfig,omitempty" tf:"lambda_conflict_handler_config,omitempty"`
}

func (*SyncConfigObservation) DeepCopy

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

func (*SyncConfigObservation) DeepCopyInto

func (in *SyncConfigObservation) DeepCopyInto(out *SyncConfigObservation)

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

type SyncConfigParameters

type SyncConfigParameters struct {

	// Conflict Detection strategy to use. Valid values are NONE and VERSION.
	// +kubebuilder:validation:Optional
	ConflictDetection *string `json:"conflictDetection,omitempty" tf:"conflict_detection,omitempty"`

	// Conflict Resolution strategy to perform in the event of a conflict. Valid values are NONE, OPTIMISTIC_CONCURRENCY, AUTOMERGE, and LAMBDA.
	// +kubebuilder:validation:Optional
	ConflictHandler *string `json:"conflictHandler,omitempty" tf:"conflict_handler,omitempty"`

	// Lambda Conflict Handler Config when configuring LAMBDA as the Conflict Handler. See Lambda Conflict Handler Config.
	// +kubebuilder:validation:Optional
	LambdaConflictHandlerConfig []LambdaConflictHandlerConfigParameters `json:"lambdaConflictHandlerConfig,omitempty" tf:"lambda_conflict_handler_config,omitempty"`
}

func (*SyncConfigParameters) DeepCopy

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

func (*SyncConfigParameters) DeepCopyInto

func (in *SyncConfigParameters) DeepCopyInto(out *SyncConfigParameters)

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

type UserPoolConfigObservation

type UserPoolConfigObservation struct {

	// Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
	AppIDClientRegex *string `json:"appIdClientRegex,omitempty" tf:"app_id_client_regex,omitempty"`

	// AWS region in which the user pool was created.
	AwsRegion *string `json:"awsRegion,omitempty" tf:"aws_region,omitempty"`

	// User pool ID.
	UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"`
}

func (*UserPoolConfigObservation) DeepCopy

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

func (*UserPoolConfigObservation) DeepCopyInto

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

type UserPoolConfigParameters

type UserPoolConfigParameters struct {

	// Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
	// +kubebuilder:validation:Optional
	AppIDClientRegex *string `json:"appIdClientRegex,omitempty" tf:"app_id_client_regex,omitempty"`

	// AWS region in which the user pool was created.
	// +kubebuilder:validation:Optional
	AwsRegion *string `json:"awsRegion,omitempty" tf:"aws_region,omitempty"`

	// User pool ID.
	// +kubebuilder:validation:Required
	UserPoolID *string `json:"userPoolId" tf:"user_pool_id,omitempty"`
}

func (*UserPoolConfigParameters) DeepCopy

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

func (*UserPoolConfigParameters) DeepCopyInto

func (in *UserPoolConfigParameters) DeepCopyInto(out *UserPoolConfigParameters)

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