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

#include <UpdateConstraintRequest.h>

+ Inheritance diagram for Aws::ServiceCatalog::Model::UpdateConstraintRequest:

Public Member Functions

 UpdateConstraintRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetAcceptLanguage () const
 
bool AcceptLanguageHasBeenSet () const
 
void SetAcceptLanguage (const Aws::String &value)
 
void SetAcceptLanguage (Aws::String &&value)
 
void SetAcceptLanguage (const char *value)
 
UpdateConstraintRequestWithAcceptLanguage (const Aws::String &value)
 
UpdateConstraintRequestWithAcceptLanguage (Aws::String &&value)
 
UpdateConstraintRequestWithAcceptLanguage (const char *value)
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
UpdateConstraintRequestWithId (const Aws::String &value)
 
UpdateConstraintRequestWithId (Aws::String &&value)
 
UpdateConstraintRequestWithId (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
UpdateConstraintRequestWithDescription (const Aws::String &value)
 
UpdateConstraintRequestWithDescription (Aws::String &&value)
 
UpdateConstraintRequestWithDescription (const char *value)
 
const Aws::StringGetParameters () const
 
bool ParametersHasBeenSet () const
 
void SetParameters (const Aws::String &value)
 
void SetParameters (Aws::String &&value)
 
void SetParameters (const char *value)
 
UpdateConstraintRequestWithParameters (const Aws::String &value)
 
UpdateConstraintRequestWithParameters (Aws::String &&value)
 
UpdateConstraintRequestWithParameters (const char *value)
 
- Public Member Functions inherited from Aws::ServiceCatalog::ServiceCatalogRequest
virtual ~ServiceCatalogRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 21 of file UpdateConstraintRequest.h.

Constructor & Destructor Documentation

◆ UpdateConstraintRequest()

Aws::ServiceCatalog::Model::UpdateConstraintRequest::UpdateConstraintRequest ( )

Member Function Documentation

◆ AcceptLanguageHasBeenSet()

bool Aws::ServiceCatalog::Model::UpdateConstraintRequest::AcceptLanguageHasBeenSet ( ) const
inline

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Definition at line 49 of file UpdateConstraintRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::ServiceCatalog::Model::UpdateConstraintRequest::DescriptionHasBeenSet ( ) const
inline

The updated description of the constraint.

Definition at line 143 of file UpdateConstraintRequest.h.

◆ GetAcceptLanguage()

const Aws::String& Aws::ServiceCatalog::Model::UpdateConstraintRequest::GetAcceptLanguage ( ) const
inline

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Definition at line 42 of file UpdateConstraintRequest.h.

◆ GetDescription()

const Aws::String& Aws::ServiceCatalog::Model::UpdateConstraintRequest::GetDescription ( ) const
inline

The updated description of the constraint.

Definition at line 138 of file UpdateConstraintRequest.h.

◆ GetId()

const Aws::String& Aws::ServiceCatalog::Model::UpdateConstraintRequest::GetId ( ) const
inline

The identifier of the constraint.

Definition at line 97 of file UpdateConstraintRequest.h.

◆ GetParameters()

const Aws::String& Aws::ServiceCatalog::Model::UpdateConstraintRequest::GetParameters ( ) const
inline

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

LAUNCH

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

Specify the RoleArn property as follows:

{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}

Specify the LocalRoleName property as follows:

{"LocalRoleName": "SCBasicLaunchRole"}

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator can create fewer resources per shared account.

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one LAUNCH constraint on a product and portfolio.

NOTIFICATION

Specify the NotificationArns property as follows:

{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}

RESOURCE_UPDATE

Specify the TagUpdatesOnProvisionedProduct property as follows:

{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

STACKSET

Specify the Parameters property as follows:

{"Version": "String", "Properties": {"AccountList": [ "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole": "String"}}

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one STACKSET constraint on a product and portfolio.

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

TEMPLATE

Specify the Rules property. For more information, see Template Constraint Rules.

Definition at line 212 of file UpdateConstraintRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::ServiceCatalog::Model::UpdateConstraintRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetServiceRequestName()

virtual const char* Aws::ServiceCatalog::Model::UpdateConstraintRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file UpdateConstraintRequest.h.

◆ IdHasBeenSet()

bool Aws::ServiceCatalog::Model::UpdateConstraintRequest::IdHasBeenSet ( ) const
inline

The identifier of the constraint.

Definition at line 102 of file UpdateConstraintRequest.h.

◆ ParametersHasBeenSet()

bool Aws::ServiceCatalog::Model::UpdateConstraintRequest::ParametersHasBeenSet ( ) const
inline

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

LAUNCH

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

Specify the RoleArn property as follows:

{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}

Specify the LocalRoleName property as follows:

{"LocalRoleName": "SCBasicLaunchRole"}

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator can create fewer resources per shared account.

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one LAUNCH constraint on a product and portfolio.

NOTIFICATION

Specify the NotificationArns property as follows:

{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}

RESOURCE_UPDATE

Specify the TagUpdatesOnProvisionedProduct property as follows:

{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

STACKSET

Specify the Parameters property as follows:

{"Version": "String", "Properties": {"AccountList": [ "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole": "String"}}

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one STACKSET constraint on a product and portfolio.

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

TEMPLATE

Specify the Rules property. For more information, see Template Constraint Rules.

Definition at line 250 of file UpdateConstraintRequest.h.

◆ SerializePayload()

Aws::String Aws::ServiceCatalog::Model::UpdateConstraintRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAcceptLanguage() [1/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetAcceptLanguage ( Aws::String &&  value)
inline

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Definition at line 63 of file UpdateConstraintRequest.h.

◆ SetAcceptLanguage() [2/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetAcceptLanguage ( const Aws::String value)
inline

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Definition at line 56 of file UpdateConstraintRequest.h.

◆ SetAcceptLanguage() [3/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetAcceptLanguage ( const char *  value)
inline

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Definition at line 70 of file UpdateConstraintRequest.h.

◆ SetDescription() [1/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetDescription ( Aws::String &&  value)
inline

The updated description of the constraint.

Definition at line 153 of file UpdateConstraintRequest.h.

◆ SetDescription() [2/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetDescription ( const Aws::String value)
inline

The updated description of the constraint.

Definition at line 148 of file UpdateConstraintRequest.h.

◆ SetDescription() [3/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetDescription ( const char *  value)
inline

The updated description of the constraint.

Definition at line 158 of file UpdateConstraintRequest.h.

◆ SetId() [1/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetId ( Aws::String &&  value)
inline

The identifier of the constraint.

Definition at line 112 of file UpdateConstraintRequest.h.

◆ SetId() [2/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetId ( const Aws::String value)
inline

The identifier of the constraint.

Definition at line 107 of file UpdateConstraintRequest.h.

◆ SetId() [3/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetId ( const char *  value)
inline

The identifier of the constraint.

Definition at line 117 of file UpdateConstraintRequest.h.

◆ SetParameters() [1/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetParameters ( Aws::String &&  value)
inline

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

LAUNCH

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

Specify the RoleArn property as follows:

{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}

Specify the LocalRoleName property as follows:

{"LocalRoleName": "SCBasicLaunchRole"}

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator can create fewer resources per shared account.

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one LAUNCH constraint on a product and portfolio.

NOTIFICATION

Specify the NotificationArns property as follows:

{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}

RESOURCE_UPDATE

Specify the TagUpdatesOnProvisionedProduct property as follows:

{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

STACKSET

Specify the Parameters property as follows:

{"Version": "String", "Properties": {"AccountList": [ "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole": "String"}}

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one STACKSET constraint on a product and portfolio.

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

TEMPLATE

Specify the Rules property. For more information, see Template Constraint Rules.

Definition at line 326 of file UpdateConstraintRequest.h.

◆ SetParameters() [2/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetParameters ( const Aws::String value)
inline

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

LAUNCH

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

Specify the RoleArn property as follows:

{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}

Specify the LocalRoleName property as follows:

{"LocalRoleName": "SCBasicLaunchRole"}

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator can create fewer resources per shared account.

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one LAUNCH constraint on a product and portfolio.

NOTIFICATION

Specify the NotificationArns property as follows:

{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}

RESOURCE_UPDATE

Specify the TagUpdatesOnProvisionedProduct property as follows:

{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

STACKSET

Specify the Parameters property as follows:

{"Version": "String", "Properties": {"AccountList": [ "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole": "String"}}

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one STACKSET constraint on a product and portfolio.

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

TEMPLATE

Specify the Rules property. For more information, see Template Constraint Rules.

Definition at line 288 of file UpdateConstraintRequest.h.

◆ SetParameters() [3/3]

void Aws::ServiceCatalog::Model::UpdateConstraintRequest::SetParameters ( const char *  value)
inline

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

LAUNCH

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

Specify the RoleArn property as follows:

{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}

Specify the LocalRoleName property as follows:

{"LocalRoleName": "SCBasicLaunchRole"}

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator can create fewer resources per shared account.

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one LAUNCH constraint on a product and portfolio.

NOTIFICATION

Specify the NotificationArns property as follows:

{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}

RESOURCE_UPDATE

Specify the TagUpdatesOnProvisionedProduct property as follows:

{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

STACKSET

Specify the Parameters property as follows:

{"Version": "String", "Properties": {"AccountList": [ "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole": "String"}}

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one STACKSET constraint on a product and portfolio.

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

TEMPLATE

Specify the Rules property. For more information, see Template Constraint Rules.

Definition at line 364 of file UpdateConstraintRequest.h.

◆ WithAcceptLanguage() [1/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithAcceptLanguage ( Aws::String &&  value)
inline

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Definition at line 84 of file UpdateConstraintRequest.h.

◆ WithAcceptLanguage() [2/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithAcceptLanguage ( const Aws::String value)
inline

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Definition at line 77 of file UpdateConstraintRequest.h.

◆ WithAcceptLanguage() [3/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithAcceptLanguage ( const char *  value)
inline

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Definition at line 91 of file UpdateConstraintRequest.h.

◆ WithDescription() [1/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithDescription ( Aws::String &&  value)
inline

The updated description of the constraint.

Definition at line 168 of file UpdateConstraintRequest.h.

◆ WithDescription() [2/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithDescription ( const Aws::String value)
inline

The updated description of the constraint.

Definition at line 163 of file UpdateConstraintRequest.h.

◆ WithDescription() [3/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithDescription ( const char *  value)
inline

The updated description of the constraint.

Definition at line 173 of file UpdateConstraintRequest.h.

◆ WithId() [1/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithId ( Aws::String &&  value)
inline

The identifier of the constraint.

Definition at line 127 of file UpdateConstraintRequest.h.

◆ WithId() [2/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithId ( const Aws::String value)
inline

The identifier of the constraint.

Definition at line 122 of file UpdateConstraintRequest.h.

◆ WithId() [3/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithId ( const char *  value)
inline

The identifier of the constraint.

Definition at line 132 of file UpdateConstraintRequest.h.

◆ WithParameters() [1/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithParameters ( Aws::String &&  value)
inline

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

LAUNCH

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

Specify the RoleArn property as follows:

{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}

Specify the LocalRoleName property as follows:

{"LocalRoleName": "SCBasicLaunchRole"}

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator can create fewer resources per shared account.

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one LAUNCH constraint on a product and portfolio.

NOTIFICATION

Specify the NotificationArns property as follows:

{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}

RESOURCE_UPDATE

Specify the TagUpdatesOnProvisionedProduct property as follows:

{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

STACKSET

Specify the Parameters property as follows:

{"Version": "String", "Properties": {"AccountList": [ "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole": "String"}}

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one STACKSET constraint on a product and portfolio.

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

TEMPLATE

Specify the Rules property. For more information, see Template Constraint Rules.

Definition at line 440 of file UpdateConstraintRequest.h.

◆ WithParameters() [2/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithParameters ( const Aws::String value)
inline

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

LAUNCH

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

Specify the RoleArn property as follows:

{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}

Specify the LocalRoleName property as follows:

{"LocalRoleName": "SCBasicLaunchRole"}

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator can create fewer resources per shared account.

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one LAUNCH constraint on a product and portfolio.

NOTIFICATION

Specify the NotificationArns property as follows:

{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}

RESOURCE_UPDATE

Specify the TagUpdatesOnProvisionedProduct property as follows:

{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

STACKSET

Specify the Parameters property as follows:

{"Version": "String", "Properties": {"AccountList": [ "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole": "String"}}

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one STACKSET constraint on a product and portfolio.

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

TEMPLATE

Specify the Rules property. For more information, see Template Constraint Rules.

Definition at line 402 of file UpdateConstraintRequest.h.

◆ WithParameters() [3/3]

UpdateConstraintRequest& Aws::ServiceCatalog::Model::UpdateConstraintRequest::WithParameters ( const char *  value)
inline

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

LAUNCH

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

Specify the RoleArn property as follows:

{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}

Specify the LocalRoleName property as follows:

{"LocalRoleName": "SCBasicLaunchRole"}

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator can create fewer resources per shared account.

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one LAUNCH constraint on a product and portfolio.

NOTIFICATION

Specify the NotificationArns property as follows:

{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}

RESOURCE_UPDATE

Specify the TagUpdatesOnProvisionedProduct property as follows:

{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

STACKSET

Specify the Parameters property as follows:

{"Version": "String", "Properties": {"AccountList": [ "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole": "String"}}

You cannot have both a LAUNCH and a STACKSET constraint.

You also cannot have more than one STACKSET constraint on a product and portfolio.

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

TEMPLATE

Specify the Rules property. For more information, see Template Constraint Rules.

Definition at line 478 of file UpdateConstraintRequest.h.


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