We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.78.0
published on Monday, Sep 7, 2026 by Pulumi
published on Monday, Sep 7, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.78.0
published on Monday, Sep 7, 2026 by Pulumi
published on Monday, Sep 7, 2026 by Pulumi
Resource Type definition for AWS::Lightsail::ContactMethod
Using getContactMethod
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 getContactMethod(args: GetContactMethodArgs, opts?: InvokeOptions): Promise<GetContactMethodResult>
function getContactMethodOutput(args: GetContactMethodOutputArgs, opts?: InvokeOutputOptions): Output<GetContactMethodResult>def get_contact_method(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContactMethodResult
def get_contact_method_output(arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetContactMethodResult]func LookupContactMethod(ctx *Context, args *LookupContactMethodArgs, opts ...InvokeOption) (*LookupContactMethodResult, error)
func LookupContactMethodOutput(ctx *Context, args *LookupContactMethodOutputArgs, opts ...InvokeOption) LookupContactMethodResultOutput> Note: This function is named LookupContactMethod in the Go SDK.
public static class GetContactMethod
{
public static Task<GetContactMethodResult> InvokeAsync(GetContactMethodArgs args, InvokeOptions? opts = null)
public static Output<GetContactMethodResult> Invoke(GetContactMethodInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetContactMethodResult> Invoke(GetContactMethodInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetContactMethodResult> getContactMethod(GetContactMethodArgs args, InvokeOptions options)
public static Output<GetContactMethodResult> getContactMethod(GetContactMethodArgs args, InvokeOptions options)
public static Output<GetContactMethodResult> getContactMethod(GetContactMethodArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:lightsail:getContactMethod
arguments:
# arguments dictionarydata "aws-native_lightsail_get_contact_method" "name" {
# arguments
}The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the contact method.
- Arn string
- The Amazon Resource Name (ARN) of the contact method.
- arn string
- The Amazon Resource Name (ARN) of the contact method.
- arn String
- The Amazon Resource Name (ARN) of the contact method.
- arn string
- The Amazon Resource Name (ARN) of the contact method.
- arn str
- The Amazon Resource Name (ARN) of the contact method.
- arn String
- The Amazon Resource Name (ARN) of the contact method.
getContactMethod Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the contact method.
- Created
At string - The timestamp when the contact method was created.
- Name string
- The name of the contact method.
- Resource
Type string - The Lightsail resource type of the contact method.
- Status
Pulumi.
Aws Native. Lightsail. Contact Method Status - The current status of the contact method.
- Support
Code string - The support code for the contact method.
- Arn string
- The Amazon Resource Name (ARN) of the contact method.
- Created
At string - The timestamp when the contact method was created.
- Name string
- The name of the contact method.
- Resource
Type string - The Lightsail resource type of the contact method.
- Status
Contact
Method Status - The current status of the contact method.
- Support
Code string - The support code for the contact method.
- arn string
- The Amazon Resource Name (ARN) of the contact method.
- created_
at string - The timestamp when the contact method was created.
- name string
- The name of the contact method.
- resource_
type string - The Lightsail resource type of the contact method.
- status
"Pending
Verification" | "Valid" | "Invalid" - The current status of the contact method.
- support_
code string - The support code for the contact method.
- arn String
- The Amazon Resource Name (ARN) of the contact method.
- created
At String - The timestamp when the contact method was created.
- name String
- The name of the contact method.
- resource
Type String - The Lightsail resource type of the contact method.
- status
Contact
Method Status - The current status of the contact method.
- support
Code String - The support code for the contact method.
- arn string
- The Amazon Resource Name (ARN) of the contact method.
- created
At string - The timestamp when the contact method was created.
- name string
- The name of the contact method.
- resource
Type string - The Lightsail resource type of the contact method.
- status
Contact
Method Status - The current status of the contact method.
- support
Code string - The support code for the contact method.
- arn str
- The Amazon Resource Name (ARN) of the contact method.
- created_
at str - The timestamp when the contact method was created.
- name str
- The name of the contact method.
- resource_
type str - The Lightsail resource type of the contact method.
- status
Contact
Method Status - The current status of the contact method.
- support_
code str - The support code for the contact method.
- arn String
- The Amazon Resource Name (ARN) of the contact method.
- created
At String - The timestamp when the contact method was created.
- name String
- The name of the contact method.
- resource
Type String - The Lightsail resource type of the contact method.
- status
"Pending
Verification" | "Valid" | "Invalid" - The current status of the contact method.
- support
Code String - The support code for the contact method.
Supporting Types
ContactMethodStatus
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.78.0
published on Monday, Sep 7, 2026 by Pulumi
published on Monday, Sep 7, 2026 by Pulumi