AWS SDK Version 4 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.

Container for the parameters to the ListResourceScans operation. List the resource scans from newest to oldest. By default it will return up to 10 resource scans.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudFormation.AmazonCloudFormationRequest
      Amazon.CloudFormation.Model.ListResourceScansRequest

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

Syntax

C#
public class ListResourceScansRequest : AmazonCloudFormationRequest
         IAmazonWebServiceRequest

The ListResourceScansRequest type exposes the following members

Constructors

NameDescription
Public Method ListResourceScansRequest()

Properties

NameTypeDescription
Public Property MaxResults System.Nullable<System.Int32>

Gets and sets the property MaxResults.

If the number of available results exceeds this maximum, the response includes a NextToken value that you can use for the NextToken parameter to get the next set of results. The default value is 10. The maximum value is 100.

Public Property NextToken System.String

Gets and sets the property NextToken.

A string that identifies the next page of resource scan results.

Public Property ScanTypeFilter Amazon.CloudFormation.ScanType

Gets and sets the property ScanTypeFilter.

The scan type that you want to get summary information about. The default is FULL.

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:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer