merge_options
Creates, updates, deletes, gets or lists a merge_options resource.
Overview
| Name | merge_options |
| Type | Resource |
| Id | aws.codecommit.merge_options |
Fields
The following fields are returned by SELECT queries:
- get_merge_options
| Name | Datatype | Description |
|---|---|---|
base_commit_id | string | The commit ID of the merge base. |
destination_commit_id | string | The commit ID of the destination commit specifier that was used in the merge evaluation. |
merge_options | array | The merge option or strategy used to merge the code. |
source_commit_id | string | The commit ID of the source commit specifier that was used in the merge evaluation. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_merge_options | select | region | Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_merge_options
Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.
SELECT
base_commit_id,
destination_commit_id,
merge_options,
source_commit_id
FROM aws.codecommit.merge_options
WHERE region = '{{ region }}' -- required
;