Class: Aws::Amplify::Types::CreateDeploymentRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb

Overview

The request structure for the create a new deployment request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

The unique ID for an Amplify app.

Returns:

  • (String)


939
940
941
942
943
944
945
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 939

class CreateDeploymentRequest < Struct.new(
  :app_id,
  :branch_name,
  :file_map)
  SENSITIVE = []
  include Aws::Structure
end

#branch_nameString

The name of the branch to use for the job.

Returns:

  • (String)


939
940
941
942
943
944
945
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 939

class CreateDeploymentRequest < Struct.new(
  :app_id,
  :branch_name,
  :file_map)
  SENSITIVE = []
  include Aws::Structure
end

#file_mapHash<String,String>

An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.

Returns:

  • (Hash<String,String>)


939
940
941
942
943
944
945
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 939

class CreateDeploymentRequest < Struct.new(
  :app_id,
  :branch_name,
  :file_map)
  SENSITIVE = []
  include Aws::Structure
end