public static final class CfnDestination.Builder
extends java.lang.Object
CfnDestination
.Modifier and Type | Method and Description |
---|---|
CfnDestination |
build() |
static CfnDestination.Builder |
create(Construct scope,
java.lang.String id) |
CfnDestination.Builder |
description(java.lang.String description)
The description of the new resource.
|
CfnDestination.Builder |
expression(java.lang.String expression)
The rule name to send messages to.
|
CfnDestination.Builder |
expressionType(java.lang.String expressionType)
The type of value in `Expression` .
|
CfnDestination.Builder |
name(java.lang.String name)
The name of the new resource.
|
CfnDestination.Builder |
roleArn(java.lang.String roleArn)
The ARN of the IAM Role that authorizes the destination.
|
CfnDestination.Builder |
tags(java.util.List<? extends CfnTag> tags)
The tags are an array of key-value pairs to attach to the specified resource.
|
public static CfnDestination.Builder create(Construct scope, java.lang.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
.public CfnDestination.Builder expression(java.lang.String expression)
expression
- The rule name to send messages to. This parameter is required.this
public CfnDestination.Builder expressionType(java.lang.String expressionType)
expressionType
- The type of value in `Expression` . This parameter is required.this
public CfnDestination.Builder name(java.lang.String name)
name
- The name of the new resource. This parameter is required.this
public CfnDestination.Builder roleArn(java.lang.String roleArn)
roleArn
- The ARN of the IAM Role that authorizes the destination. This parameter is required.this
public CfnDestination.Builder description(java.lang.String description)
Maximum length is 2048 characters.
description
- The description of the new resource. This parameter is required.this
public CfnDestination.Builder tags(java.util.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
public CfnDestination build()