class Aws::AmplifyBackend::Types::BackendAPIResourceConfig

The resource config for the data model, configured as a part of the Amplify project.

@note When making an API call, you may pass BackendAPIResourceConfig

data as a hash:

    {
      additional_auth_types: [
        {
          mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
          settings: {
            cognito_user_pool_id: "__string",
            description: "__string",
            expiration_time: 1.0,
            open_id_auth_ttl: "__string",
            open_id_client_id: "__string",
            open_id_iat_ttl: "__string",
            open_id_issue_url: "__string",
            open_id_provider_name: "__string",
          },
        },
      ],
      api_name: "__string",
      conflict_resolution: {
        resolution_strategy: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
      },
      default_auth_type: {
        mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
        settings: {
          cognito_user_pool_id: "__string",
          description: "__string",
          expiration_time: 1.0,
          open_id_auth_ttl: "__string",
          open_id_client_id: "__string",
          open_id_iat_ttl: "__string",
          open_id_issue_url: "__string",
          open_id_provider_name: "__string",
        },
      },
      service: "__string",
      transform_schema: "__string",
    }

@!attribute [rw] additional_auth_types

Additional authentication methods used to interact with your data
models.
@return [Array<Types::BackendAPIAuthType>]

@!attribute [rw] api_name

The API name used to interact with the data model, configured as a
part of your Amplify project.
@return [String]

@!attribute [rw] conflict_resolution

The conflict resolution strategy for your data stored in the data
models.
@return [Types::BackendAPIConflictResolution]

@!attribute [rw] default_auth_type

The default authentication type for interacting with the configured
data models in your Amplify project.
@return [Types::BackendAPIAuthType]

@!attribute [rw] service

The service used to provision and interact with the data model.
@return [String]

@!attribute [rw] transform_schema

The definition of the data model in the annotated transform of the
GraphQL schema.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/BackendAPIResourceConfig AWS API Documentation

Constants

SENSITIVE