public static interface CreateConstraintRequest.Builder extends ServiceCatalogRequest.Builder, SdkPojo, CopyableBuilder<CreateConstraintRequest.Builder,CreateConstraintRequest>
buildoverrideConfigurationcopyapplyMutation, buildCreateConstraintRequest.Builder acceptLanguage(String acceptLanguage)
The language code.
en - English (default)
jp - Japanese
zh - Chinese
acceptLanguage - The language code.
en - English (default)
jp - Japanese
zh - Chinese
CreateConstraintRequest.Builder portfolioId(String portfolioId)
The portfolio identifier.
portfolioId - The portfolio identifier.CreateConstraintRequest.Builder productId(String productId)
The product identifier.
productId - The product identifier.CreateConstraintRequest.Builder parameters(String parameters)
The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:
Specify the RoleArn property as follows:
{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}
You cannot have both a LAUNCH and a STACKSET constraint.
You also cannot have more than one LAUNCH constraint on a product and portfolio.
Specify the NotificationArns property as follows:
{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}
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.
Specify the Rules property. For more information, see Template Constraint Rules.
parameters - The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:
Specify the RoleArn property as follows:
{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}
You cannot have both a LAUNCH and a STACKSET constraint.
You also cannot have more than one LAUNCH constraint on a product and portfolio.
Specify the NotificationArns property as follows:
{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}
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.
Specify the Rules property. For more information, see Template Constraint Rules.
CreateConstraintRequest.Builder type(String type)
The type of constraint.
LAUNCH
NOTIFICATION
STACKSET
TEMPLATE
type - The type of constraint.
LAUNCH
NOTIFICATION
STACKSET
TEMPLATE
CreateConstraintRequest.Builder description(String description)
The description of the constraint.
description - The description of the constraint.CreateConstraintRequest.Builder idempotencyToken(String idempotencyToken)
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
idempotencyToken - A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the
idempotency token, the same response is returned for each repeated request.CreateConstraintRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CreateConstraintRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.