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.
Describes details of a resource scan.
For .NET Core this operation is only available in asynchronous form. Please refer to DescribeResourceScanAsync.
Namespace: Amazon.CloudFormation
Assembly: AWSSDK.CloudFormation.dll
Version: 3.x.y.z
public virtual DescribeResourceScanResponse DescribeResourceScan( DescribeResourceScanRequest request )
Container for the necessary parameters to execute the DescribeResourceScan service method.
| Exception | Condition |
|---|---|
| ResourceScanNotFoundException | The resource scan was not found. |
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 Framework:
Supported in: 4.7.2 and newer