AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.ssmcontacts.getContact
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 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)
// Output-based functions aren't available in Java yet
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.
- Display
Name 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.
- Display
Name 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.
- display
Name 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.
- display
Name 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.
- display
Name 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
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi