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.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.ses.getTemplate

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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>
    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]
    func LookupTemplate(ctx *Context, args *LookupTemplateArgs, opts ...InvokeOption) (*LookupTemplateResult, error)
    func LookupTemplateOutput(ctx *Context, args *LookupTemplateOutputArgs, opts ...InvokeOption) LookupTemplateResultOutput

    > 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)
    }
    public static CompletableFuture<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ses:getTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Id string
    id String
    id string
    id str
    id 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 string
    The subject line of the email.
    HtmlPart string
    The HTML body of the email.
    TemplateName 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 string
    The subject line of the email.
    HtmlPart string
    The HTML body of the email.
    TemplateName 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 String
    The subject line of the email.
    htmlPart String
    The HTML body of the email.
    templateName 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 string
    The subject line of the email.
    htmlPart string
    The HTML body of the email.
    templateName 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 str
    The subject line of the email.
    html_part str
    The HTML body of the email.
    template_name 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 String
    The subject line of the email.
    htmlPart String
    The HTML body of the email.
    templateName 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
    aws-native logo

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi