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

.NET Framework 4.5
 
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.dll
Version: (assembly version)

Syntax

C#
public class Scope : Object

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 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 Framework:
Supported in: 4.5, 4.0, 3.5