AWS SDK Version 3 for .NET
API Reference

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.

List the resource scans from newest to oldest. By default it will return up to 10 resource scans.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ListResourceScansAsync.

Namespace: Amazon.CloudFormation
Assembly: AWSSDK.CloudFormation.dll
Version: 3.x.y.z

Syntax

C#
public virtual ListResourceScansResponse ListResourceScans(
         ListResourceScansRequest request
)

Parameters

request
Type: Amazon.CloudFormation.Model.ListResourceScansRequest

Container for the necessary parameters to execute the ListResourceScans service method.

Return Value


The response from the ListResourceScans service method, as returned by CloudFormation.

Examples

This example shows how to list resource scans

Listing Resource Scans


var client = new AmazonCloudFormationClient();
var response = client.ListResourceScans(new ListResourceScansRequest 
{
});

List<ResourceScanSummary> resourceScanSummaries = response.ResourceScanSummaries;

            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also