@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.754Z") @Stability(value=Stable) public interface CfnInstanceProfileProps 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.iam.*;
CfnInstanceProfileProps cfnInstanceProfileProps = CfnInstanceProfileProps.builder()
.roles(List.of("roles"))
// the properties below are optional
.instanceProfileName("instanceProfileName")
.path("path")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstanceProfileProps.Builder
A builder for
CfnInstanceProfileProps |
static class |
CfnInstanceProfileProps.Jsii$Proxy
An implementation for
CfnInstanceProfileProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstanceProfileProps.Builder |
builder() |
default String |
getInstanceProfileName()
`AWS::IAM::InstanceProfile.InstanceProfileName`.
|
default String |
getPath()
`AWS::IAM::InstanceProfile.Path`.
|
List<String> |
getRoles()
`AWS::IAM::InstanceProfile.Roles`.
|
@Stability(value=Stable) @Nullable default String getInstanceProfileName()
@Stability(value=Stable) @Nullable default String getPath()
@Stability(value=Stable) @NotNull List<String> getRoles()
@Stability(value=Stable) static CfnInstanceProfileProps.Builder builder()
CfnInstanceProfileProps.Builder of CfnInstanceProfilePropsCopyright © 2021. All rights reserved.