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.
Container for the parameters to the GetResourceConfigHistory operation.
For accurate reporting on the compliance status, you must record the AWS::Config::ResourceCompliance
resource type. For more information, see Selecting
Which Resources Config Records.
Returns a list of ConfigurationItems
for the specified resource. The list contains
details about each state of the resource during the specified time interval. If you
specified a retention period to retain your ConfigurationItems
between a minimum
of 30 days and a maximum of 7 years (2557 days), Config returns the ConfigurationItems
for the specified retention period.
The response is paginated. By default, Config returns a limit of 10 configuration
items per page. You can customize this number with the limit
parameter. The
response includes a nextToken
string. To get the next page of results, run
the request again and specify the string for the nextToken
parameter.
Each call to the API is limited to span a duration of seven days. It is likely that
the number of records returned is smaller than the specified limit
. In such
cases, you can make another call, using the nextToken
.
Namespace: Amazon.ConfigService.Model
Assembly: AWSSDK.ConfigService.dll
Version: 3.x.y.z
public class GetResourceConfigHistoryRequest : AmazonConfigServiceRequest IAmazonWebServiceRequest
The GetResourceConfigHistoryRequest type exposes the following members
Name | Description | |
---|---|---|
GetResourceConfigHistoryRequest() |
Name | Type | Description | |
---|---|---|---|
ChronologicalOrder | Amazon.ConfigService.ChronologicalOrder |
Gets and sets the property ChronologicalOrder. The chronological order for configuration items listed. By default, the results are listed in reverse chronological order. |
|
EarlierTime | System.DateTime |
Gets and sets the property EarlierTime. The chronologically earliest time in the time range for which the history requested. If not specified, the action returns paginated results that contain configuration items that start when the first configuration item was recorded. |
|
LaterTime | System.DateTime |
Gets and sets the property LaterTime. The chronologically latest time in the time range for which the history requested. If not specified, current time is taken. |
|
Limit | System.Int32 |
Gets and sets the property Limit. The maximum number of configuration items returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default. |
|
NextToken | System.String |
Gets and sets the property NextToken.
The |
|
ResourceId | System.String |
Gets and sets the property ResourceId.
The ID of the resource (for example., |
|
ResourceType | Amazon.ConfigService.ResourceType |
Gets and sets the property ResourceType. The resource type. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5