#[non_exhaustive]
pub struct CreateAppInput {
Show 19 fields pub name: Option<String>, pub description: Option<String>, pub repository: Option<String>, pub platform: Option<Platform>, pub iam_service_role_arn: Option<String>, pub oauth_token: Option<String>, pub access_token: Option<String>, pub environment_variables: Option<HashMap<String, 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 tags: Option<HashMap<String, String>>, 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>,
}
Expand description

The request structure used to create apps in Amplify.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
name: Option<String>

The name for an Amplify app.

description: Option<String>

The description for an Amplify app.

repository: Option<String>

The repository for an Amplify app.

platform: Option<Platform>

The platform or framework for an Amplify app.

iam_service_role_arn: Option<String>

The AWS Identity and Access Management (IAM) service role for an Amplify app.

oauth_token: Option<String>

The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.

access_token: Option<String>

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 stored.

environment_variables: Option<HashMap<String, String>>

The environment variables map for an Amplify app.

enable_branch_auto_build: Option<bool>

Enables the auto building of branches for an Amplify app.

enable_branch_auto_deletion: Option<bool>

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

enable_basic_auth: Option<bool>

Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.

basic_auth_credentials: Option<String>

The credentials for basic authorization for an Amplify app.

custom_rules: Option<Vec<CustomRule>>

The custom rewrite and redirect rules for an Amplify app.

tags: Option<HashMap<String, String>>

The tag for an Amplify app.

build_spec: Option<String>

The build specification (build spec) for an Amplify app.

custom_headers: Option<String>

The custom HTTP headers for an Amplify app.

enable_auto_branch_creation: Option<bool>

Enables automated branch creation for an Amplify app.

auto_branch_creation_patterns: Option<Vec<String>>

The automated branch creation glob patterns for an Amplify app.

auto_branch_creation_config: Option<AutoBranchCreationConfig>

The automated branch creation configuration for an Amplify app.

Implementations

Consumes the builder and constructs an Operation<CreateApp>

Creates a new builder-style object to manufacture CreateAppInput

The name for an Amplify app.

The description for an Amplify app.

The repository for an Amplify app.

The platform or framework for an Amplify app.

The AWS Identity and Access Management (IAM) service role for an Amplify app.

The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.

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 stored.

The environment variables map for an Amplify app.

Enables the auto building of branches for an Amplify app.

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

Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.

The credentials for basic authorization for an Amplify app.

The custom rewrite and redirect rules for an Amplify app.

The tag for an Amplify app.

The build specification (build spec) for an Amplify app.

The custom HTTP headers for an Amplify app.

Enables automated branch creation for an Amplify app.

The automated branch creation glob patterns for an Amplify app.

The automated branch creation configuration for an Amplify app.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more