AWSLogsAccountPolicy

Objective-C

@interface AWSLogsAccountPolicy

Swift

class AWSLogsAccountPolicy

A structure that contains information about one CloudWatch Logs account policy.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable accountId;

    Swift

    var accountId: String? { get set }
  • The date and time that this policy was most recently updated.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable lastUpdatedTime;

    Swift

    var lastUpdatedTime: NSNumber? { get set }
  • The policy document for this account policy.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable policyDocument;

    Swift

    var policyDocument: String? { get set }
  • The name of the account policy.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable policyName;

    Swift

    var policyName: String? { get set }
  • The type of policy for this account policy.

    Declaration

    Objective-C

    @property (nonatomic) AWSLogsPolicyType policyType;

    Swift

    var policyType: AWSLogsPolicyType { get set }
  • The scope of the account policy.

    Declaration

    Objective-C

    @property (nonatomic) AWSLogsScope scope;

    Swift

    var scope: AWSLogsScope { get set }
  • The log group selection criteria for this subscription filter policy.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable selectionCriteria;

    Swift

    var selectionCriteria: String? { get set }