Module Values.CreateSyncConfigurationInputSource

Creates a sync configuration which allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource. Parameters for the sync configuration are determined by the sync type.

Sourcetype nonrec t = {
  1. branch : BranchName.t;
    (*

    The branch in the repository from which changes will be synced.

    *)
  2. configFile : DeploymentFilePath.t;
    (*

    The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.

    *)
  3. repositoryLinkId : RepositoryLinkId.t;
    (*

    The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.

    *)
  4. resourceName : ResourceName.t;
    (*

    The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.

    *)
  5. roleArn : IamRoleArn.t;
    (*

    The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.

    *)
  6. syncType : SyncConfigurationType.t;
    (*

    The type of sync configuration.

    *)
  7. publishDeploymentStatus : PublishDeploymentStatus.t option;
    (*

    Whether to enable or disable publishing of deployment status to source providers.

    *)
  8. triggerResourceUpdateOn : TriggerResourceUpdateOn.t option;
    (*

    When to trigger Git sync to begin the stack update.

    *)
  9. pullRequestComment : PullRequestComment.t option;
    (*

    A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.

    *)
}
Sourceval context_ : string
Sourceval make : ?publishDeploymentStatus:??? -> ?triggerResourceUpdateOn:??? -> ?pullRequestComment:??? -> branch:BranchName.t -> configFile:DeploymentFilePath.t -> repositoryLinkId:RepositoryLinkId.t -> resourceName:ResourceName.t -> roleArn:IamRoleArn.t -> syncType:SyncConfigurationType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of BranchName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t