AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi
aws.amp.getDefaultScraperConfiguration
Explore with Pulumi AI
Returns the default scraper configuration used when Amazon EKS creates a scraper for you.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.amp.getDefaultScraperConfiguration({});
import pulumi
import pulumi_aws as aws
example = aws.amp.get_default_scraper_configuration()
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/amp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := amp.GetDefaultScraperConfiguration(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Amp.GetDefaultScraperConfiguration.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.amp.AmpFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AmpFunctions.getDefaultScraperConfiguration();
}
}
variables:
example:
fn::invoke:
Function: aws:amp:getDefaultScraperConfiguration
Arguments: {}
Using getDefaultScraperConfiguration
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 getDefaultScraperConfiguration(opts?: InvokeOptions): Promise<GetDefaultScraperConfigurationResult>
function getDefaultScraperConfigurationOutput(opts?: InvokeOptions): Output<GetDefaultScraperConfigurationResult>
def get_default_scraper_configuration(opts: Optional[InvokeOptions] = None) -> GetDefaultScraperConfigurationResult
def get_default_scraper_configuration_output(opts: Optional[InvokeOptions] = None) -> Output[GetDefaultScraperConfigurationResult]
func GetDefaultScraperConfiguration(ctx *Context, opts ...InvokeOption) (*GetDefaultScraperConfigurationResult, error)
func GetDefaultScraperConfigurationOutput(ctx *Context, opts ...InvokeOption) GetDefaultScraperConfigurationResultOutput
> Note: This function is named GetDefaultScraperConfiguration
in the Go SDK.
public static class GetDefaultScraperConfiguration
{
public static Task<GetDefaultScraperConfigurationResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetDefaultScraperConfigurationResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetDefaultScraperConfigurationResult> getDefaultScraperConfiguration(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:amp/getDefaultScraperConfiguration:getDefaultScraperConfiguration
arguments:
# arguments dictionary
getDefaultScraperConfiguration Result
The following output properties are available:
- Configuration string
- The configuration file.
- Id string
- The provider-assigned unique ID for this managed resource.
- Configuration string
- The configuration file.
- Id string
- The provider-assigned unique ID for this managed resource.
- configuration String
- The configuration file.
- id String
- The provider-assigned unique ID for this managed resource.
- configuration string
- The configuration file.
- id string
- The provider-assigned unique ID for this managed resource.
- configuration str
- The configuration file.
- id str
- The provider-assigned unique ID for this managed resource.
- configuration String
- The configuration file.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.