NAME

Paws::Amplify::CreateApp - Arguments for method CreateApp on Paws::Amplify

DESCRIPTION

This class represents the parameters used for calling the method CreateApp on the AWS Amplify service. Use the attributes of this class as arguments to method CreateApp.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateApp.

SYNOPSIS

my $amplify = Paws->service('Amplify');
my $CreateAppResult = $amplify->CreateApp(
  Name                     => 'MyName',
  AccessToken              => 'MyAccessToken',    # OPTIONAL
  AutoBranchCreationConfig => {
    BasicAuthCredentials  => 'MyBasicAuthCredentials', # max: 2000; OPTIONAL
    BuildSpec             => 'MyBuildSpec',   # min: 1, max: 25000; OPTIONAL
    EnableAutoBuild       => 1,               # OPTIONAL
    EnableBasicAuth       => 1,               # OPTIONAL
    EnablePerformanceMode => 1,               # OPTIONAL
    EnablePullRequestPreview => 1,            # OPTIONAL
    EnvironmentVariables     => {
      'MyEnvKey' => 'MyEnvValue',    # key: max: 255, value: max: 1000
    },    # OPTIONAL
    Framework                  => 'MyFramework',    # max: 255; OPTIONAL
    PullRequestEnvironmentName =>
      'MyPullRequestEnvironmentName',               # max: 20; OPTIONAL
    Stage => 'PRODUCTION'
    , # values: PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST; OPTIONAL
  },    # OPTIONAL
  AutoBranchCreationPatterns => [
    'MyAutoBranchCreationPattern', ...    # min: 1, max: 2048
  ],    # OPTIONAL
  BasicAuthCredentials => 'MyBasicAuthCredentials',    # OPTIONAL
  BuildSpec            => 'MyBuildSpec',               # OPTIONAL
  CustomHeaders        => 'MyCustomHeaders',           # OPTIONAL
  CustomRules          => [
    {
      Source    => 'MySource',       # min: 1, max: 2048
      Target    => 'MyTarget',       # min: 1, max: 2048
      Condition => 'MyCondition',    # min: 1, max: 2048; OPTIONAL
      Status    => 'MyStatus',       # min: 3, max: 7; OPTIONAL
    },
    ...
  ],    # OPTIONAL
  Description              => 'MyDescription',    # OPTIONAL
  EnableAutoBranchCreation => 1,                  # OPTIONAL
  EnableBasicAuth          => 1,                  # OPTIONAL
  EnableBranchAutoBuild    => 1,                  # OPTIONAL
  EnableBranchAutoDeletion => 1,                  # OPTIONAL
  EnvironmentVariables     => {
    'MyEnvKey' => 'MyEnvValue',    # key: max: 255, value: max: 1000
  },    # OPTIONAL
  IamServiceRoleArn => 'MyServiceRoleArn',    # OPTIONAL
  OauthToken        => 'MyOauthToken',        # OPTIONAL
  Platform          => 'WEB',                 # OPTIONAL
  Repository        => 'MyRepository',        # OPTIONAL
  Tags              => {
    'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
  },    # OPTIONAL
);

# Results:
my $App = $CreateAppResult->App;

# Returns a L<Paws::Amplify::CreateAppResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/amplify/CreateApp

ATTRIBUTES

AccessToken => Str

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.

AutoBranchCreationConfig => Paws::Amplify::AutoBranchCreationConfig

The automated branch creation configuration for an Amplify app.

AutoBranchCreationPatterns => ArrayRef[Str|Undef]

The automated branch creation glob patterns for an Amplify app.

BasicAuthCredentials => Str

The credentials for basic authorization for an Amplify app.

BuildSpec => Str

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

CustomHeaders => Str

The custom HTTP headers for an Amplify app.

CustomRules => ArrayRef[Paws::Amplify::CustomRule]

The custom rewrite and redirect rules for an Amplify app.

Description => Str

The description for an Amplify app.

EnableAutoBranchCreation => Bool

Enables automated branch creation for an Amplify app.

EnableBasicAuth => Bool

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

EnableBranchAutoBuild => Bool

Enables the auto building of branches for an Amplify app.

EnableBranchAutoDeletion => Bool

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

EnvironmentVariables => Paws::Amplify::EnvironmentVariables

The environment variables map for an Amplify app.

IamServiceRoleArn => Str

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

REQUIRED Name => Str

The name for an Amplify app.

OauthToken => Str

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.

Platform => Str

The platform or framework for an Amplify app.

Valid values are: "WEB"

Repository => Str

The repository for an Amplify app.

Tags => Paws::Amplify::TagMap

The tag for an Amplify app.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateApp in Paws::Amplify

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues