appsync

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiKey added in v0.15.1

type ApiKey struct {
	// contains filtered or unexported fields
}

Provides an AppSync API Key.

func GetApiKey added in v0.15.1

func GetApiKey(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ApiKeyState, opts ...pulumi.ResourceOpt) (*ApiKey, error)

GetApiKey gets an existing ApiKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApiKey added in v0.15.1

func NewApiKey(ctx *pulumi.Context,
	name string, args *ApiKeyArgs, opts ...pulumi.ResourceOpt) (*ApiKey, error)

NewApiKey registers a new resource with the given unique name, arguments, and options.

func (*ApiKey) ApiId added in v0.15.1

func (r *ApiKey) ApiId() *pulumi.StringOutput

The ID of the associated AppSync API

func (*ApiKey) Description added in v0.15.1

func (r *ApiKey) Description() *pulumi.StringOutput

The API key description. Defaults to "Managed by Terraform".

func (*ApiKey) Expires added in v0.15.1

func (r *ApiKey) Expires() *pulumi.StringOutput

RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.

func (*ApiKey) ID added in v0.15.1

func (r *ApiKey) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ApiKey) Key added in v0.15.1

func (r *ApiKey) Key() *pulumi.StringOutput

The API key

func (*ApiKey) URN added in v0.15.1

func (r *ApiKey) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ApiKeyArgs added in v0.15.1

type ApiKeyArgs struct {
	// The ID of the associated AppSync API
	ApiId interface{}
	// The API key description. Defaults to "Managed by Terraform".
	Description interface{}
	// RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.
	Expires interface{}
}

The set of arguments for constructing a ApiKey resource.

type ApiKeyState added in v0.15.1

type ApiKeyState struct {
	// The ID of the associated AppSync API
	ApiId interface{}
	// The API key description. Defaults to "Managed by Terraform".
	Description interface{}
	// RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.
	Expires interface{}
	// The API key
	Key interface{}
}

Input properties used for looking up and filtering ApiKey resources.

type DataSource

type DataSource struct {
	// contains filtered or unexported fields
}

Provides an AppSync DataSource.

func GetDataSource

func GetDataSource(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DataSourceState, opts ...pulumi.ResourceOpt) (*DataSource, error)

GetDataSource gets an existing DataSource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDataSource

func NewDataSource(ctx *pulumi.Context,
	name string, args *DataSourceArgs, opts ...pulumi.ResourceOpt) (*DataSource, error)

NewDataSource registers a new resource with the given unique name, arguments, and options.

func (*DataSource) ApiId

func (r *DataSource) ApiId() *pulumi.StringOutput

The API ID for the GraphQL API for the DataSource.

func (*DataSource) Arn

func (r *DataSource) Arn() *pulumi.StringOutput

The ARN

func (*DataSource) Description

func (r *DataSource) Description() *pulumi.StringOutput

A description of the DataSource.

func (*DataSource) DynamodbConfig

func (r *DataSource) DynamodbConfig() *pulumi.Output

DynamoDB settings. See below

func (*DataSource) ElasticsearchConfig

func (r *DataSource) ElasticsearchConfig() *pulumi.Output

Amazon Elasticsearch settings. See below

func (*DataSource) HttpConfig added in v0.16.1

func (r *DataSource) HttpConfig() *pulumi.Output

HTTP settings. See below

func (*DataSource) ID

func (r *DataSource) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*DataSource) LambdaConfig

func (r *DataSource) LambdaConfig() *pulumi.Output

AWS Lambda settings. See below

func (*DataSource) Name

func (r *DataSource) Name() *pulumi.StringOutput

A user-supplied name for the DataSource.

func (*DataSource) ServiceRoleArn

func (r *DataSource) ServiceRoleArn() *pulumi.StringOutput

The IAM service role ARN for the data source.

func (*DataSource) Type

func (r *DataSource) Type() *pulumi.StringOutput

The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`.

func (*DataSource) URN

func (r *DataSource) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type DataSourceArgs

type DataSourceArgs struct {
	// The API ID for the GraphQL API for the DataSource.
	ApiId interface{}
	// A description of the DataSource.
	Description interface{}
	// DynamoDB settings. See below
	DynamodbConfig interface{}
	// Amazon Elasticsearch settings. See below
	ElasticsearchConfig interface{}
	// HTTP settings. See below
	HttpConfig interface{}
	// AWS Lambda settings. See below
	LambdaConfig interface{}
	// A user-supplied name for the DataSource.
	Name interface{}
	// The IAM service role ARN for the data source.
	ServiceRoleArn interface{}
	// The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`.
	Type interface{}
}

The set of arguments for constructing a DataSource resource.

type DataSourceState

type DataSourceState struct {
	// The API ID for the GraphQL API for the DataSource.
	ApiId interface{}
	// The ARN
	Arn interface{}
	// A description of the DataSource.
	Description interface{}
	// DynamoDB settings. See below
	DynamodbConfig interface{}
	// Amazon Elasticsearch settings. See below
	ElasticsearchConfig interface{}
	// HTTP settings. See below
	HttpConfig interface{}
	// AWS Lambda settings. See below
	LambdaConfig interface{}
	// A user-supplied name for the DataSource.
	Name interface{}
	// The IAM service role ARN for the data source.
	ServiceRoleArn interface{}
	// The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`.
	Type interface{}
}

Input properties used for looking up and filtering DataSource resources.

type GraphQLApi

type GraphQLApi struct {
	// contains filtered or unexported fields
}

Provides an AppSync GraphQL API.

func GetGraphQLApi

func GetGraphQLApi(ctx *pulumi.Context,
	name string, id pulumi.ID, state *GraphQLApiState, opts ...pulumi.ResourceOpt) (*GraphQLApi, error)

GetGraphQLApi gets an existing GraphQLApi resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGraphQLApi

func NewGraphQLApi(ctx *pulumi.Context,
	name string, args *GraphQLApiArgs, opts ...pulumi.ResourceOpt) (*GraphQLApi, error)

NewGraphQLApi registers a new resource with the given unique name, arguments, and options.

func (*GraphQLApi) Arn

func (r *GraphQLApi) Arn() *pulumi.StringOutput

The ARN

func (*GraphQLApi) AuthenticationType

func (r *GraphQLApi) AuthenticationType() *pulumi.StringOutput

The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`

func (*GraphQLApi) ID

func (r *GraphQLApi) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*GraphQLApi) LogConfig added in v0.16.1

func (r *GraphQLApi) LogConfig() *pulumi.Output

Nested argument containing logging configuration. Defined below.

func (*GraphQLApi) Name

func (r *GraphQLApi) Name() *pulumi.StringOutput

A user-supplied name for the GraphqlApi.

func (*GraphQLApi) OpenidConnectConfig added in v0.16.1

func (r *GraphQLApi) OpenidConnectConfig() *pulumi.Output

Nested argument containing OpenID Connect configuration. Defined below.

func (*GraphQLApi) Schema added in v0.18.1

func (r *GraphQLApi) Schema() *pulumi.StringOutput

The schema definition, in GraphQL schema language format. Terraform cannot perform drift detection of this configuration.

func (*GraphQLApi) URN

func (r *GraphQLApi) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*GraphQLApi) Uris added in v0.16.1

func (r *GraphQLApi) Uris() *pulumi.MapOutput

Map of URIs associated with the API. e.g. `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql`

func (*GraphQLApi) UserPoolConfig

func (r *GraphQLApi) UserPoolConfig() *pulumi.Output

The Amazon Cognito User Pool configuration. Defined below.

type GraphQLApiArgs

type GraphQLApiArgs struct {
	// The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`
	AuthenticationType interface{}
	// Nested argument containing logging configuration. Defined below.
	LogConfig interface{}
	// A user-supplied name for the GraphqlApi.
	Name interface{}
	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenidConnectConfig interface{}
	// The schema definition, in GraphQL schema language format. Terraform cannot perform drift detection of this configuration.
	Schema interface{}
	// The Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig interface{}
}

The set of arguments for constructing a GraphQLApi resource.

type GraphQLApiState

type GraphQLApiState struct {
	// The ARN
	Arn interface{}
	// The authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`
	AuthenticationType interface{}
	// Nested argument containing logging configuration. Defined below.
	LogConfig interface{}
	// A user-supplied name for the GraphqlApi.
	Name interface{}
	// Nested argument containing OpenID Connect configuration. Defined below.
	OpenidConnectConfig interface{}
	// The schema definition, in GraphQL schema language format. Terraform cannot perform drift detection of this configuration.
	Schema interface{}
	// Map of URIs associated with the API. e.g. `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql`
	Uris interface{}
	// The Amazon Cognito User Pool configuration. Defined below.
	UserPoolConfig interface{}
}

Input properties used for looking up and filtering GraphQLApi resources.

type Resolver added in v0.18.1

type Resolver struct {
	// contains filtered or unexported fields
}

Provides an AppSync Resolver.

func GetResolver added in v0.18.1

func GetResolver(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ResolverState, opts ...pulumi.ResourceOpt) (*Resolver, error)

GetResolver gets an existing Resolver resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResolver added in v0.18.1

func NewResolver(ctx *pulumi.Context,
	name string, args *ResolverArgs, opts ...pulumi.ResourceOpt) (*Resolver, error)

NewResolver registers a new resource with the given unique name, arguments, and options.

func (*Resolver) ApiId added in v0.18.1

func (r *Resolver) ApiId() *pulumi.StringOutput

The API ID for the GraphQL API.

func (*Resolver) Arn added in v0.18.1

func (r *Resolver) Arn() *pulumi.StringOutput

The ARN

func (*Resolver) DataSource added in v0.18.1

func (r *Resolver) DataSource() *pulumi.StringOutput

func (*Resolver) Field added in v0.18.1

func (r *Resolver) Field() *pulumi.StringOutput

The field name from the schema defined in the GraphQL API.

func (*Resolver) ID added in v0.18.1

func (r *Resolver) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Resolver) RequestTemplate added in v0.18.1

func (r *Resolver) RequestTemplate() *pulumi.StringOutput

The request mapping template for this resolver.

func (*Resolver) ResponseTemplate added in v0.18.1

func (r *Resolver) ResponseTemplate() *pulumi.StringOutput

The response mapping template for this resolver.

func (*Resolver) Type added in v0.18.1

func (r *Resolver) Type() *pulumi.StringOutput

The type name from the schema defined in the GraphQL API.

func (*Resolver) URN added in v0.18.1

func (r *Resolver) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ResolverArgs added in v0.18.1

type ResolverArgs struct {
	// The API ID for the GraphQL API.
	ApiId      interface{}
	DataSource interface{}
	// The field name from the schema defined in the GraphQL API.
	Field interface{}
	// The request mapping template for this resolver.
	RequestTemplate interface{}
	// The response mapping template for this resolver.
	ResponseTemplate interface{}
	// The type name from the schema defined in the GraphQL API.
	Type interface{}
}

The set of arguments for constructing a Resolver resource.

type ResolverState added in v0.18.1

type ResolverState struct {
	// The API ID for the GraphQL API.
	ApiId interface{}
	// The ARN
	Arn        interface{}
	DataSource interface{}
	// The field name from the schema defined in the GraphQL API.
	Field interface{}
	// The request mapping template for this resolver.
	RequestTemplate interface{}
	// The response mapping template for this resolver.
	ResponseTemplate interface{}
	// The type name from the schema defined in the GraphQL API.
	Type interface{}
}

Input properties used for looking up and filtering Resolver resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL