import * as core from "@terrascript/core"; export interface CustomRuleArgs extends core.SchemaArgs { condition?: string | core.StringOut; source: string | core.StringOut; status?: string | core.StringOut; target: string | core.StringOut; } export declare class CustomRule extends core.Schema { condition?: string | core.StringOut; source: string | core.StringOut; status?: string | core.StringOut; target: string | core.StringOut; } export interface ProductionBranchArgs extends core.SchemaArgs { branchName: string | core.StringOut; lastDeployTime: string | core.StringOut; status: string | core.StringOut; thumbnailUrl: string | core.StringOut; } export declare class ProductionBranch extends core.Schema { branchName: string | core.StringOut; lastDeployTime: string | core.StringOut; status: string | core.StringOut; thumbnailUrl: string | core.StringOut; } export interface AutoBranchCreationConfigArgs extends core.SchemaArgs { basicAuthCredentials?: string | core.StringOut; buildSpec?: string | core.StringOut; enableAutoBuild?: boolean | core.BooleanOut; enableBasicAuth?: boolean | core.BooleanOut; enablePerformanceMode?: boolean | core.BooleanOut; enablePullRequestPreview?: boolean | core.BooleanOut; environmentVariables?: core.Map | core.MapOut; framework?: string | core.StringOut; pullRequestEnvironmentName?: string | core.StringOut; stage?: string | core.StringOut; } export declare class AutoBranchCreationConfig extends core.Schema { basicAuthCredentials?: string | core.StringOut; buildSpec?: string | core.StringOut; enableAutoBuild?: boolean | core.BooleanOut; enableBasicAuth?: boolean | core.BooleanOut; enablePerformanceMode?: boolean | core.BooleanOut; enablePullRequestPreview?: boolean | core.BooleanOut; environmentVariables?: core.Map | core.MapOut; framework?: string | core.StringOut; pullRequestEnvironmentName?: string | core.StringOut; stage?: string | core.StringOut; } export interface AppArgs extends core.ResourceArgs { /** * (Optional) The personal access token for a third-party source control system for an Amplify app. The * personal access token is used to create a webhook and a read-only deploy key. The token is not stor * ed. */ accessToken?: string | core.StringOut; /** * (Optional) The automated branch creation configuration for an Amplify app. An `auto_branch_creation_ * config` block is documented below. */ autoBranchCreationConfig?: AutoBranchCreationConfig; /** * (Optional) The automated branch creation glob patterns for an Amplify app. */ autoBranchCreationPatterns?: core.Array | core.ArrayOut; /** * (Optional) The credentials for basic authorization for an Amplify app. */ basicAuthCredentials?: string | core.StringOut; /** * (Optional) The [build specification](https://docs.aws.amazon.com/amplify/latest/userguide/build-sett * ings.html) (build spec) for an Amplify app. */ buildSpec?: string | core.StringOut; /** * (Optional) The custom rewrite and redirect rules for an Amplify app. A `custom_rule` block is docume * nted below. */ customRule?: core.Array | core.ArrayOut; /** * (Optional) The description for an Amplify app. */ description?: string | core.StringOut; /** * (Optional) Enables automated branch creation for an Amplify app. */ enableAutoBranchCreation?: boolean | core.BooleanOut; /** * (Optional) Enables basic authorization for an Amplify app. This will apply to all branches that are * part of this app. */ enableBasicAuth?: boolean | core.BooleanOut; /** * (Optional) Enables auto-building of branches for the Amplify App. */ enableBranchAutoBuild?: boolean | core.BooleanOut; /** * (Optional) Automatically disconnects a branch in the Amplify Console when you delete a branch from y * our Git repository. */ enableBranchAutoDeletion?: boolean | core.BooleanOut; /** * (Optional) The environment variables map for an Amplify app. */ environmentVariables?: core.Map | core.MapOut; /** * (Optional) The AWS Identity and Access Management (IAM) service role for an Amplify app. */ iamServiceRoleArn?: string | core.StringOut; /** * (Required) The name for an Amplify app. */ name: string | core.StringOut; /** * (Optional) The OAuth token for a third-party source control system for an Amplify app. The OAuth tok * en is used to create a webhook and a read-only deploy key. The OAuth token is not stored. */ oauthToken?: string | core.StringOut; /** * (Optional) The platform or framework for an Amplify app. Valid values: `WEB`. */ platform?: string | core.StringOut; /** * (Optional) The repository for an Amplify app. */ repository?: string | core.StringOut; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export declare class App extends core.Resource { /** * (Optional) The personal access token for a third-party source control system for an Amplify app. The * personal access token is used to create a webhook and a read-only deploy key. The token is not stor * ed. */ accessToken?: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the Amplify app. */ arn: string | core.StringOut; /** * (Optional) The automated branch creation configuration for an Amplify app. An `auto_branch_creation_ * config` block is documented below. */ autoBranchCreationConfig?: AutoBranchCreationConfig; /** * (Optional) The automated branch creation glob patterns for an Amplify app. */ autoBranchCreationPatterns?: core.Array | core.ArrayOut; /** * (Optional) The credentials for basic authorization for an Amplify app. */ basicAuthCredentials?: string | core.StringOut; /** * (Optional) The [build specification](https://docs.aws.amazon.com/amplify/latest/userguide/build-sett * ings.html) (build spec) for an Amplify app. */ buildSpec?: string | core.StringOut; /** * (Optional) The custom rewrite and redirect rules for an Amplify app. A `custom_rule` block is docume * nted below. */ customRule?: core.Array | core.ArrayOut; /** * The default domain for the Amplify app. */ defaultDomain: string | core.StringOut; /** * (Optional) The description for an Amplify app. */ description?: string | core.StringOut; /** * (Optional) Enables automated branch creation for an Amplify app. */ enableAutoBranchCreation?: boolean | core.BooleanOut; /** * (Optional) Enables basic authorization for an Amplify app. This will apply to all branches that are * part of this app. */ enableBasicAuth?: boolean | core.BooleanOut; /** * (Optional) Enables auto-building of branches for the Amplify App. */ enableBranchAutoBuild?: boolean | core.BooleanOut; /** * (Optional) Automatically disconnects a branch in the Amplify Console when you delete a branch from y * our Git repository. */ enableBranchAutoDeletion?: boolean | core.BooleanOut; /** * (Optional) The environment variables map for an Amplify app. */ environmentVariables?: core.Map | core.MapOut; /** * (Optional) The AWS Identity and Access Management (IAM) service role for an Amplify app. */ iamServiceRoleArn?: string | core.StringOut; /** * The unique ID of the Amplify app. */ id: string | core.StringOut; /** * (Required) The name for an Amplify app. */ name: string | core.StringOut; /** * (Optional) The OAuth token for a third-party source control system for an Amplify app. The OAuth tok * en is used to create a webhook and a read-only deploy key. The OAuth token is not stored. */ oauthToken?: string | core.StringOut; /** * (Optional) The platform or framework for an Amplify app. Valid values: `WEB`. */ platform?: string | core.StringOut; /** * Describes the information about a production branch for an Amplify app. A `production_branch` block * is documented below. */ productionBranch: core.Array | core.ArrayOut; /** * (Optional) The repository for an Amplify app. */ repository?: string | core.StringOut; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: AppArgs); getNamespace(): string; } //# sourceMappingURL=app.d.ts.map