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.

A framework consists of one or more controls. Each control has its own control scope. The control 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. If no scope is specified, evaluations for the rule are triggered when any resource in your recording group changes in configuration.

To set a control scope that includes all of a particular resource, leave the ControlScope empty or do not pass it when calling CreateFramework.

Inheritance Hierarchy

System.Object
  Amazon.Backup.Model.ControlScope

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

Syntax

C#
public class ControlScope

The ControlScope type exposes the following members

Constructors

NameDescription
Public Method ControlScope()

Properties

NameTypeDescription
Public Property ComplianceResourceIds System.Collections.Generic.List<System.String>

Gets and sets the property ComplianceResourceIds.

The ID of the only Amazon Web Services resource that you want your control scope to contain.

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

Gets and sets the property ComplianceResourceTypes.

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

The tag key-value pair applied to those Amazon Web Services resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided. The tag value is optional, but it cannot be an empty string. The structure to assign a tag is: [{"Key":"string","Value":"string"}].

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