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.28.0 published on Monday, May 19, 2025 by Pulumi

aws-native.ssmcontacts.getContact

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.28.0 published on Monday, May 19, 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>
    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]
    func LookupContact(ctx *Context, args *LookupContactArgs, opts ...InvokeOption) (*LookupContactResult, error)
    func LookupContactOutput(ctx *Context, args *LookupContactOutputArgs, opts ...InvokeOption) LookupContactResultOutput

    > 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)
    }
    public static CompletableFuture<GetContactResult> getContact(GetContactArgs args, InvokeOptions options)
    public static Output<GetContactResult> getContact(GetContactArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:ssmcontacts:getContact
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the contact.
    Arn string
    The Amazon Resource Name (ARN) of the contact.
    arn String
    The Amazon Resource Name (ARN) of the contact.
    arn string
    The Amazon Resource Name (ARN) of the contact.
    arn str
    The Amazon Resource Name (ARN) of the contact.
    arn 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.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    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.
    Tags Tag
    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.
    tags List<Tag>
    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.
    tags Tag[]
    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.
    tags Sequence[root_Tag]
    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.
    tags List<Property Map>

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

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

    AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi