![]() |
![]()
| ![]() |
![]()
NAMEPaws::Amplify::CreateBranch - Arguments for method CreateBranch on Paws::Amplify DESCRIPTIONThis 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. SYNOPSISmy $amplify = Paws->service('Amplify'); my $CreateBranchResult = $amplify->CreateBranch( AppId => 'MyAppId', BranchName => 'MyBranchName', BackendEnvironmentArn => 'MyBackendEnvironmentArn', # OPTIONAL BasicAuthCredentials => 'MyBasicAuthCredentials', # OPTIONAL BuildSpec => 'MyBuildSpec', # OPTIONAL Description => 'MyDescription', # OPTIONAL DisplayName => 'MyDisplayName', # OPTIONAL EnableAutoBuild => 1, # OPTIONAL EnableBasicAuth => 1, # OPTIONAL EnableNotification => 1, # OPTIONAL EnablePerformanceMode => 1, # OPTIONAL EnablePullRequestPreview => 1, # OPTIONAL EnvironmentVariables => { 'MyEnvKey' => 'MyEnvValue', # key: max: 255, value: max: 1000 }, # OPTIONAL Framework => 'MyFramework', # OPTIONAL PullRequestEnvironmentName => 'MyPullRequestEnvironmentName', # OPTIONAL Stage => 'PRODUCTION', # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # 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> ATTRIBUTESREQUIRED AppId => StrThe unique ID for an Amplify app. BackendEnvironmentArn => StrThe Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. BasicAuthCredentials => StrThe basic authorization credentials for the branch. REQUIRED BranchName => StrThe name for the branch. BuildSpec => StrThe build specification (build spec) for the branch. Description => StrThe description for the branch. DisplayName => StrThe display name for a branch. This is used as the default domain prefix. EnableAutoBuild => BoolEnables auto building for the branch. EnableBasicAuth => BoolEnables basic authorization for the branch. EnableNotification => BoolEnables notifications for the branch. EnablePerformanceMode => BoolEnables performance mode for the branch. Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. EnablePullRequestPreview => BoolEnables pull request previews for this branch. EnvironmentVariables => Paws::Amplify::EnvironmentVariablesThe environment variables for the branch. Framework => StrThe framework for the branch. PullRequestEnvironmentName => StrThe Amplify environment name for the pull request. Stage => StrDescribes the current stage for the branch. Valid values are: "PRODUCTION", "BETA", "DEVELOPMENT", "EXPERIMENTAL", "PULL_REQUEST" Tags => Paws::Amplify::TagMapThe tag for the branch. Ttl => StrThe content Time To Live (TTL) for the website in seconds. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateBranch in Paws::Amplify BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|