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.

Container for the parameters to the LockRule operation. Locks a Region-level retention rule. A locked retention rule can't be modified or deleted.

You can't lock tag-level retention rules, or Region-level retention rules that have exclusion tags.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.RecycleBin.AmazonRecycleBinRequest
      Amazon.RecycleBin.Model.LockRuleRequest

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

Syntax

C#
public class LockRuleRequest : AmazonRecycleBinRequest
         IAmazonWebServiceRequest

The LockRuleRequest type exposes the following members

Constructors

NameDescription
Public Method LockRuleRequest()

Properties

NameTypeDescription
Public Property Identifier System.String

Gets and sets the property Identifier.

The unique ID of the retention rule.

Public Property LockConfiguration Amazon.RecycleBin.Model.LockConfiguration

Gets and sets the property LockConfiguration.

Information about the retention rule lock configuration.

Version Information

.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