Home > Cloud Cruiser 3 > Setting Up Collection > Native collectors > Amazon Web Services > Creating a data source

Creating a data source

AWS requires the following information in a data source:

  • accessKeyId: The access key ID for an AWS user who has access to billing information
  • secretKey: The secret key for this user

For information about these properties, see Setting up your account.

You can define this information in a managed data source or an explicit data source. For general information about these two types, see Setting up a data source.

Managed data source

When creating a managed data source, select the type Amazon. When referring to your data source from a job, use the com.cloudcruiser.batch.collect.aws.ManagedAWSDataSource​ bean. For example:

<bean class="com.cloudcruiser.batch.collect.aws.ManagedAWSDataSource">
  <property name="name" value="MyAWSDataSource"/>
</bean> 

 

Explicit data source

When defining your data source in a job, use the com.cloudcruiser.batch.collect.aws.AWSDataSourceConfig bean. For example:

<bean class="com.cloudcruiser.batch.collect.aws.AWSDataSourceConfig​">
  <property name="accessKeyId" value="ABCDEFG1HIJKLMNOPQRS"/>
  <property name="secretKey" value="1aBC+D2efghijKLmnOpQRsTU+VwXYZA345B6cd7E"/>
</bean>
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP