sym.sdk.strategy¶
Model representing a native Sym Strategy.
Classes
- pydantic model sym.sdk.strategy.Strategy¶
Bases:
pydantic.main.BaseModel
The
Strategy
class represents an instance of asym_strategy
resource.Read more about Strategies.
- Fields
- field integration: sym.sdk.strategies.integration.Integration [Required]¶
The
Integration
associated with this Strategy.
- field name: str [Required]¶
The unique string identifier for this Strategy. Corresponds to the
name
attribute on thesym_strategy
resource.
- field settings: Dict[str, str] [Required]¶
A map of settings specific to this Strategy. The possible settings available vary depending on the type of Strategy.
- field srn: sym.sdk.resource.SRN [Required]¶
The unique
SRN
for this Strategy.- Constraints
type = string
description = A Sym Resource Name (SRN) is a unique identifier for a Sym Resource.
pattern = [a-zA-Z0-9-_]+:[a-zA-Z0-9-_]+(:[a-zA-Z0-9-_]+)?:[a-zA-Z0-9-_]+:(latest|[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3})(:[a-zA-Z0-9-_]+)?
examples = [‘sym:access_target:okta_group:test-okta-target:latest’]
- field targets: List[sym.sdk.target.AccessTarget] = []¶
The list of
AccessTargets
associated with this Strategy.