Class: Aws::AppRunner::Types::SourceCodeVersion

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

Overview

Note:

When making an API call, you may pass SourceCodeVersion data as a hash:

{
  type: "BRANCH", # required, accepts BRANCH
  value: "String", # required
}

Identifies a version of code that App Runner refers to within a source code repository.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

The type of version identifier.

For a git-based repository, branches represent versions.

Returns:

  • (String)


2058
2059
2060
2061
2062
2063
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 2058

class SourceCodeVersion < Struct.new(
  :type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

A source code version.

For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.

Returns:

  • (String)


2058
2059
2060
2061
2062
2063
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 2058

class SourceCodeVersion < Struct.new(
  :type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end