@Stability(value=Stable)
public static interface CfnBudgetsAction.IamActionDefinitionProperty
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.budgets.*;
IamActionDefinitionProperty iamActionDefinitionProperty = IamActionDefinitionProperty.builder()
.policyArn("policyArn")
// the properties below are optional
.groups(List.of("groups"))
.roles(List.of("roles"))
.users(List.of("users"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBudgetsAction.IamActionDefinitionProperty.Builder
A builder for
CfnBudgetsAction.IamActionDefinitionProperty |
static class |
CfnBudgetsAction.IamActionDefinitionProperty.Jsii$Proxy
An implementation for
CfnBudgetsAction.IamActionDefinitionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBudgetsAction.IamActionDefinitionProperty.Builder |
builder() |
default List<String> |
getGroups()
A list of groups to be attached.
|
String |
getPolicyArn()
The Amazon Resource Name (ARN) of the policy to be attached.
|
default List<String> |
getRoles()
A list of roles to be attached.
|
default List<String> |
getUsers()
A list of users to be attached.
|
@Stability(value=Stable) @NotNull String getPolicyArn()
@Stability(value=Stable) @Nullable default List<String> getGroups()
There must be at least one group.
@Stability(value=Stable) @Nullable default List<String> getRoles()
There must be at least one role.
@Stability(value=Stable) @Nullable default List<String> getUsers()
There must be at least one user.
@Stability(value=Stable) static CfnBudgetsAction.IamActionDefinitionProperty.Builder builder()
Copyright © 2022. All rights reserved.