@Stability(value=Stable) public static final class CfnLaunchRoleConstraintProps.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunchRoleConstraintProps>
CfnLaunchRoleConstraintProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLaunchRoleConstraintProps.Builder |
acceptLanguage(String acceptLanguage)
Sets the value of
CfnLaunchRoleConstraintProps.getAcceptLanguage() |
CfnLaunchRoleConstraintProps |
build()
Builds the configured instance.
|
CfnLaunchRoleConstraintProps.Builder |
description(String description)
Sets the value of
CfnLaunchRoleConstraintProps.getDescription() |
CfnLaunchRoleConstraintProps.Builder |
localRoleName(String localRoleName)
Sets the value of
CfnLaunchRoleConstraintProps.getLocalRoleName() |
CfnLaunchRoleConstraintProps.Builder |
portfolioId(String portfolioId)
Sets the value of
CfnLaunchRoleConstraintProps.getPortfolioId() |
CfnLaunchRoleConstraintProps.Builder |
productId(String productId)
Sets the value of
CfnLaunchRoleConstraintProps.getProductId() |
CfnLaunchRoleConstraintProps.Builder |
roleArn(String roleArn)
Sets the value of
CfnLaunchRoleConstraintProps.getRoleArn() |
@Stability(value=Stable) public CfnLaunchRoleConstraintProps.Builder portfolioId(String portfolioId)
CfnLaunchRoleConstraintProps.getPortfolioId()portfolioId - The portfolio identifier. This parameter is required.this@Stability(value=Stable) public CfnLaunchRoleConstraintProps.Builder productId(String productId)
CfnLaunchRoleConstraintProps.getProductId()productId - The product identifier. This parameter is required.this@Stability(value=Stable) public CfnLaunchRoleConstraintProps.Builder acceptLanguage(String acceptLanguage)
CfnLaunchRoleConstraintProps.getAcceptLanguage()acceptLanguage - The language code.
en - English (default)jp - Japanesezh - Chinesethis@Stability(value=Stable) public CfnLaunchRoleConstraintProps.Builder description(String description)
CfnLaunchRoleConstraintProps.getDescription()description - The description of the constraint.this@Stability(value=Stable) public CfnLaunchRoleConstraintProps.Builder localRoleName(String localRoleName)
CfnLaunchRoleConstraintProps.getLocalRoleName()localRoleName - You are required to specify either the `RoleArn` or the `LocalRoleName` but can't use both.
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.
this@Stability(value=Stable) public CfnLaunchRoleConstraintProps.Builder roleArn(String roleArn)
CfnLaunchRoleConstraintProps.getRoleArn()roleArn - The ARN of the launch role.
You are required to specify RoleArn or LocalRoleName but can't use both.this@Stability(value=Stable) public CfnLaunchRoleConstraintProps build()
build in interface software.amazon.jsii.Builder<CfnLaunchRoleConstraintProps>CfnLaunchRoleConstraintPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.