GitConfig
class resources.git_config.GitConfig
Base class: Resource
Configuration of a git repository which is used to synchronize content (records) to Cloudomation.
See the corresponding Flow Api class at GitConfig
Property | Description | Type | Import/Export |
---|---|---|---|
branch_name | The name of the branch to checkout. | String(length=128) | both |
id | UUID() | both | |
is_enabled | Flag to control if the configuration should be used. | Boolean() | both |
last_sync_at | The timestamp of the last successfuĺ sync. Output only. | DateTime(timezone=True) | neither |
password | The password used to authenticate. | String(length=128) | import only |
path_mapping | A mapping of record types to globs. All files in the repo matching a glob will be loaded to the specified record type. | JSONB(astext_type=Text()) | both |
priority | If several git_config records are enabled, they will be applied in descending priority. If there are conflicting files in several git_configs the one with the lowest priority number will be used. | Integer() | both |
remote_url | The URL of the git repository. Special characters must be %-encoded! | String(length=1024) | both |
size_bytes | BigInteger() | neither | |
ssh_hostkey | The SSH hostkey to verify the remote host. Content formatted as [host][type] [key] - or [type][key], a [comment] may be present after the [key]. | String(length=2048) | both |
ssh_key | The SSH private-key to authenticate. Currently only works with non-password protected keyfiles and in PEM format | String(length=4096) | import only |
status_message | Contains error messages if the synchronization failed. Output only. | String(length=1024) | export only |
username | The username used to authenticate. | String(length=128) | both |