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.

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.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.

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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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