import * as core from "@terrascript/core"; export interface BranchArgs extends core.ResourceArgs { /** * (Required) The unique ID for an Amplify app. */ appId: string | core.StringOut; /** * (Optional) The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. */ backendEnvironmentArn?: string | core.StringOut; /** * (Optional) The basic authorization credentials for the branch. */ basicAuthCredentials?: string | core.StringOut; /** * (Required) The name for the branch. */ branchName: string | core.StringOut; /** * (Optional) The description for the branch. */ description?: string | core.StringOut; /** * (Optional) The display name for a branch. This is used as the default domain prefix. */ displayName?: string | core.StringOut; /** * (Optional) Enables auto building for the branch. */ enableAutoBuild?: boolean | core.BooleanOut; /** * (Optional) Enables basic authorization for the branch. */ enableBasicAuth?: boolean | core.BooleanOut; /** * (Optional) Enables notifications for the branch. */ enableNotification?: boolean | core.BooleanOut; /** * (Optional) Enables performance mode for the branch. */ enablePerformanceMode?: boolean | core.BooleanOut; /** * (Optional) Enables pull request previews for this branch. */ enablePullRequestPreview?: boolean | core.BooleanOut; /** * (Optional) The environment variables for the branch. */ environmentVariables?: core.Map | core.MapOut; /** * (Optional) The framework for the branch. */ framework?: string | core.StringOut; /** * (Optional) The Amplify environment name for the pull request. */ pullRequestEnvironmentName?: string | core.StringOut; /** * (Optional) Describes the current stage for the branch. Valid values: `PRODUCTION`, `BETA`, `DEVELOPM * ENT`, `EXPERIMENTAL`, `PULL_REQUEST`. */ stage?: 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; /** * (Optional) The content Time To Live (TTL) for the website in seconds. */ ttl?: string | core.StringOut; } export declare class Branch extends core.Resource { /** * (Required) The unique ID for an Amplify app. */ appId: string | core.StringOut; /** * The Amazon Resource Name (ARN) for the branch. */ arn: string | core.StringOut; /** * A list of custom resources that are linked to this branch. */ associatedResources: core.Array | core.ArrayOut; /** * (Optional) The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. */ backendEnvironmentArn?: string | core.StringOut; /** * (Optional) The basic authorization credentials for the branch. */ basicAuthCredentials?: string | core.StringOut; /** * (Required) The name for the branch. */ branchName: string | core.StringOut; /** * The custom domains for the branch. */ customDomains: core.Array | core.ArrayOut; /** * (Optional) The description for the branch. */ description?: string | core.StringOut; /** * The destination branch if the branch is a pull request branch. */ destinationBranch: string | core.StringOut; /** * (Optional) The display name for a branch. This is used as the default domain prefix. */ displayName?: string | core.StringOut; /** * (Optional) Enables auto building for the branch. */ enableAutoBuild?: boolean | core.BooleanOut; /** * (Optional) Enables basic authorization for the branch. */ enableBasicAuth?: boolean | core.BooleanOut; /** * (Optional) Enables notifications for the branch. */ enableNotification?: boolean | core.BooleanOut; /** * (Optional) Enables performance mode for the branch. */ enablePerformanceMode?: boolean | core.BooleanOut; /** * (Optional) Enables pull request previews for this branch. */ enablePullRequestPreview?: boolean | core.BooleanOut; /** * (Optional) The environment variables for the branch. */ environmentVariables?: core.Map | core.MapOut; /** * (Optional) The framework for the branch. */ framework?: string | core.StringOut; id: string | core.StringOut; /** * (Optional) The Amplify environment name for the pull request. */ pullRequestEnvironmentName?: string | core.StringOut; /** * The source branch if the branch is a pull request branch. */ sourceBranch: string | core.StringOut; /** * (Optional) Describes the current stage for the branch. Valid values: `PRODUCTION`, `BETA`, `DEVELOPM * ENT`, `EXPERIMENTAL`, `PULL_REQUEST`. */ stage?: 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; /** * (Optional) The content Time To Live (TTL) for the website in seconds. */ ttl?: string | core.StringOut; constructor(name: string, args?: BranchArgs); getNamespace(): string; } //# sourceMappingURL=branch.d.ts.map