The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

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

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

SYNOPSIS

    my $amplify = Paws->service('Amplify');
    my $CreateBranchResult = $amplify->CreateBranch(
      AppId                => 'MyAppId',
      BranchName           => 'MyBranchName',
      BasicAuthCredentials => 'MyBasicAuthCredentials',    # OPTIONAL
      BuildSpec            => 'MyBuildSpec',               # OPTIONAL
      Description          => 'MyDescription',             # OPTIONAL
      EnableAutoBuild      => 1,                           # OPTIONAL
      EnableBasicAuth      => 1,                           # OPTIONAL
      EnableNotification   => 1,                           # OPTIONAL
      EnvironmentVariables => {
        'MyEnvKey' => 'MyEnvValue',    # key: max: 255, value: max: 1000
      },    # OPTIONAL
      Framework => 'MyFramework',    # OPTIONAL
      Stage     => 'PRODUCTION',     # OPTIONAL
      Tags      => {
        'MyTagKey' => 'MyTagValue',    # key: max: 1000, value: max: 1000
      },    # OPTIONAL
      Ttl => 'MyTTL',    # OPTIONAL
    );

    # Results:
    my $Branch = $CreateBranchResult->Branch;

    # Returns a L<Paws::Amplify::CreateBranchResult> 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/CreateBranch

ATTRIBUTES

REQUIRED AppId => Str

Unique Id for an Amplify App.

BasicAuthCredentials => Str

Basic Authorization credentials for the branch.

REQUIRED BranchName => Str

Name for the branch.

BuildSpec => Str

BuildSpec for the branch.

Description => Str

Description for the branch.

EnableAutoBuild => Bool

Enables auto building for the branch.

EnableBasicAuth => Bool

Enables Basic Auth for the branch.

EnableNotification => Bool

Enables notifications for the branch.

EnvironmentVariables => Paws::Amplify::EnvironmentVariables

Environment Variables for the branch.

Framework => Str

Framework for the branch.

Stage => Str

Stage for the branch.

Valid values are: "PRODUCTION", "BETA", "DEVELOPMENT", "EXPERIMENTAL"

Tags => Paws::Amplify::Tags

Tag for the branch.

Ttl => Str

The content TTL for the website in seconds.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateBranch 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