Class CfnTemplate
Specifies an email template.
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTemplate : CfnResource, IInspectable, ITemplateRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnTemplate Inherits CfnResource Implements IInspectable, ITemplateRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
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 {
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
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 |
Properties
| AttrId | Specifies an email template. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CdkTagManager | Tag Manager which manages the tags for this resource. |
| CfnProperties | Specifies an email template. |
| Tags | The tags (keys and values) associated with the email template. |
| Template | The content of the email, composed of a subject line and either an HTML part or a text-only part. |
| TemplateRef | A reference to a Template resource. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnTemplate(object) | Checks whether the given object is a CfnTemplate. |
| RenderProperties(IDictionary<string, object>) | Specifies an email template. |
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 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
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { 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
Tags
The tags (keys and values) associated with the email template.
public virtual ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
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
Type union: either IResolvable or CfnTemplate.ITemplateProperty
TemplateRef
A reference to a Template resource.
public virtual ITemplateReference TemplateRef { 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
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
IsCfnTemplate(object)
Checks whether the given object is a CfnTemplate.
public static bool IsCfnTemplate(object x)
Parameters
- x object
Returns
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