Class CloudWatchLogsAction.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.CloudWatchLogsAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudWatchLogsAction>
- Enclosing class:
CloudWatchLogsAction
@Stability(Experimental)
public static final class CloudWatchLogsAction.Builder
extends Object
implements software.amazon.jsii.Builder<CloudWatchLogsAction>
(experimental) A fluent builder for
CloudWatchLogsAction
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CloudWatchLogsAction.Builder
(experimental) The IAM role that allows access to AWS service.
-
Method Details
-
create
- Parameters:
logGroup
- The CloudWatch log group to which the action sends data. This parameter is required.- Returns:
- a new instance of
CloudWatchLogsAction.Builder
.
-
role
(experimental) The IAM role that allows access to AWS service.Default: a new role will be created
- Parameters:
role
- The IAM role that allows access to AWS service. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CloudWatchLogsAction>
- Returns:
- a newly built instance of
CloudWatchLogsAction
.
-