1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ssmcontacts
  5. getContact

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.ssmcontacts.getContact

Explore with Pulumi AI

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Resource Type definition for AWS::SSMContacts::Contact

Using getContact

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 getContact(args: GetContactArgs, opts?: InvokeOptions): Promise<GetContactResult>
function getContactOutput(args: GetContactOutputArgs, opts?: InvokeOptions): Output<GetContactResult>
Copy
def get_contact(arn: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetContactResult
def get_contact_output(arn: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetContactResult]
Copy
func LookupContact(ctx *Context, args *LookupContactArgs, opts ...InvokeOption) (*LookupContactResult, error)
func LookupContactOutput(ctx *Context, args *LookupContactOutputArgs, opts ...InvokeOption) LookupContactResultOutput
Copy

> Note: This function is named LookupContact in the Go SDK.

public static class GetContact 
{
    public static Task<GetContactResult> InvokeAsync(GetContactArgs args, InvokeOptions? opts = null)
    public static Output<GetContactResult> Invoke(GetContactInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetContactResult> getContact(GetContactArgs args, InvokeOptions options)
public static Output<GetContactResult> getContact(GetContactArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:ssmcontacts:getContact
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
The Amazon Resource Name (ARN) of the contact.
Arn This property is required. string
The Amazon Resource Name (ARN) of the contact.
arn This property is required. String
The Amazon Resource Name (ARN) of the contact.
arn This property is required. string
The Amazon Resource Name (ARN) of the contact.
arn This property is required. str
The Amazon Resource Name (ARN) of the contact.
arn This property is required. String
The Amazon Resource Name (ARN) of the contact.

getContact Result

The following output properties are available:

Arn string
The Amazon Resource Name (ARN) of the contact.
DisplayName string
Name of the contact. String value with 3 to 256 characters. Only alphabetical, space, numeric characters, dash, or underscore allowed.
Arn string
The Amazon Resource Name (ARN) of the contact.
DisplayName string
Name of the contact. String value with 3 to 256 characters. Only alphabetical, space, numeric characters, dash, or underscore allowed.
arn String
The Amazon Resource Name (ARN) of the contact.
displayName String
Name of the contact. String value with 3 to 256 characters. Only alphabetical, space, numeric characters, dash, or underscore allowed.
arn string
The Amazon Resource Name (ARN) of the contact.
displayName string
Name of the contact. String value with 3 to 256 characters. Only alphabetical, space, numeric characters, dash, or underscore allowed.
arn str
The Amazon Resource Name (ARN) of the contact.
display_name str
Name of the contact. String value with 3 to 256 characters. Only alphabetical, space, numeric characters, dash, or underscore allowed.
arn String
The Amazon Resource Name (ARN) of the contact.
displayName String
Name of the contact. String value with 3 to 256 characters. Only alphabetical, space, numeric characters, dash, or underscore allowed.

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 Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi