You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ConfigService::Types::GetComplianceDetailsByResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetComplianceDetailsByResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_type: "StringWithCharLimit256", # required
  resource_id: "BaseResourceId", # required
  compliance_types: ["COMPLIANT"], # accepts COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE, INSUFFICIENT_DATA
  next_token: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#compliance_typesArray<String>

Filters the results by compliance.

The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

Returns:

  • (Array<String>)

    Filters the results by compliance.

#next_tokenString

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

Returns:

  • (String)

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

#resource_idString

The ID of the AWS resource for which you want compliance information.

Returns:

  • (String)

    The ID of the AWS resource for which you want compliance information.

#resource_typeString

The type of the AWS resource for which you want compliance information.

Returns:

  • (String)

    The type of the AWS resource for which you want compliance information.