@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.075Z") @Stability(value=Stable) public interface CfnLaunchRoleConstraintProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.servicecatalog.*;
CfnLaunchRoleConstraintProps cfnLaunchRoleConstraintProps = CfnLaunchRoleConstraintProps.builder()
.portfolioId("portfolioId")
.productId("productId")
// the properties below are optional
.acceptLanguage("acceptLanguage")
.description("description")
.localRoleName("localRoleName")
.roleArn("roleArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLaunchRoleConstraintProps.Builder
A builder for
CfnLaunchRoleConstraintProps |
static class |
CfnLaunchRoleConstraintProps.Jsii$Proxy
An implementation for
CfnLaunchRoleConstraintProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnLaunchRoleConstraintProps.Builder |
builder() |
default String |
getAcceptLanguage()
The language code.
|
default String |
getDescription()
The description of the constraint.
|
default String |
getLocalRoleName()
You are required to specify either the `RoleArn` or the `LocalRoleName` but can't use both.
|
String |
getPortfolioId()
The portfolio identifier.
|
String |
getProductId()
The product identifier.
|
default String |
getRoleArn()
The ARN of the launch role.
|
@Stability(value=Stable) @NotNull String getPortfolioId()
@Stability(value=Stable) @NotNull String getProductId()
@Stability(value=Stable) @Nullable default String getAcceptLanguage()
en - English (default)jp - Japanesezh - Chinese@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getLocalRoleName()
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.
@Stability(value=Stable) @Nullable default String getRoleArn()
You are required to specify RoleArn or LocalRoleName but can't use both.
@Stability(value=Stable) static CfnLaunchRoleConstraintProps.Builder builder()
Copyright © 2022. All rights reserved.