AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::CodeDeploy::Model::AppSpecContent Class Reference

#include <AppSpecContent.h>

Public Member Functions

AWS_CODEDEPLOY_API AppSpecContent ()
 
AWS_CODEDEPLOY_API AppSpecContent (Aws::Utils::Json::JsonView jsonValue)
 
AWS_CODEDEPLOY_API AppSpecContentoperator= (Aws::Utils::Json::JsonView jsonValue)
 
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetContent () const
 
bool ContentHasBeenSet () const
 
void SetContent (const Aws::String &value)
 
void SetContent (Aws::String &&value)
 
void SetContent (const char *value)
 
AppSpecContentWithContent (const Aws::String &value)
 
AppSpecContentWithContent (Aws::String &&value)
 
AppSpecContentWithContent (const char *value)
 
const Aws::StringGetSha256 () const
 
bool Sha256HasBeenSet () const
 
void SetSha256 (const Aws::String &value)
 
void SetSha256 (Aws::String &&value)
 
void SetSha256 (const char *value)
 
AppSpecContentWithSha256 (const Aws::String &value)
 
AppSpecContentWithSha256 (Aws::String &&value)
 
AppSpecContentWithSha256 (const char *value)
 

Detailed Description

A revision for an Lambda or Amazon ECS deployment that is a YAML-formatted or JSON-formatted string. For Lambda and Amazon ECS deployments, the revision is the same as the AppSpec file. This method replaces the deprecated RawString data type.

See Also:

AWS API Reference

Definition at line 34 of file AppSpecContent.h.

Constructor & Destructor Documentation

◆ AppSpecContent() [1/2]

AWS_CODEDEPLOY_API Aws::CodeDeploy::Model::AppSpecContent::AppSpecContent ( )

◆ AppSpecContent() [2/2]

AWS_CODEDEPLOY_API Aws::CodeDeploy::Model::AppSpecContent::AppSpecContent ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ContentHasBeenSet()

bool Aws::CodeDeploy::Model::AppSpecContent::ContentHasBeenSet ( ) const
inline

The YAML-formatted or JSON-formatted revision string.

For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.

For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

Definition at line 67 of file AppSpecContent.h.

◆ GetContent()

const Aws::String & Aws::CodeDeploy::Model::AppSpecContent::GetContent ( ) const
inline

The YAML-formatted or JSON-formatted revision string.

For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.

For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

Definition at line 54 of file AppSpecContent.h.

◆ GetSha256()

const Aws::String & Aws::CodeDeploy::Model::AppSpecContent::GetSha256 ( ) const
inline

The SHA256 hash value of the revision content.

Definition at line 151 of file AppSpecContent.h.

◆ Jsonize()

AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Aws::CodeDeploy::Model::AppSpecContent::Jsonize ( ) const

◆ operator=()

AWS_CODEDEPLOY_API AppSpecContent & Aws::CodeDeploy::Model::AppSpecContent::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetContent() [1/3]

void Aws::CodeDeploy::Model::AppSpecContent::SetContent ( Aws::String &&  value)
inline

The YAML-formatted or JSON-formatted revision string.

For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.

For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

Definition at line 93 of file AppSpecContent.h.

◆ SetContent() [2/3]

void Aws::CodeDeploy::Model::AppSpecContent::SetContent ( const Aws::String value)
inline

The YAML-formatted or JSON-formatted revision string.

For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.

For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

Definition at line 80 of file AppSpecContent.h.

◆ SetContent() [3/3]

void Aws::CodeDeploy::Model::AppSpecContent::SetContent ( const char *  value)
inline

The YAML-formatted or JSON-formatted revision string.

For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.

For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

Definition at line 106 of file AppSpecContent.h.

◆ SetSha256() [1/3]

void Aws::CodeDeploy::Model::AppSpecContent::SetSha256 ( Aws::String &&  value)
inline

The SHA256 hash value of the revision content.

Definition at line 166 of file AppSpecContent.h.

◆ SetSha256() [2/3]

void Aws::CodeDeploy::Model::AppSpecContent::SetSha256 ( const Aws::String value)
inline

The SHA256 hash value of the revision content.

Definition at line 161 of file AppSpecContent.h.

◆ SetSha256() [3/3]

void Aws::CodeDeploy::Model::AppSpecContent::SetSha256 ( const char *  value)
inline

The SHA256 hash value of the revision content.

Definition at line 171 of file AppSpecContent.h.

◆ Sha256HasBeenSet()

bool Aws::CodeDeploy::Model::AppSpecContent::Sha256HasBeenSet ( ) const
inline

The SHA256 hash value of the revision content.

Definition at line 156 of file AppSpecContent.h.

◆ WithContent() [1/3]

AppSpecContent & Aws::CodeDeploy::Model::AppSpecContent::WithContent ( Aws::String &&  value)
inline

The YAML-formatted or JSON-formatted revision string.

For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.

For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

Definition at line 132 of file AppSpecContent.h.

◆ WithContent() [2/3]

AppSpecContent & Aws::CodeDeploy::Model::AppSpecContent::WithContent ( const Aws::String value)
inline

The YAML-formatted or JSON-formatted revision string.

For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.

For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

Definition at line 119 of file AppSpecContent.h.

◆ WithContent() [3/3]

AppSpecContent & Aws::CodeDeploy::Model::AppSpecContent::WithContent ( const char *  value)
inline

The YAML-formatted or JSON-formatted revision string.

For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.

For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

Definition at line 145 of file AppSpecContent.h.

◆ WithSha256() [1/3]

AppSpecContent & Aws::CodeDeploy::Model::AppSpecContent::WithSha256 ( Aws::String &&  value)
inline

The SHA256 hash value of the revision content.

Definition at line 181 of file AppSpecContent.h.

◆ WithSha256() [2/3]

AppSpecContent & Aws::CodeDeploy::Model::AppSpecContent::WithSha256 ( const Aws::String value)
inline

The SHA256 hash value of the revision content.

Definition at line 176 of file AppSpecContent.h.

◆ WithSha256() [3/3]

AppSpecContent & Aws::CodeDeploy::Model::AppSpecContent::WithSha256 ( const char *  value)
inline

The SHA256 hash value of the revision content.

Definition at line 186 of file AppSpecContent.h.


The documentation for this class was generated from the following file: