Class: Aws::AmplifyGen3::Types::CreateDeploymentRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_name ⇒ String

The name of the app.

Returns:

  • (String)


1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1209

class CreateDeploymentRequest < Struct.new(
  :app_name,
  :environment_name,
  :source_config,
  :description,
  :tags,
  :branch_arn,
  :publishable_key_action)
  SENSITIVE = []
  include Aws::Structure
end

#branch_arn ⇒ String

The Amazon Resource Name (ARN) of the branch to deploy to. This applies only to an app with a backend. The branch must belong to the same app and environment. In the Production environment, it must be the production branch. If you omit this, Amplify chooses the branch and creates it if it doesn't exist.

Returns:

  • (String)


1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1209

class CreateDeploymentRequest < Struct.new(
  :app_name,
  :environment_name,
  :source_config,
  :description,
  :tags,
  :branch_arn,
  :publishable_key_action)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

The description of the deployment.

Returns:

  • (String)


1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1209

class CreateDeploymentRequest < Struct.new(
  :app_name,
  :environment_name,
  :source_config,
  :description,
  :tags,
  :branch_arn,
  :publishable_key_action)
  SENSITIVE = []
  include Aws::Structure
end

#environment_name ⇒ String

The name of the environment.

Returns:

  • (String)


1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1209

class CreateDeploymentRequest < Struct.new(
  :app_name,
  :environment_name,
  :source_config,
  :description,
  :tags,
  :branch_arn,
  :publishable_key_action)
  SENSITIVE = []
  include Aws::Structure
end

#publishable_key_action ⇒ String

Specifies what the deployment does with the branch's publishable key, for an app with a backend. CREATE_NEW creates a new key that this deployment and later deployments use. The previous key stays active until you revoke it with RevokeApiKey. REUSE, the default, uses the branch's current key.

Returns:

  • (String)


1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1209

class CreateDeploymentRequest < Struct.new(
  :app_name,
  :environment_name,
  :source_config,
  :description,
  :tags,
  :branch_arn,
  :publishable_key_action)
  SENSITIVE = []
  include Aws::Structure
end

#source_config ⇒ Types::DeploymentSourceConfigRequest

The source to deploy.



1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1209

class CreateDeploymentRequest < Struct.new(
  :app_name,
  :environment_name,
  :source_config,
  :description,
  :tags,
  :branch_arn,
  :publishable_key_action)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

The tags to apply to the resource.

Returns:

  • (Hash<String,String>)


1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 1209

class CreateDeploymentRequest < Struct.new(
  :app_name,
  :environment_name,
  :source_config,
  :description,
  :tags,
  :branch_arn,
  :publishable_key_action)
  SENSITIVE = []
  include Aws::Structure
end