@Stability(value=Stable) public static final class CfnInstanceProfileProps.Builder extends Object implements software.amazon.jsii.Builder<CfnInstanceProfileProps>
CfnInstanceProfileProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInstanceProfileProps |
build()
Builds the configured instance.
|
CfnInstanceProfileProps.Builder |
instanceProfileName(String instanceProfileName)
Sets the value of
CfnInstanceProfileProps.getInstanceProfileName() |
CfnInstanceProfileProps.Builder |
path(String path)
Sets the value of
CfnInstanceProfileProps.getPath() |
CfnInstanceProfileProps.Builder |
roles(List<String> roles)
Sets the value of
CfnInstanceProfileProps.getRoles() |
@Stability(value=Stable) public CfnInstanceProfileProps.Builder roles(List<String> roles)
CfnInstanceProfileProps.getRoles()roles - `AWS::IAM::InstanceProfile.Roles`. This parameter is required.this@Stability(value=Stable) public CfnInstanceProfileProps.Builder instanceProfileName(String instanceProfileName)
CfnInstanceProfileProps.getInstanceProfileName()instanceProfileName - `AWS::IAM::InstanceProfile.InstanceProfileName`.this@Stability(value=Stable) public CfnInstanceProfileProps.Builder path(String path)
CfnInstanceProfileProps.getPath()path - `AWS::IAM::InstanceProfile.Path`.this@Stability(value=Stable) public CfnInstanceProfileProps build()
build in interface software.amazon.jsii.Builder<CfnInstanceProfileProps>CfnInstanceProfilePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.