AWS::Lightsail::ContactMethodResource Type definition for AWS::Lightsail::ContactMethod
2 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ContactEndpoint | string | RequiredCreate-only |
Protocol | string | RequiredCreate-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the contact method. |
CreatedAt | string | The timestamp when the contact method was created. |
Name | string | The name of the contact method. |
ResourceType | string | The Lightsail resource type of the contact method. |
Status | string | The current status of the contact method. |
SupportCode | string | The support code for the contact method. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lightsail::ContactMethod
Resources:
MyResource:
Type: AWS::Lightsail::ContactMethod
Properties:
Protocol: "Email"
ContactEndpoint: "value"Permissions CloudFormation needs in your IAM role to manage this resource.
lightsail:CreateContactMethodlightsail:GetContactMethodslightsail:GetContactMethodslightsail:DeleteContactMethodlightsail:GetContactMethodslightsail:GetContactMethodsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ProtocolContactEndpoint