Class CfnTemplate
Specifies an email template.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTemplate : CfnResource, IInspectable
Syntax (vb)
Public Class CfnTemplate Inherits CfnResource Implements IInspectable
Remarks
Email templates enable you to send personalized email to one or more destinations in a single API operation.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
CloudformationResource: AWS::SES::Template
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?) | Specifies an email template. |
Properties
AttrId | Specifies an email template. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | Specifies an email template. |
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>) | Specifies an email template. |
Constructors
CfnTemplate(Construct, string, ICfnTemplateProps?)
Specifies an email template.
public CfnTemplate(Construct scope, string id, ICfnTemplateProps? props = null)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnTemplateProps
Resource properties.
Remarks
Email templates enable you to send personalized email to one or more destinations in a single API operation.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
CloudformationResource: AWS::SES::Template
ExampleMetadata: fixture=_generated
Properties
AttrId
Specifies an email template.
public virtual string AttrId { get; }
Property Value
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
Remarks
Email templates enable you to send personalized email to one or more destinations in a single API operation.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
CloudformationResource: AWS::SES::Template
ExampleMetadata: fixture=_generated
CfnProperties
Specifies an email template.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Email templates enable you to send personalized email to one or more destinations in a single API operation.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
CloudformationResource: AWS::SES::Template
ExampleMetadata: fixture=_generated
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
Remarks
Email templates enable you to send personalized email to one or more destinations in a single API operation.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
CloudformationResource: AWS::SES::Template
ExampleMetadata: fixture=_generated
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.
Remarks
Email templates enable you to send personalized email to one or more destinations in a single API operation.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
CloudformationResource: AWS::SES::Template
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Specifies an email template.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Email templates enable you to send personalized email to one or more destinations in a single API operation.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
CloudformationResource: AWS::SES::Template
ExampleMetadata: fixture=_generated