CreateAppRequest

public struct CreateAppRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let accessToken: String?
  • The automated branch creation configuration for the Amplify app.

    Declaration

    Swift

    public let autoBranchCreationConfig: AutoBranchCreationConfig?
  • The automated branch creation glob patterns for the Amplify app.

    Declaration

    Swift

    public let autoBranchCreationPatterns: [String]?
  • The credentials for basic authorization for an Amplify app.

    Declaration

    Swift

    public let basicAuthCredentials: String?
  • The build specification (build spec) for an Amplify app.

    Declaration

    Swift

    public let buildSpec: String?
  • The custom rewrite and redirect rules for an Amplify app.

    Declaration

    Swift

    public let customRules: [CustomRule]?
  • The description for an Amplify app.

    Declaration

    Swift

    public let description: String?
  • Enables automated branch creation for the Amplify app.

    Declaration

    Swift

    public let enableAutoBranchCreation: Bool?
  • Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.

    Declaration

    Swift

    public let enableBasicAuth: Bool?
  • Enables the auto building of branches for an Amplify app.

    Declaration

    Swift

    public let enableBranchAutoBuild: Bool?
  • Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.

    Declaration

    Swift

    public let enableBranchAutoDeletion: Bool?
  • The environment variables map for an Amplify app.

    Declaration

    Swift

    public let environmentVariables: [String : String]?
  • The AWS Identity and Access Management (IAM) service role for an Amplify app.

    Declaration

    Swift

    public let iamServiceRoleArn: String?
  • The name for the Amplify app.

    Declaration

    Swift

    public let name: 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.

    Declaration

    Swift

    public let oauthToken: String?
  • The platform or framework for an Amplify app.

    Declaration

    Swift

    public let platform: Platform?
  • The repository for an Amplify app.

    Declaration

    Swift

    public let repository: String?
  • The tag for an Amplify app.

    Declaration

    Swift

    public let tags: [String : String]?
  • Undocumented

    Declaration

    Swift

    public init(accessToken: String? = nil, autoBranchCreationConfig: AutoBranchCreationConfig? = nil, autoBranchCreationPatterns: [String]? = nil, basicAuthCredentials: String? = nil, buildSpec: String? = nil, customRules: [CustomRule]? = nil, description: String? = nil, enableAutoBranchCreation: Bool? = nil, enableBasicAuth: Bool? = nil, enableBranchAutoBuild: Bool? = nil, enableBranchAutoDeletion: Bool? = nil, environmentVariables: [String : String]? = nil, iamServiceRoleArn: String? = nil, name: String, oauthToken: String? = nil, platform: Platform? = nil, repository: String? = nil, tags: [String : String]? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws