Module netapp_ontap.models.s3_bucket_policy_condition

Copyright © 2022 NetApp Inc. All rights reserved.

Classes

class S3BucketPolicyConditionSchema (*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)

The fields of the S3BucketPolicyCondition object

Ancestors

  • netapp_ontap.resource.ResourceSchema
  • marshmallow.schema.Schema
  • marshmallow.base.SchemaABC

Class variables

delimiters GET POST PATCH

An array of delimiters that are compared with the delimiter value specified at the time of execution of an S3-based command, using the condition operator specified.

Example: ["/"]

max_keys GET POST PATCH

An array of maximum keys that are allowed or denied to be retrieved using an S3 list operation, based on the condition operator specified.

Example: [1000]

operator GET POST PATCH

Condition operator that is applied to the specified condition key.

Valid choices:

  • ip_address
  • not_ip_address
  • string_equals
  • string_not_equals
  • string_equals_ignore_case
  • string_not_equals_ignore_case
  • string_like
  • string_not_like
  • numeric_equals
  • numeric_not_equals
  • numeric_greater_than
  • numeric_greater_than_equals
  • numeric_less_than
  • numeric_less_than_equals
prefixes GET POST PATCH

An array of prefixes that are compared with the input prefix value specified at the time of execution of an S3-based command, using the condition operator specified.

Example: ["pref"]

source_ips GET POST PATCH

An array of IP address ranges that are compared with the IP address of a source command at the time of execution of an S3-based command, using the condition operator specified.

Example: ["1.1.1.1","1.2.2.0/24"]

usernames GET POST PATCH

An array of usernames that a current user in the context is evaluated against using the condition operators.

Example: ["user1"]