appsync

class pulumi_aws.appsync.ApiKey(resource_name, opts=None, api_id=None, description=None, expires=None, __name__=None, __opts__=None)

Provides an AppSync API Key.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • api_id (pulumi.Input[str]) – The ID of the associated AppSync API
  • description (pulumi.Input[str]) – The API key description. Defaults to “Managed by Terraform”.
  • expires (pulumi.Input[str]) – RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.
api_id = None

The ID of the associated AppSync API

description = None

The API key description. Defaults to “Managed by Terraform”.

expires = None

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

key = None

The API key

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.appsync.DataSource(resource_name, opts=None, api_id=None, description=None, dynamodb_config=None, elasticsearch_config=None, http_config=None, lambda_config=None, name=None, service_role_arn=None, type=None, __name__=None, __opts__=None)

Provides an AppSync DataSource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • api_id (pulumi.Input[str]) – The API ID for the GraphQL API for the DataSource.
  • description (pulumi.Input[str]) – A description of the DataSource.
  • dynamodb_config (pulumi.Input[dict]) – DynamoDB settings. See below
  • elasticsearch_config (pulumi.Input[dict]) – Amazon Elasticsearch settings. See below
  • http_config (pulumi.Input[dict]) – HTTP settings. See below
  • lambda_config (pulumi.Input[dict]) – AWS Lambda settings. See below
  • name (pulumi.Input[str]) – A user-supplied name for the DataSource.
  • service_role_arn (pulumi.Input[str]) – The IAM service role ARN for the data source.
  • type (pulumi.Input[str]) – The type of the DataSource. Valid values: AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, HTTP, NONE.
api_id = None

The API ID for the GraphQL API for the DataSource.

arn = None

The ARN

description = None

A description of the DataSource.

dynamodb_config = None

DynamoDB settings. See below

elasticsearch_config = None

Amazon Elasticsearch settings. See below

http_config = None

HTTP settings. See below

lambda_config = None

AWS Lambda settings. See below

name = None

A user-supplied name for the DataSource.

service_role_arn = None

The IAM service role ARN for the data source.

type = None

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

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.appsync.GraphQLApi(resource_name, opts=None, authentication_type=None, log_config=None, name=None, openid_connect_config=None, user_pool_config=None, __name__=None, __opts__=None)

Provides an AppSync GraphQL API.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • authentication_type (pulumi.Input[str]) – The authentication type. Valid values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
  • log_config (pulumi.Input[dict]) – Nested argument containing logging configuration. Defined below.
  • name (pulumi.Input[str]) – A user-supplied name for the GraphqlApi.
  • openid_connect_config (pulumi.Input[dict]) – Nested argument containing OpenID Connect configuration. Defined below.
  • user_pool_config (pulumi.Input[dict]) – The Amazon Cognito User Pool configuration. Defined below.
arn = None

The ARN

authentication_type = None

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

log_config = None

Nested argument containing logging configuration. Defined below.

name = None

A user-supplied name for the GraphqlApi.

openid_connect_config = None

Nested argument containing OpenID Connect configuration. Defined below.

uris = None

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

user_pool_config = None

The Amazon Cognito User Pool configuration. Defined below.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str