AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ConfigService::Types::StoredQuery

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb

Overview

Note:

When making an API call, you may pass StoredQuery data as a hash:

{
  query_id: "QueryId",
  query_arn: "QueryArn",
  query_name: "QueryName", # required
  description: "QueryDescription",
  expression: "QueryExpression",
}

Provides the details of a stored query.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A unique description for the query.

Returns:

  • (String)


8464
8465
8466
8467
8468
8469
8470
8471
8472
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 8464

class StoredQuery < Struct.new(
  :query_id,
  :query_arn,
  :query_name,
  :description,
  :expression)
  SENSITIVE = []
  include Aws::Structure
end

#expressionString

The expression of the query. For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.

Returns:

  • (String)


8464
8465
8466
8467
8468
8469
8470
8471
8472
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 8464

class StoredQuery < Struct.new(
  :query_id,
  :query_arn,
  :query_name,
  :description,
  :expression)
  SENSITIVE = []
  include Aws::Structure
end

#query_arnString

Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.

Returns:

  • (String)


8464
8465
8466
8467
8468
8469
8470
8471
8472
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 8464

class StoredQuery < Struct.new(
  :query_id,
  :query_arn,
  :query_name,
  :description,
  :expression)
  SENSITIVE = []
  include Aws::Structure
end

#query_idString

The ID of the query.

Returns:

  • (String)


8464
8465
8466
8467
8468
8469
8470
8471
8472
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 8464

class StoredQuery < Struct.new(
  :query_id,
  :query_arn,
  :query_name,
  :description,
  :expression)
  SENSITIVE = []
  include Aws::Structure
end

#query_nameString

The name of the query.

Returns:

  • (String)


8464
8465
8466
8467
8468
8469
8470
8471
8472
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 8464

class StoredQuery < Struct.new(
  :query_id,
  :query_arn,
  :query_name,
  :description,
  :expression)
  SENSITIVE = []
  include Aws::Structure
end