Class: Aws::CodeConnections::Types::CreateSyncConfigurationInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codeconnections/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#branchString

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

Returns:

  • (String)


326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'lib/aws-sdk-codeconnections/types.rb', line 326

class CreateSyncConfigurationInput < Struct.new(
  :branch,
  :config_file,
  :repository_link_id,
  :resource_name,
  :role_arn,
  :sync_type,
  :publish_deployment_status,
  :trigger_resource_update_on,
  :pull_request_comment)
  SENSITIVE = []
  include Aws::Structure
end

#config_fileString

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

Returns:

  • (String)


326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'lib/aws-sdk-codeconnections/types.rb', line 326

class CreateSyncConfigurationInput < Struct.new(
  :branch,
  :config_file,
  :repository_link_id,
  :resource_name,
  :role_arn,
  :sync_type,
  :publish_deployment_status,
  :trigger_resource_update_on,
  :pull_request_comment)
  SENSITIVE = []
  include Aws::Structure
end

#publish_deployment_statusString

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

Returns:

  • (String)


326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'lib/aws-sdk-codeconnections/types.rb', line 326

class CreateSyncConfigurationInput < Struct.new(
  :branch,
  :config_file,
  :repository_link_id,
  :resource_name,
  :role_arn,
  :sync_type,
  :publish_deployment_status,
  :trigger_resource_update_on,
  :pull_request_comment)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_commentString

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

Returns:

  • (String)


326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'lib/aws-sdk-codeconnections/types.rb', line 326

class CreateSyncConfigurationInput < Struct.new(
  :branch,
  :config_file,
  :repository_link_id,
  :resource_name,
  :role_arn,
  :sync_type,
  :publish_deployment_status,
  :trigger_resource_update_on,
  :pull_request_comment)
  SENSITIVE = []
  include Aws::Structure
end

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.

Returns:

  • (String)


326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'lib/aws-sdk-codeconnections/types.rb', line 326

class CreateSyncConfigurationInput < Struct.new(
  :branch,
  :config_file,
  :repository_link_id,
  :resource_name,
  :role_arn,
  :sync_type,
  :publish_deployment_status,
  :trigger_resource_update_on,
  :pull_request_comment)
  SENSITIVE = []
  include Aws::Structure
end

#resource_nameString

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.

Returns:

  • (String)


326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'lib/aws-sdk-codeconnections/types.rb', line 326

class CreateSyncConfigurationInput < Struct.new(
  :branch,
  :config_file,
  :repository_link_id,
  :resource_name,
  :role_arn,
  :sync_type,
  :publish_deployment_status,
  :trigger_resource_update_on,
  :pull_request_comment)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

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.

Returns:

  • (String)


326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'lib/aws-sdk-codeconnections/types.rb', line 326

class CreateSyncConfigurationInput < Struct.new(
  :branch,
  :config_file,
  :repository_link_id,
  :resource_name,
  :role_arn,
  :sync_type,
  :publish_deployment_status,
  :trigger_resource_update_on,
  :pull_request_comment)
  SENSITIVE = []
  include Aws::Structure
end

#sync_typeString

The type of sync configuration.

Returns:

  • (String)


326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'lib/aws-sdk-codeconnections/types.rb', line 326

class CreateSyncConfigurationInput < Struct.new(
  :branch,
  :config_file,
  :repository_link_id,
  :resource_name,
  :role_arn,
  :sync_type,
  :publish_deployment_status,
  :trigger_resource_update_on,
  :pull_request_comment)
  SENSITIVE = []
  include Aws::Structure
end

#trigger_resource_update_onString

When to trigger Git sync to begin the stack update.

Returns:

  • (String)


326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'lib/aws-sdk-codeconnections/types.rb', line 326

class CreateSyncConfigurationInput < Struct.new(
  :branch,
  :config_file,
  :repository_link_id,
  :resource_name,
  :role_arn,
  :sync_type,
  :publish_deployment_status,
  :trigger_resource_update_on,
  :pull_request_comment)
  SENSITIVE = []
  include Aws::Structure
end