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 structure that contains information about one CloudWatch Logs account policy.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatchLogs.Model.AccountPolicy

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

Syntax

C#
public class AccountPolicy

The AccountPolicy type exposes the following members

Constructors

NameDescription
Public Method AccountPolicy()

Properties

NameTypeDescription
Public Property AccountId System.String

Gets and sets the property AccountId.

The Amazon Web Services account ID that the policy applies to.

Public Property LastUpdatedTime System.Int64

Gets and sets the property LastUpdatedTime.

The date and time that this policy was most recently updated.

Public Property PolicyDocument System.String

Gets and sets the property PolicyDocument.

The policy document for this account policy.

The JSON specified in policyDocument can be up to 30,720 characters.

Public Property PolicyName System.String

Gets and sets the property PolicyName.

The name of the account policy.

Public Property PolicyType Amazon.CloudWatchLogs.PolicyType

Gets and sets the property PolicyType.

The type of policy for this account policy.

Public Property Scope Amazon.CloudWatchLogs.Scope

Gets and sets the property Scope.

The scope of the account policy.

Public Property SelectionCriteria System.String

Gets and sets the property SelectionCriteria.

The log group selection criteria for this subscription filter policy.

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