App class
Represents the different branches of a repository for building, deploying, and hosting an Amplify app.
Constructors
-
App({required String appArn, required String appId, required DateTime createTime, required String defaultDomain, required String description, required bool enableBasicAuth, required bool enableBranchAutoBuild, required Map<
String, String> environmentVariables, required String name, required Platform platform, required String repository, required DateTime updateTime, AutoBranchCreationConfig? autoBranchCreationConfig, List<String> ? autoBranchCreationPatterns, String? basicAuthCredentials, String? buildSpec, String? customHeaders, List<CustomRule> ? customRules, bool? enableAutoBranchCreation, bool? enableBranchAutoDeletion, String? iamServiceRoleArn, ProductionBranch? productionBranch, Map<String, String> ? tags}) -
App.fromJson(Map<
String, dynamic> json) -
factory
Properties
- appArn → String
-
The Amazon Resource Name (ARN) of the Amplify app.
final
- appId → String
-
The unique ID of the Amplify app.
final
- autoBranchCreationConfig → AutoBranchCreationConfig?
-
Describes the automated branch creation configuration for the Amplify app.
final
-
autoBranchCreationPatterns
→ List<
String> ? -
Describes the automated branch creation glob patterns for the Amplify app.
final
- basicAuthCredentials → String?
-
The basic authorization credentials for branches for the Amplify app.
final
- buildSpec → String?
-
Describes the content of the build specification (build spec) for the
Amplify app.
final
- createTime → DateTime
-
Creates a date and time for the Amplify app.
final
- customHeaders → String?
-
Describes the custom HTTP headers for the Amplify app.
final
-
customRules
→ List<
CustomRule> ? -
Describes the custom redirect and rewrite rules for the Amplify app.
final
- defaultDomain → String
-
The default domain for the Amplify app.
final
- description → String
-
The description for the Amplify app.
final
- enableAutoBranchCreation → bool?
-
Enables automated branch creation for the Amplify app.
final
- enableBasicAuth → bool
-
Enables basic authorization for the Amplify app's branches.
final
- enableBranchAutoBuild → bool
-
Enables the auto-building of branches for the Amplify app.
final
- enableBranchAutoDeletion → bool?
-
Automatically disconnect a branch in the Amplify Console when you delete a
branch from your Git repository.
final
-
environmentVariables
→ Map<
String, String> -
The environment variables for the Amplify app.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iamServiceRoleArn → String?
-
The AWS Identity and Access Management (IAM) service role for the Amazon
Resource Name (ARN) of the Amplify app.
final
- name → String
-
The name for the Amplify app.
final
- platform → Platform
-
The platform for the Amplify app.
final
- productionBranch → ProductionBranch?
-
Describes the information about a production branch of the Amplify app.
final
- repository → String
-
The repository for the Amplify app.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
The tag for the Amplify app.
final
- updateTime → DateTime
-
Updates the date and time for the Amplify app.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited