We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.ses.getTemplate
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 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
- Template
Value Pulumi.Aws Native. 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
Template
Type - 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
- Subject
Part string - The subject line of the email.
- Html
Part string - The HTML body of the email.
- Template
Name string - The name of the template.
- Text
Part string - The email body that is visible to recipients whose email clients do not display HTML content.
- Subject
Part string - The subject line of the email.
- Html
Part string - The HTML body of the email.
- Template
Name string - The name of the template.
- Text
Part string - The email body that is visible to recipients whose email clients do not display HTML content.
- subject
Part String - The subject line of the email.
- html
Part String - The HTML body of the email.
- template
Name String - The name of the template.
- text
Part String - The email body that is visible to recipients whose email clients do not display HTML content.
- subject
Part string - The subject line of the email.
- html
Part string - The HTML body of the email.
- template
Name string - The name of the template.
- text
Part 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.
- subject
Part String - The subject line of the email.
- html
Part String - The HTML body of the email.
- template
Name String - The name of the template.
- text
Part 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 Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi