Class CfnRulePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnRulePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRulePropsMixin>
- Enclosing class:
CfnRulePropsMixin
@Stability(Stable)
public static final class CfnRulePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRulePropsMixin>
A fluent builder for
CfnRulePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionactions(CfnRulePropsMixin.ActionsProperty actions) A list of actions to be run when the rule is triggered.actions(IResolvable actions) A list of actions to be run when the rule is triggered.build()static CfnRulePropsMixin.Buildercreate()static CfnRulePropsMixin.Buildercreate(CfnPropertyMixinOptions options) The conditions of the rule.instanceArn(String instanceArn) The Amazon Resource Name (ARN) of the instance.The name of the rule.publishStatus(String publishStatus) The publish status of the rule.The tags used to organize, track, or control access for this resource.triggerEventSource(CfnRulePropsMixin.RuleTriggerEventSourceProperty triggerEventSource) The event source to trigger the rule.triggerEventSource(IResolvable triggerEventSource) The event source to trigger the rule.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnRulePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnRulePropsMixin.Builder.
-
actions
A list of actions to be run when the rule is triggered.- Parameters:
actions- A list of actions to be run when the rule is triggered. This parameter is required.- Returns:
this- See Also:
-
actions
@Stability(Stable) public CfnRulePropsMixin.Builder actions(CfnRulePropsMixin.ActionsProperty actions) A list of actions to be run when the rule is triggered.- Parameters:
actions- A list of actions to be run when the rule is triggered. This parameter is required.- Returns:
this- See Also:
-
function
The conditions of the rule.- Parameters:
function- The conditions of the rule. This parameter is required.- Returns:
this- See Also:
-
instanceArn
The Amazon Resource Name (ARN) of the instance.- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this- See Also:
-
name
The name of the rule.- Parameters:
name- The name of the rule. This parameter is required.- Returns:
this- See Also:
-
publishStatus
The publish status of the rule.Allowed values :
DRAFT|PUBLISHED- Parameters:
publishStatus- The publish status of the rule. This parameter is required.- Returns:
this- See Also:
-
tags
The tags used to organize, track, or control access for this resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags- The tags used to organize, track, or control access for this resource. This parameter is required.- Returns:
this- See Also:
-
triggerEventSource
@Stability(Stable) public CfnRulePropsMixin.Builder triggerEventSource(IResolvable triggerEventSource) The event source to trigger the rule.- Parameters:
triggerEventSource- The event source to trigger the rule. This parameter is required.- Returns:
this- See Also:
-
triggerEventSource
@Stability(Stable) public CfnRulePropsMixin.Builder triggerEventSource(CfnRulePropsMixin.RuleTriggerEventSourceProperty triggerEventSource) The event source to trigger the rule.- Parameters:
triggerEventSource- The event source to trigger the rule. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRulePropsMixin>- Returns:
- a newly built instance of
CfnRulePropsMixin.
-