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.configuration.getStoredQuery
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::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:
- Query
Name string - The name of the query.
- Query
Name string - The name of the query.
- query
Name String - The name of the query.
- query
Name string - The name of the query.
- query_
name str - The name of the query.
- query
Name String - The name of the query.
getStoredQuery Result
The following output properties are available:
- Query
Arn string - Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
- Query
Description string - A unique description for the query.
- Query
Expression string - The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
- Query
Id string - The ID of the query.
- List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the stored query.
- Query
Arn string - Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
- Query
Description string - A unique description for the query.
- Query
Expression string - The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
- Query
Id string - The ID of the query.
- Tag
- The tags for the stored query.
- query
Arn String - Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
- query
Description String - A unique description for the query.
- query
Expression String - The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
- query
Id String - The ID of the query.
- List<Tag>
- The tags for the stored query.
- query
Arn string - Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
- query
Description string - A unique description for the query.
- query
Expression string - The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
- query
Id string - The ID of the query.
- Tag[]
- The tags for the stored query.
- query_
arn str - Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
- query_
description str - A unique description for the query.
- query_
expression str - The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
- query_
id str - The ID of the query.
- Sequence[root_Tag]
- The tags for the stored query.
- query
Arn String - Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
- query
Description String - A unique description for the query.
- query
Expression String - The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
- query
Id String - The ID of the query.
- List<Property Map>
- The tags for the stored query.
Supporting Types
Tag
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