Interface CfnBudgetsAction.DefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBudgetsAction.DefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnBudgetsAction
@Stability(Stable)
public static interface CfnBudgetsAction.DefinitionProperty
extends software.amazon.jsii.JsiiSerializable
The definition is where you specify all of the type-specific parameters.
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.*;
DefinitionProperty definitionProperty = DefinitionProperty.builder()
.iamActionDefinition(IamActionDefinitionProperty.builder()
.policyArn("policyArn")
// the properties below are optional
.groups(List.of("groups"))
.roles(List.of("roles"))
.users(List.of("users"))
.build())
.scpActionDefinition(ScpActionDefinitionProperty.builder()
.policyId("policyId")
.targetIds(List.of("targetIds"))
.build())
.ssmActionDefinition(SsmActionDefinitionProperty.builder()
.instanceIds(List.of("instanceIds"))
.region("region")
.subtype("subtype")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBudgetsAction.DefinitionPropertystatic final classAn implementation forCfnBudgetsAction.DefinitionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIamActionDefinition
The AWS Identity and Access Management ( IAM ) action definition details.Returns union: either
IResolvableorCfnBudgetsAction.IamActionDefinitionProperty- See Also:
-
getScpActionDefinition
The service control policies (SCP) action definition details.Returns union: either
IResolvableorCfnBudgetsAction.ScpActionDefinitionProperty- See Also:
-
getSsmActionDefinition
The Amazon EC2 Systems Manager ( SSM ) action definition details.Returns union: either
IResolvableorCfnBudgetsAction.SsmActionDefinitionProperty- See Also:
-
builder
-