Struct aws_sdk_amplify::types::App
source · #[non_exhaustive]pub struct App {Show 24 fields
pub app_id: Option<String>,
pub app_arn: Option<String>,
pub name: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub description: Option<String>,
pub repository: Option<String>,
pub platform: Option<Platform>,
pub create_time: Option<DateTime>,
pub update_time: Option<DateTime>,
pub iam_service_role_arn: Option<String>,
pub environment_variables: Option<HashMap<String, String>>,
pub default_domain: Option<String>,
pub enable_branch_auto_build: Option<bool>,
pub enable_branch_auto_deletion: Option<bool>,
pub enable_basic_auth: Option<bool>,
pub basic_auth_credentials: Option<String>,
pub custom_rules: Option<Vec<CustomRule>>,
pub production_branch: Option<ProductionBranch>,
pub build_spec: Option<String>,
pub custom_headers: Option<String>,
pub enable_auto_branch_creation: Option<bool>,
pub auto_branch_creation_patterns: Option<Vec<String>>,
pub auto_branch_creation_config: Option<AutoBranchCreationConfig>,
pub repository_clone_method: Option<RepositoryCloneMethod>,
}Expand description
Represents the different branches of a repository for building, deploying, and hosting an Amplify app.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.app_id: Option<String>The unique ID of the Amplify app.
app_arn: Option<String>The Amazon Resource Name (ARN) of the Amplify app.
name: Option<String>The name for the Amplify app.
The tag for the Amplify app.
description: Option<String>The description for the Amplify app.
repository: Option<String>The Git repository for the Amplify app.
platform: Option<Platform> 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.
create_time: Option<DateTime>Creates a date and time for the Amplify app.
update_time: Option<DateTime>Updates the date and time for the Amplify app.
iam_service_role_arn: Option<String>The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
environment_variables: Option<HashMap<String, String>>The environment variables for the Amplify app.
default_domain: Option<String>The default domain for the Amplify app.
enable_branch_auto_build: Option<bool>Enables the auto-building of branches for the Amplify app.
enable_branch_auto_deletion: Option<bool>Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.
enable_basic_auth: Option<bool>Enables basic authorization for the Amplify app's branches.
basic_auth_credentials: Option<String> 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.
custom_rules: Option<Vec<CustomRule>>Describes the custom redirect and rewrite rules for the Amplify app.
production_branch: Option<ProductionBranch>Describes the information about a production branch of the Amplify app.
build_spec: Option<String>Describes the content of the build specification (build spec) for the Amplify app.
custom_headers: Option<String>Describes the custom HTTP headers for the Amplify app.
enable_auto_branch_creation: Option<bool>Enables automated branch creation for the Amplify app.
auto_branch_creation_patterns: Option<Vec<String>>Describes the automated branch creation glob patterns for the Amplify app.
auto_branch_creation_config: Option<AutoBranchCreationConfig>Describes the automated branch creation configuration for the Amplify app.
repository_clone_method: Option<RepositoryCloneMethod>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.
Implementations§
source§impl App
impl App
The tag for the Amplify app.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the Amplify app.
sourcepub fn repository(&self) -> Option<&str>
pub fn repository(&self) -> Option<&str>
The Git repository for the Amplify app.
sourcepub fn platform(&self) -> Option<&Platform>
pub fn platform(&self) -> Option<&Platform>
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.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
Creates a date and time for the Amplify app.
sourcepub fn update_time(&self) -> Option<&DateTime>
pub fn update_time(&self) -> Option<&DateTime>
Updates the date and time for the Amplify app.
sourcepub fn iam_service_role_arn(&self) -> Option<&str>
pub fn iam_service_role_arn(&self) -> Option<&str>
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
sourcepub fn environment_variables(&self) -> Option<&HashMap<String, String>>
pub fn environment_variables(&self) -> Option<&HashMap<String, String>>
The environment variables for the Amplify app.
sourcepub fn default_domain(&self) -> Option<&str>
pub fn default_domain(&self) -> Option<&str>
The default domain for the Amplify app.
sourcepub fn enable_branch_auto_build(&self) -> Option<bool>
pub fn enable_branch_auto_build(&self) -> Option<bool>
Enables the auto-building of branches for the Amplify app.
sourcepub fn enable_branch_auto_deletion(&self) -> Option<bool>
pub fn enable_branch_auto_deletion(&self) -> Option<bool>
Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.
sourcepub fn enable_basic_auth(&self) -> Option<bool>
pub fn enable_basic_auth(&self) -> Option<bool>
Enables basic authorization for the Amplify app's branches.
sourcepub fn basic_auth_credentials(&self) -> Option<&str>
pub fn basic_auth_credentials(&self) -> Option<&str>
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.
sourcepub fn custom_rules(&self) -> Option<&[CustomRule]>
pub fn custom_rules(&self) -> Option<&[CustomRule]>
Describes the custom redirect and rewrite rules for the Amplify app.
sourcepub fn production_branch(&self) -> Option<&ProductionBranch>
pub fn production_branch(&self) -> Option<&ProductionBranch>
Describes the information about a production branch of the Amplify app.
sourcepub fn build_spec(&self) -> Option<&str>
pub fn build_spec(&self) -> Option<&str>
Describes the content of the build specification (build spec) for the Amplify app.
sourcepub fn custom_headers(&self) -> Option<&str>
pub fn custom_headers(&self) -> Option<&str>
Describes the custom HTTP headers for the Amplify app.
sourcepub fn enable_auto_branch_creation(&self) -> Option<bool>
pub fn enable_auto_branch_creation(&self) -> Option<bool>
Enables automated branch creation for the Amplify app.
sourcepub fn auto_branch_creation_patterns(&self) -> Option<&[String]>
pub fn auto_branch_creation_patterns(&self) -> Option<&[String]>
Describes the automated branch creation glob patterns for the Amplify app.
sourcepub fn auto_branch_creation_config(&self) -> Option<&AutoBranchCreationConfig>
pub fn auto_branch_creation_config(&self) -> Option<&AutoBranchCreationConfig>
Describes the automated branch creation configuration for the Amplify app.
sourcepub fn repository_clone_method(&self) -> Option<&RepositoryCloneMethod>
pub fn repository_clone_method(&self) -> Option<&RepositoryCloneMethod>
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.