You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeDeploy::Types::RawString

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

Overview

Note:

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

{
  content: "RawStringContent",
  sha256: "RawStringSha256",
}

A revision for an AWS Lambda deployment that is a YAML-formatted or JSON-formatted string. For AWS Lambda deployments, the revision is the same as the AppSpec file.

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.

Returns:

  • (String)


3172
3173
3174
3175
3176
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3172

class RawString < Struct.new(
  :content,
  :sha256)
  include Aws::Structure
end

#sha256String

The SHA256 hash value of the revision that is specified as a RawString.

Returns:

  • (String)


3172
3173
3174
3175
3176
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3172

class RawString < Struct.new(
  :content,
  :sha256)
  include Aws::Structure
end