Module: Stax::Dms

Defined in:
lib/stax/mixin/dms.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(thor) ⇒ Object



5
6
7
8
# File 'lib/stax/mixin/dms.rb', line 5

def self.included(thor)
  thor.desc('dms COMMAND', 'DMS subcommands')
  thor.subcommand(:dms, Cmd::Dms)
end

Instance Method Details

#stack_dms_endpointsObject



10
11
12
# File 'lib/stax/mixin/dms.rb', line 10

def stack_dms_endpoints
  @_stack_dms_endpoints ||= Aws::Cfn.resources_by_type(stack_name, 'AWS::DMS::Endpoint')
end

#stack_dms_replication_instancesObject



14
15
16
# File 'lib/stax/mixin/dms.rb', line 14

def stack_dms_replication_instances
  @_stack_dms_replication_instances ||= Aws::Cfn.resources_by_type(stack_name, 'AWS::DMS::ReplicationInstance')
end

#stack_dms_replication_tasksObject



18
19
20
# File 'lib/stax/mixin/dms.rb', line 18

def stack_dms_replication_tasks
  @_stack_dms_replication_tasks ||= Aws::Cfn.resources_by_type(stack_name, 'AWS::DMS::ReplicationTask')
end