1. Packages
  2. AWS Native
  3. API Docs
  4. configuration
  5. getStoredQuery

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.configuration.getStoredQuery

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    Resource Type definition for AWS::Config::StoredQuery

    Using getStoredQuery

    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 getStoredQuery(args: GetStoredQueryArgs, opts?: InvokeOptions): Promise<GetStoredQueryResult>
    function getStoredQueryOutput(args: GetStoredQueryOutputArgs, opts?: InvokeOptions): Output<GetStoredQueryResult>
    def get_stored_query(query_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetStoredQueryResult
    def get_stored_query_output(query_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetStoredQueryResult]
    func LookupStoredQuery(ctx *Context, args *LookupStoredQueryArgs, opts ...InvokeOption) (*LookupStoredQueryResult, error)
    func LookupStoredQueryOutput(ctx *Context, args *LookupStoredQueryOutputArgs, opts ...InvokeOption) LookupStoredQueryResultOutput

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

    public static class GetStoredQuery 
    {
        public static Task<GetStoredQueryResult> InvokeAsync(GetStoredQueryArgs args, InvokeOptions? opts = null)
        public static Output<GetStoredQueryResult> Invoke(GetStoredQueryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStoredQueryResult> getStoredQuery(GetStoredQueryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:configuration:getStoredQuery
      arguments:
        # arguments dictionary

    The following arguments are supported:

    QueryName string
    QueryName string
    queryName String
    queryName string
    queryName String

    getStoredQuery Result

    The following output properties are available:

    QueryArn string
    QueryDescription string
    QueryExpression string
    QueryId string
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the stored query.
    QueryArn string
    QueryDescription string
    QueryExpression string
    QueryId string
    Tags Tag
    The tags for the stored query.
    queryArn String
    queryDescription String
    queryExpression String
    queryId String
    tags List<Tag>
    The tags for the stored query.
    queryArn string
    queryDescription string
    queryExpression string
    queryId string
    tags Tag[]
    The tags for the stored query.
    queryArn String
    queryDescription String
    queryExpression String
    queryId String
    tags List<Property Map>
    The tags for the stored query.

    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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi