Home > Cloud Cruiser 3 > Batch XML Reference > Amazon collectors > DownloadCostAllocationReportsTasklet

DownloadCostAllocationReportsTasklet

Table of contents
No headers

Downloads cost allocation reports using Amazon Web Services (AWS). The latest copies of any available reports will be downloaded and stored for later use by the AmazonCollector .

Class

<bean class="com.cloudcruiser.batch.collect.amazon.DownloadCostAllocationReportsTasklet">

Properties

<property name="dataSourceConfig" ref="dataSourceConfig
" />

Sets the name of the managed Amazon data source.

<property name="accessKeyId" value="accessKeyId
" />

Sets the AWS access key ID. This is not used when a managed data source is specified.

<property name="secretKey" value="secretKey
" />

Sets the AWS secret key. This is not used when a managed data source is specified.

<property name="bucketName" value="bucketName
" />

Sets the S3 bucket name containing the cost reports. This must match the bucket name configured in the Amazon account billing settings.

<property name="amazonConnectionConfiguration" ref="amazonConnectConfig
" />

Optional property that allows for control over various connection properties. See AmazonConnectionConfiguration for specifics.

Spring Batch XML Example

<bean class="com.cloudcruiser.batch.collect.amazon.DownloadCostAllocationReportsTasklet">
  <property name="active" value="true" />
  <property name="bucketName" value="costs001" />
  <property name="dataSourceConfig">
    <bean class="com.cloudcruiser.batch.collect.amazon.AmazonDataSourceConfig">
      <property name="accessKeyId" value="MY_ACCESS_KEY_ID" />
      <property name="secretKey" value="MY_SECRET_KEY" />
    </bean>
  </property>
  <property name="bucketName" value="MY_BUCKET_NAME" />
  <property name="amazonConnectionConfiguration" ref="amazonConnectConfig" />
</bean>
Last modified

Tags

This page has no custom tags.

Classifications

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