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.

Defines which resources trigger an evaluation for an AWS Config rule. The scope can include one or more resource types, a combination of a tag key and value, or a combination of one resource type and one resource ID. Specify a scope to constrain which resources trigger an evaluation for a rule. Otherwise, evaluations for the rule are triggered when any resource in your recording group changes in configuration.

Inheritance Hierarchy

System.Object
  Amazon.ConfigService.Model.Scope

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

Syntax

C#
public class Scope

The Scope type exposes the following members

Constructors

NameDescription
Public Method Scope()

Properties

NameTypeDescription
Public Property ComplianceResourceId System.String

Gets and sets the property ComplianceResourceId.

The IDs of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes.

Public Property ComplianceResourceTypes System.Collections.Generic.List<System.String>

Gets and sets the property ComplianceResourceTypes.

The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for ComplianceResourceId.

Public Property TagKey System.String

Gets and sets the property TagKey.

The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the rule.

Public Property TagValue System.String

Gets and sets the property TagValue.

The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule. If you specify a value for TagValue, you must also specify a value for TagKey.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms