public static final class CfnTemplate.Builder
extends java.lang.Object
CfnTemplate
.Modifier and Type | Method and Description |
---|---|
CfnTemplate |
build() |
static CfnTemplate.Builder |
create(Construct scope,
java.lang.String id) |
CfnTemplate.Builder |
template(CfnTemplate.TemplateProperty template)
The content of the email, composed of a subject line and either an HTML part or a text-only part.
|
CfnTemplate.Builder |
template(IResolvable template)
The content of the email, composed of a subject line and either an HTML part or a text-only part.
|
public static CfnTemplate.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.CfnTemplate.TemplateProperty.Builder
.public CfnTemplate.Builder template(IResolvable template)
template
- The content of the email, composed of a subject line and either an HTML part or a text-only part. This parameter is required.this
public CfnTemplate.Builder template(CfnTemplate.TemplateProperty template)
template
- The content of the email, composed of a subject line and either an HTML part or a text-only part. This parameter is required.this
public CfnTemplate build()