Class AWS::SimpleWorkflow::Domain
In: lib/aws/simple_workflow/domain.rb
Parent: Resource

Domains are used to organize workflows types and activities for an account.

@attr_reader [String,nil] description Returns

@attr_reader [Integer,Symbol] retention_period Returns the retention

  period for this domain. The return value may be an integer (number
  of days history is kept around) or the symbol `:none`, implying
  no expiry of closed workflow executions.

@attr_reader [Symbol] status Returns the domain‘s status. Status will

  be either `:registered` or `:deprecated`.

Methods

Included Modules

OptionFormatters

Attributes

name  [R]  @return [String] Returns the name of this domain.

Public Class methods

Public Instance methods

delete()

Alias for deprecate

Deprecates the domain. After a domain has been deprecated it cannot be used to create new workflow executions or register new types. However, you can still use visibility actions on this domain.

Deprecating a domain also deprecates all activity and workflow types registered in the domain. Executions that were started before the domain was deprecated will continue to run.

@return [nil]

@return [Boolean] Returns true if this domain has been deprecated.

Protected Instance methods

[Validate]