AWS::Lightsail::ContactMethod

Lightsail ContactMethod

Resource Type definition for AWS::Lightsail::ContactMethod

Properties

2 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
ContactEndpoint
string
RequiredCreate-only
Protocol
string
RequiredCreate-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the contact method.
CreatedAtstringThe timestamp when the contact method was created.
NamestringThe name of the contact method.
ResourceTypestringThe Lightsail resource type of the contact method.
StatusstringThe current status of the contact method.
SupportCodestringThe support code for the contact method.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lightsail::ContactMethod

Resources:
  MyResource:
    Type: AWS::Lightsail::ContactMethod
    Properties:
      Protocol: "Email"
      ContactEndpoint: "value"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

lightsail:CreateContactMethodlightsail:GetContactMethods

read

lightsail:GetContactMethods

delete

lightsail:DeleteContactMethodlightsail:GetContactMethods

list

lightsail:GetContactMethods

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceLightsail
Properties8
Required2
TaggingNot supported
Primary IDArn

Supported Operations

CreateReadDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ProtocolContactEndpoint

External Links