Class CfnTemplate
A CloudFormation AWS::SES::Template
.
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.AWS.SES.dll
Syntax (csharp)
public class CfnTemplate : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnTemplate
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation.
CloudformationResource: AWS::SES::Template
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var cfnTemplate = new CfnTemplate(this, "MyCfnTemplate", new CfnTemplateProps {
Template = new TemplateProperty {
SubjectPart = "subjectPart",
// the properties below are optional
HtmlPart = "htmlPart",
TemplateName = "templateName",
TextPart = "textPart"
}
});
Synopsis
Constructors
CfnTemplate(Construct, String, ICfnTemplateProps) | Create a new |
CfnTemplate(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnTemplate(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrId | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Template | The content of the email, composed of a subject line and either an HTML part or a text-only part. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnTemplate(Construct, String, ICfnTemplateProps)
Create a new AWS::SES::Template
.
public CfnTemplate(Construct scope, string id, ICfnTemplateProps props = null)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnTemplateProps
- resource properties.
CfnTemplate(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnTemplate(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnTemplate(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnTemplate(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Template
The content of the email, composed of a subject line and either an HTML part or a text-only part.
public virtual object Template { get; set; }
Property Value
System.Object
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>