Paws::Amplify::CreateApp - Arguments for method CreateApp on Paws::Amplify
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.
my $amplify = Paws->service('Amplify'); my $CreateAppResult = $amplify->CreateApp( Name => 'MyName', OauthToken => 'MyOauthToken', Platform => 'IOS', Repository => 'MyRepository', BasicAuthCredentials => 'MyBasicAuthCredentials', # OPTIONAL BuildSpec => 'MyBuildSpec', # 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: 3; OPTIONAL }, ... ], # OPTIONAL Description => 'MyDescription', # OPTIONAL EnableBasicAuth => 1, # OPTIONAL EnableBranchAutoBuild => 1, # OPTIONAL EnvironmentVariables => { 'MyEnvKey' => 'MyEnvValue', # key: max: 255, value: max: 1000 }, # OPTIONAL IamServiceRoleArn => 'MyServiceRoleArn', # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: max: 1000, value: max: 1000 }, # 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
Credentials for Basic Authorization for an Amplify App.
BuildSpec for an Amplify App
Custom rewrite / redirect rules for an Amplify App.
Description for an Amplify App
Enable Basic Authorization for an Amplify App, this will apply to all branches part of this App.
Enable the auto building of branches for an Amplify App.
Environment variables map for an Amplify App.
AWS IAM service role for an Amplify App
Name for the Amplify App
OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. OAuth token is not stored.
Platform / framework for an Amplify App
Valid values are: "IOS", "ANDROID", "WEB", "REACT_NATIVE"
"IOS"
"ANDROID"
"WEB"
"REACT_NATIVE"
Repository for an Amplify App
Tag for an Amplify App
This class forms part of Paws, documenting arguments for method CreateApp in Paws::Amplify
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.