@Stability(value=Stable) public static final class CfnDestination.Builder extends Object implements software.amazon.jsii.Builder<CfnDestination>
CfnDestination.| Modifier and Type | Method and Description |
|---|---|
CfnDestination |
build() |
static CfnDestination.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDestination.Builder |
description(String description)
The description of the new resource.
|
CfnDestination.Builder |
expression(String expression)
The rule name to send messages to.
|
CfnDestination.Builder |
expressionType(String expressionType)
The type of value in `Expression` .
|
CfnDestination.Builder |
name(String name)
The name of the new resource.
|
CfnDestination.Builder |
roleArn(String roleArn)
The ARN of the IAM Role that authorizes the destination.
|
CfnDestination.Builder |
tags(List<? extends CfnTag> tags)
The tags are an array of key-value pairs to attach to the specified resource.
|
@Stability(value=Stable) public static CfnDestination.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDestination.Builder.@Stability(value=Stable) public CfnDestination.Builder expression(String expression)
expression - The rule name to send messages to. This parameter is required.this@Stability(value=Stable) public CfnDestination.Builder expressionType(String expressionType)
expressionType - The type of value in `Expression` . This parameter is required.this@Stability(value=Stable) public CfnDestination.Builder name(String name)
name - The name of the new resource. This parameter is required.this@Stability(value=Stable) public CfnDestination.Builder roleArn(String roleArn)
roleArn - The ARN of the IAM Role that authorizes the destination. This parameter is required.this@Stability(value=Stable) public CfnDestination.Builder description(String description)
Maximum length is 2048 characters.
description - The description of the new resource. This parameter is required.this@Stability(value=Stable) public CfnDestination.Builder tags(List<? extends CfnTag> tags)
Tags can have a minimum of 0 and a maximum of 50 items.
tags - The tags are an array of key-value pairs to attach to the specified resource. This parameter is required.this@Stability(value=Stable) public CfnDestination build()
build in interface software.amazon.jsii.Builder<CfnDestination>Copyright © 2022. All rights reserved.