1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ses
  5. getTemplate

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.ses.getTemplate

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Resource Type definition for AWS::SES::Template

Using getTemplate

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getTemplate(args: GetTemplateArgs, opts?: InvokeOptions): Promise<GetTemplateResult>
function getTemplateOutput(args: GetTemplateOutputArgs, opts?: InvokeOptions): Output<GetTemplateResult>
Copy
def get_template(id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetTemplateResult
def get_template_output(id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetTemplateResult]
Copy
func LookupTemplate(ctx *Context, args *LookupTemplateArgs, opts ...InvokeOption) (*LookupTemplateResult, error)
func LookupTemplateOutput(ctx *Context, args *LookupTemplateOutputArgs, opts ...InvokeOption) LookupTemplateResultOutput
Copy

> Note: This function is named LookupTemplate in the Go SDK.

public static class GetTemplate 
{
    public static Task<GetTemplateResult> InvokeAsync(GetTemplateArgs args, InvokeOptions? opts = null)
    public static Output<GetTemplateResult> Invoke(GetTemplateInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
public static Output<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:ses:getTemplate
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

getTemplate Result

The following output properties are available:

Id string
TemplateValue Pulumi.AwsNative.Ses.Outputs.Template
The content of the email, composed of a subject line and either an HTML part or a text-only part.
Id string
Template TemplateType
The content of the email, composed of a subject line and either an HTML part or a text-only part.
id String
template Template
The content of the email, composed of a subject line and either an HTML part or a text-only part.
id string
template Template
The content of the email, composed of a subject line and either an HTML part or a text-only part.
id str
template Template
The content of the email, composed of a subject line and either an HTML part or a text-only part.
id String
template Property Map
The content of the email, composed of a subject line and either an HTML part or a text-only part.

Supporting Types

Template

SubjectPart This property is required. string
The subject line of the email.
HtmlPart string
The HTML body of the email.
TemplateName Changes to this property will trigger replacement. string
The name of the template.
TextPart string
The email body that is visible to recipients whose email clients do not display HTML content.
SubjectPart This property is required. string
The subject line of the email.
HtmlPart string
The HTML body of the email.
TemplateName Changes to this property will trigger replacement. string
The name of the template.
TextPart string
The email body that is visible to recipients whose email clients do not display HTML content.
subjectPart This property is required. String
The subject line of the email.
htmlPart String
The HTML body of the email.
templateName Changes to this property will trigger replacement. String
The name of the template.
textPart String
The email body that is visible to recipients whose email clients do not display HTML content.
subjectPart This property is required. string
The subject line of the email.
htmlPart string
The HTML body of the email.
templateName Changes to this property will trigger replacement. string
The name of the template.
textPart string
The email body that is visible to recipients whose email clients do not display HTML content.
subject_part This property is required. str
The subject line of the email.
html_part str
The HTML body of the email.
template_name Changes to this property will trigger replacement. str
The name of the template.
text_part str
The email body that is visible to recipients whose email clients do not display HTML content.
subjectPart This property is required. String
The subject line of the email.
htmlPart String
The HTML body of the email.
templateName Changes to this property will trigger replacement. String
The name of the template.
textPart String
The email body that is visible to recipients whose email clients do not display HTML content.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi