@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.755Z") @Stability(value=Stable) public interface CfnManagedPolicyProps 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.*;
Object policyDocument;
CfnManagedPolicyProps cfnManagedPolicyProps = CfnManagedPolicyProps.builder()
.policyDocument(policyDocument)
// the properties below are optional
.description("description")
.groups(List.of("groups"))
.managedPolicyName("managedPolicyName")
.path("path")
.roles(List.of("roles"))
.users(List.of("users"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnManagedPolicyProps.Builder
A builder for
CfnManagedPolicyProps |
static class |
CfnManagedPolicyProps.Jsii$Proxy
An implementation for
CfnManagedPolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnManagedPolicyProps.Builder |
builder() |
default String |
getDescription()
`AWS::IAM::ManagedPolicy.Description`.
|
default List<String> |
getGroups()
`AWS::IAM::ManagedPolicy.Groups`.
|
default String |
getManagedPolicyName()
`AWS::IAM::ManagedPolicy.ManagedPolicyName`.
|
default String |
getPath()
`AWS::IAM::ManagedPolicy.Path`.
|
Object |
getPolicyDocument()
`AWS::IAM::ManagedPolicy.PolicyDocument`.
|
default List<String> |
getRoles()
`AWS::IAM::ManagedPolicy.Roles`.
|
default List<String> |
getUsers()
`AWS::IAM::ManagedPolicy.Users`.
|
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default List<String> getGroups()
@Stability(value=Stable) @Nullable default String getManagedPolicyName()
@Stability(value=Stable) @Nullable default String getPath()
@Stability(value=Stable) @NotNull Object getPolicyDocument()
@Stability(value=Stable) @Nullable default List<String> getRoles()
@Stability(value=Stable) @Nullable default List<String> getUsers()
@Stability(value=Stable) static CfnManagedPolicyProps.Builder builder()
CfnManagedPolicyProps.Builder of CfnManagedPolicyPropsCopyright © 2021. All rights reserved.