GraphQLAPI is the Schema for the GraphQLAPIs API. Provides an AppSync GraphQL API.
Type
CRD
Group
appsync.aws.upbound.io
Version
v1beta1
apiVersion: appsync.aws.upbound.io/v1beta1
kind: GraphQLAPI
GraphQLAPISpec defines the desired state of GraphQLAPI
No description provided.
One or more additional authentication providers for the GraphqlApi. Defined below.
Nested argument containing Lambda authorizer configuration. Defined below.
Amazon Cognito User Pool configuration. Defined below.
Nested argument containing Lambda authorizer configuration. Defined below.
Nested argument containing logging configuration. Defined below.
Reference to a Role in iam to populate cloudwatchLogsRoleArn.
Policies for referencing.
Selector for a Role in iam to populate cloudwatchLogsRoleArn.
Policies for selection.
Amazon Cognito User Pool configuration. Defined below.
Reference to a UserPool in cognitoidp to populate userPoolId.
Policies for referencing.
Selector for a UserPool in cognitoidp to populate userPoolId.
Policies for selection.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
GraphQLAPIStatus defines the observed state of GraphQLAPI.
Conditions of the resource.
example
apiVersion: appsync.aws.upbound.io/v1beta1
kind: GraphQLAPI
metadata:
annotations:
meta.upbound.io/example-id: appsync/v1beta1/function
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
authenticationType: API_KEY
name: example
region: us-west-1
schema: |
type Mutation {
putPost(id: ID!, title: String!): Post
}
type Post {
id: ID!
title: String!
}
type Query {
singlePost(id: ID!): Post
}
schema {
query: Query
mutation: Mutation
}
example
apiVersion: appsync.aws.upbound.io/v1beta1
kind: GraphQLAPI
metadata:
annotations:
meta.upbound.io/example-id: appsync/v1beta1/graphqlapi
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
authenticationType: API_KEY
name: example
region: us-west-1
test
apiVersion: appsync.aws.upbound.io/v1beta1
kind: GraphQLAPI
metadata:
annotations:
meta.upbound.io/example-id: appsync/v1beta1/resolver
labels:
testing.upbound.io/example-name: test
name: test
spec:
forProvider:
authenticationType: API_KEY
name: tf-example
region: us-west-1
schema: |
type Mutation {
putPost(id: ID!, title: String!): Post
}
type Post {
id: ID!
title: String!
}
type Query {
singlePost(id: ID!): Post
}
schema {
query: Query
mutation: Mutation
}
example
apiVersion: appsync.aws.upbound.io/v1beta1
kind: GraphQLAPI
metadata:
annotations:
meta.upbound.io/example-id: appsync/v1beta1/apicache
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
authenticationType: API_KEY
name: example
region: us-west-1
example
apiVersion: appsync.aws.upbound.io/v1beta1
kind: GraphQLAPI
metadata:
annotations:
meta.upbound.io/example-id: appsync/v1beta1/datasource
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
authenticationType: API_KEY
name: tf_appsync_example
region: us-west-1
example
apiVersion: appsync.aws.upbound.io/v1beta1
kind: GraphQLAPI
metadata:
annotations:
meta.upbound.io/example-id: appsync/v1beta1/apikey
uptest.upbound.io/pre-delete-hook: testhooks/delete-apikey.sh
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
authenticationType: API_KEY
name: example
region: us-west-1
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.