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.
This is the response object from the DescribeResourceScan operation.
Namespace: Amazon.CloudFormation.Model
Assembly: AWSSDK.CloudFormation.dll
Version: 3.x.y.z
public class DescribeResourceScanResponse : AmazonWebServiceResponse
The DescribeResourceScanResponse type exposes the following members
| Name | Description | |
|---|---|---|
|
DescribeResourceScanResponse() |
| Name | Type | Description | |
|---|---|---|---|
|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
EndTime | System.DateTime |
Gets and sets the property EndTime. The time that the resource scan was finished. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
PercentageCompleted | System.Double |
Gets and sets the property PercentageCompleted. The percentage of the resource scan that has been completed. |
|
ResourceScanId | System.String |
Gets and sets the property ResourceScanId.
The Amazon Resource Name (ARN) of the resource scan. The format is |
|
ResourcesRead | System.Int32 |
Gets and sets the property ResourcesRead.
The number of resources that were read. This is only available for scans with a
This field may be 0 if the resource scan failed with a |
|
ResourcesScanned | System.Int32 |
Gets and sets the property ResourcesScanned.
The number of resources that were listed. This is only available for scans with a
|
|
ResourceTypes | System.Collections.Generic.List<System.String> |
Gets and sets the property ResourceTypes.
The list of resource types for the specified scan. Resource types are only available
for scans with a |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
ScanFilters | System.Collections.Generic.List<Amazon.CloudFormation.Model.ScanFilter> |
Gets and sets the property ScanFilters. The scan filters that were used. |
|
StartTime | System.DateTime |
Gets and sets the property StartTime. The time that the resource scan was started. |
|
Status | Amazon.CloudFormation.ResourceScanStatus |
Gets and sets the property Status. Status of the resource scan.
|
|
StatusReason | System.String |
Gets and sets the property StatusReason. The reason for the resource scan status, providing more information if a failure happened. |
This example describes a selected resource scan
var client = new AmazonCloudFormationClient();
var response = client.DescribeGeneratedTemplate(new DescribeGeneratedTemplateRequest
{
GeneratedTemplateName = "JazzyTemplate"
});
DateTime creationTime = response.CreationTime;
string generatedTemplateId = response.GeneratedTemplateId;
string generatedTemplateName = response.GeneratedTemplateName;
DateTime lastUpdatedTime = response.LastUpdatedTime;
TemplateProgress progress = response.Progress;
string status = response.Status;
string statusReason = response.StatusReason;
TemplateConfiguration templateConfiguration = response.TemplateConfiguration;
int totalWarnings = response.TotalWarnings;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5