AWS SDK for C++  1.9.68
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECS::Model::Secret Class Reference

#include <Secret.h>

Public Member Functions

 Secret ()
 
 Secret (Aws::Utils::Json::JsonView jsonValue)
 
Secretoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
SecretWithName (const Aws::String &value)
 
SecretWithName (Aws::String &&value)
 
SecretWithName (const char *value)
 
const Aws::StringGetValueFrom () const
 
bool ValueFromHasBeenSet () const
 
void SetValueFrom (const Aws::String &value)
 
void SetValueFrom (Aws::String &&value)
 
void SetValueFrom (const char *value)
 
SecretWithValueFrom (const Aws::String &value)
 
SecretWithValueFrom (Aws::String &&value)
 
SecretWithValueFrom (const char *value)
 

Detailed Description

An object representing the secret to expose to your container. Secrets can be exposed to a container in the following ways:

For more information, see Specifying Sensitive Data in the Amazon Elastic Container Service Developer Guide.

See Also:

AWS API Reference

Definition at line 40 of file Secret.h.

Constructor & Destructor Documentation

◆ Secret() [1/2]

Aws::ECS::Model::Secret::Secret ( )

◆ Secret() [2/2]

Aws::ECS::Model::Secret::Secret ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetName()

const Aws::String& Aws::ECS::Model::Secret::GetName ( ) const
inline

The name of the secret.

Definition at line 52 of file Secret.h.

◆ GetValueFrom()

const Aws::String& Aws::ECS::Model::Secret::GetValueFrom ( ) const
inline

The secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

If the SSM Parameter Store parameter exists in the same Region as the task you are launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

Definition at line 98 of file Secret.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ECS::Model::Secret::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::ECS::Model::Secret::NameHasBeenSet ( ) const
inline

The name of the secret.

Definition at line 57 of file Secret.h.

◆ operator=()

Secret& Aws::ECS::Model::Secret::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetName() [1/3]

void Aws::ECS::Model::Secret::SetName ( Aws::String &&  value)
inline

The name of the secret.

Definition at line 67 of file Secret.h.

◆ SetName() [2/3]

void Aws::ECS::Model::Secret::SetName ( const Aws::String value)
inline

The name of the secret.

Definition at line 62 of file Secret.h.

◆ SetName() [3/3]

void Aws::ECS::Model::Secret::SetName ( const char *  value)
inline

The name of the secret.

Definition at line 72 of file Secret.h.

◆ SetValueFrom() [1/3]

void Aws::ECS::Model::Secret::SetValueFrom ( Aws::String &&  value)
inline

The secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

If the SSM Parameter Store parameter exists in the same Region as the task you are launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

Definition at line 128 of file Secret.h.

◆ SetValueFrom() [2/3]

void Aws::ECS::Model::Secret::SetValueFrom ( const Aws::String value)
inline

The secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

If the SSM Parameter Store parameter exists in the same Region as the task you are launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

Definition at line 118 of file Secret.h.

◆ SetValueFrom() [3/3]

void Aws::ECS::Model::Secret::SetValueFrom ( const char *  value)
inline

The secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

If the SSM Parameter Store parameter exists in the same Region as the task you are launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

Definition at line 138 of file Secret.h.

◆ ValueFromHasBeenSet()

bool Aws::ECS::Model::Secret::ValueFromHasBeenSet ( ) const
inline

The secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

If the SSM Parameter Store parameter exists in the same Region as the task you are launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

Definition at line 108 of file Secret.h.

◆ WithName() [1/3]

Secret& Aws::ECS::Model::Secret::WithName ( Aws::String &&  value)
inline

The name of the secret.

Definition at line 82 of file Secret.h.

◆ WithName() [2/3]

Secret& Aws::ECS::Model::Secret::WithName ( const Aws::String value)
inline

The name of the secret.

Definition at line 77 of file Secret.h.

◆ WithName() [3/3]

Secret& Aws::ECS::Model::Secret::WithName ( const char *  value)
inline

The name of the secret.

Definition at line 87 of file Secret.h.

◆ WithValueFrom() [1/3]

Secret& Aws::ECS::Model::Secret::WithValueFrom ( Aws::String &&  value)
inline

The secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

If the SSM Parameter Store parameter exists in the same Region as the task you are launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

Definition at line 158 of file Secret.h.

◆ WithValueFrom() [2/3]

Secret& Aws::ECS::Model::Secret::WithValueFrom ( const Aws::String value)
inline

The secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

If the SSM Parameter Store parameter exists in the same Region as the task you are launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

Definition at line 148 of file Secret.h.

◆ WithValueFrom() [3/3]

Secret& Aws::ECS::Model::Secret::WithValueFrom ( const char *  value)
inline

The secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

If the SSM Parameter Store parameter exists in the same Region as the task you are launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

Definition at line 168 of file Secret.h.


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