1. Packages
  2. Dynatrace
  3. API Docs
  4. getAwsCredentials
Dynatrace v0.34.0 published on Thursday, Oct 30, 2025 by Pulumiverse

dynatrace.getAwsCredentials

Start a Neo task
Explain and create a dynatrace.getAwsCredentials resource
dynatrace logo
Dynatrace v0.34.0 published on Thursday, Oct 30, 2025 by Pulumiverse

    The dynatrace.AwsCredentials data source allows the AWS credential ID to be retrieved by its label.

    • label (String) - The label/name of the AWS credential

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    variables:
      example:
        fn::invoke:
          function: dynatrace:getAwsCredentials
          arguments:
            name: Terraform Example
    outputs:
      id: ${example.id}
    

    Using getAwsCredentials

    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 getAwsCredentials(args: GetAwsCredentialsArgs, opts?: InvokeOptions): Promise<GetAwsCredentialsResult>
    function getAwsCredentialsOutput(args: GetAwsCredentialsOutputArgs, opts?: InvokeOptions): Output<GetAwsCredentialsResult>
    def get_aws_credentials(label: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetAwsCredentialsResult
    def get_aws_credentials_output(label: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetAwsCredentialsResult]
    func LookupAwsCredentials(ctx *Context, args *LookupAwsCredentialsArgs, opts ...InvokeOption) (*LookupAwsCredentialsResult, error)
    func LookupAwsCredentialsOutput(ctx *Context, args *LookupAwsCredentialsOutputArgs, opts ...InvokeOption) LookupAwsCredentialsResultOutput

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

    public static class GetAwsCredentials 
    {
        public static Task<GetAwsCredentialsResult> InvokeAsync(GetAwsCredentialsArgs args, InvokeOptions? opts = null)
        public static Output<GetAwsCredentialsResult> Invoke(GetAwsCredentialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAwsCredentialsResult> getAwsCredentials(GetAwsCredentialsArgs args, InvokeOptions options)
    public static Output<GetAwsCredentialsResult> getAwsCredentials(GetAwsCredentialsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: dynatrace:index/getAwsCredentials:getAwsCredentials
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Label string
    Label string
    label String
    label string
    label str
    label String

    getAwsCredentials Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Label string
    Id string
    The provider-assigned unique ID for this managed resource.
    Label string
    id String
    The provider-assigned unique ID for this managed resource.
    label String
    id string
    The provider-assigned unique ID for this managed resource.
    label string
    id str
    The provider-assigned unique ID for this managed resource.
    label str
    id String
    The provider-assigned unique ID for this managed resource.
    label String

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.34.0 published on Thursday, Oct 30, 2025 by Pulumiverse
      Meet Neo: Your AI Platform Teammate