Class CfnLaunchRoleConstraintPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.servicecatalog.CfnLaunchRoleConstraintPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchRoleConstraintPropsMixin>
- Enclosing class:
CfnLaunchRoleConstraintPropsMixin
@Stability(Stable)
public static final class CfnLaunchRoleConstraintPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchRoleConstraintPropsMixin>
A fluent builder for
CfnLaunchRoleConstraintPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage(String acceptLanguage) The language code.build()create()create(CfnPropertyMixinOptions options) description(String description) The description of the constraint.localRoleName(String localRoleName) You are required to specify either theRoleArnor theLocalRoleNamebut can't use both.portfolioId(String portfolioId) The portfolio identifier.The product identifier.The ARN of the launch role.
-
Method Details
-
create
@Stability(Stable) public static CfnLaunchRoleConstraintPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLaunchRoleConstraintPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLaunchRoleConstraintPropsMixin.Builder.
-
acceptLanguage
@Stability(Stable) public CfnLaunchRoleConstraintPropsMixin.Builder acceptLanguage(String acceptLanguage) The language code.jp- Japanesezh- Chinese
- Parameters:
acceptLanguage- The language code. This parameter is required.- Returns:
this- See Also:
-
description
The description of the constraint.- Parameters:
description- The description of the constraint. This parameter is required.- Returns:
this- See Also:
-
localRoleName
@Stability(Stable) public CfnLaunchRoleConstraintPropsMixin.Builder localRoleName(String localRoleName) You are required to specify either theRoleArnor theLocalRoleNamebut can't use both.If you specify the
LocalRoleNameproperty, 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.
- Parameters:
localRoleName- You are required to specify either theRoleArnor theLocalRoleNamebut can't use both. This parameter is required.- Returns:
this- See Also:
-
portfolioId
The portfolio identifier.- Parameters:
portfolioId- The portfolio identifier. This parameter is required.- Returns:
this- See Also:
-
productId
The product identifier.- Parameters:
productId- The product identifier. This parameter is required.- Returns:
this- See Also:
-
roleArn
The ARN of the launch role.You are required to specify
RoleArnorLocalRoleNamebut can't use both.- Parameters:
roleArn- The ARN of the launch role. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchRoleConstraintPropsMixin>- Returns:
- a newly built instance of
CfnLaunchRoleConstraintPropsMixin.
-