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)


8474
8475
8476
8477
8478
8479
8480
8481
8482
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 8474

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)


8474
8475
8476
8477
8478
8479
8480
8481
8482
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 8474

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)


8474
8475
8476
8477
8478
8479
8480
8481
8482
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 8474

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)


8474
8475
8476
8477
8478
8479
8480
8481
8482
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 8474

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)


8474
8475
8476
8477
8478
8479
8480
8481
8482
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 8474

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