StringConditions

class aws_cdk.aws_sns.StringConditions(*, allowlist=None, blacklist=None, denylist=None, match_prefixes=None, whitelist=None)

Bases: object

Conditions that can be applied to string attributes.

Parameters
  • allowlist (Optional[Sequence[str]]) – Match one or more values. Default: - None

  • blacklist (Optional[Sequence[str]]) – (deprecated) Match any value that doesn’t include any of the specified values. Default: - None

  • denylist (Optional[Sequence[str]]) – Match any value that doesn’t include any of the specified values. Default: - None

  • match_prefixes (Optional[Sequence[str]]) – Matches values that begins with the specified prefixes. Default: - None

  • whitelist (Optional[Sequence[str]]) – (deprecated) Match one or more values. Default: - None

Attributes

allowlist

Match one or more values.

Default
  • None

Return type

Optional[List[str]]

blacklist

(deprecated) Match any value that doesn’t include any of the specified values.

Default
  • None

Deprecated

use denylist

Stability

deprecated

Return type

Optional[List[str]]

denylist

Match any value that doesn’t include any of the specified values.

Default
  • None

Return type

Optional[List[str]]

match_prefixes

Matches values that begins with the specified prefixes.

Default
  • None

Return type

Optional[List[str]]

whitelist

(deprecated) Match one or more values.

Default
  • None

Deprecated

use allowlist

Stability

deprecated

Return type

Optional[List[str]]