Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

App

import type { App } from "https://aws-api.deno.dev/v0.4/services/amplify.ts?docs=full";

Represents the different branches of a repository for building, deploying, and hosting an Amplify app.

interface App {
appArn: string;
appId: string;
autoBranchCreationConfig?: AutoBranchCreationConfig | null;
autoBranchCreationPatterns?: string[] | null;
basicAuthCredentials?: string | null;
buildSpec?: string | null;
createTime: Date | number;
customHeaders?: string | null;
customRules?: CustomRule[] | null;
defaultDomain: string;
description: string;
enableAutoBranchCreation?: boolean | null;
enableBasicAuth: boolean;
enableBranchAutoBuild: boolean;
enableBranchAutoDeletion?: boolean | null;
environmentVariables: {
[key: string]: string | null | undefined;
}
;
iamServiceRoleArn?: string | null;
name: string;
platform: Platform;
productionBranch?: ProductionBranch | null;
repository: string;
repositoryCloneMethod?: RepositoryCloneMethod | null;
tags?: {
[key: string]: string | null | undefined;
}
| null;
updateTime: Date | number;
}

§Properties

§
appArn: string
[src]

The Amazon Resource Name (ARN) of the Amplify app.

§
appId: string
[src]

The unique ID of the Amplify app.

§
autoBranchCreationConfig?: AutoBranchCreationConfig | null
[src]

Describes the automated branch creation configuration for the Amplify app.

§
autoBranchCreationPatterns?: string[] | null
[src]

Describes the automated branch creation glob patterns for the Amplify app.

§
basicAuthCredentials?: string | null
[src]

The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

§
buildSpec?: string | null
[src]

Describes the content of the build specification (build spec) for the Amplify app.

§
createTime: Date | number
[src]

Creates a date and time for the Amplify app.

§
customHeaders?: string | null
[src]

Describes the custom HTTP headers for the Amplify app.

§
customRules?: CustomRule[] | null
[src]

Describes the custom redirect and rewrite rules for the Amplify app.

§
defaultDomain: string
[src]

The default domain for the Amplify app.

§
description: string
[src]

The description for the Amplify app.

§
enableAutoBranchCreation?: boolean | null
[src]

Enables automated branch creation for the Amplify app.

§
enableBasicAuth: boolean
[src]

Enables basic authorization for the Amplify app's branches.

§
enableBranchAutoBuild: boolean
[src]

Enables the auto-building of branches for the Amplify app.

§
enableBranchAutoDeletion?: boolean | null
[src]

Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.

§
environmentVariables: {
[key: string]: string | null | undefined;
}
[src]

The environment variables for the Amplify app.

§
iamServiceRoleArn?: string | null
[src]

The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.

§
name: string
[src]

The name for the Amplify app.

§
platform: Platform
[src]

The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

§
productionBranch?: ProductionBranch | null
[src]

Describes the information about a production branch of the Amplify app.

§
repository: string
[src]

The Git repository for the Amplify app.

§
repositoryCloneMethod?: RepositoryCloneMethod | null
[src]

Note: This is for internal use.

The Amplify service uses this parameter to specify the authentication protocol to use to access the Git repository for an Amplify app. Amplify specifies TOKEN for a GitHub repository, SIGV4 for an Amazon Web Services CodeCommit repository, and SSH for GitLab and Bitbucket repositories.

§
tags?: {
[key: string]: string | null | undefined;
}
| null
[src]

The tag for the Amplify app.

§
updateTime: Date | number
[src]

Updates the date and time for the Amplify app.