ec2:registerimage

Full name:

org.kuali.maven.plugins:ec2-maven-plugin:1.1.1:registerimage

Description:

Register an Amazon machine image (AMI)

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
accessKey String - The AWS Access Key Id for an account on EC2
blockDeviceMappings List - The BlockDeviceMappings for the image. See com.amazonaws.services.ec2.model.BlockDeviceMapping
image RegisterImageRequest - The image to register. See com.amazonaws.services.ec2.model.RegisterImageRequest
secretKey String - The AWS Secret Access Key for an account on EC2

Optional Parameters

Name Type Since Description
state String - The state the plugin will wait for the AMI to be in before continuing
Default value is: available.
tags List - List of tags. Tags are name/value pairs and can be supplied in the plugin configuration like this:
  <tags>
    <tag>
      <key>Name</key>
      <value>production</value>
    </tag>
    <tag>
      <key>Category</key>
      <value>networking</value>
    </tag>
  </tags>

wait boolean - If true, the build will wait until EC2 reports that the AMI has reached the state of "available"
Default value is: true.
waitTimeout int - The number of seconds to wait for the AMI to become available
Default value is: 30.

Parameter Details

accessKey:

The AWS Access Key Id for an account on EC2
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${ec2.accessKey}

blockDeviceMappings:

The BlockDeviceMappings for the image. See com.amazonaws.services.ec2.model.BlockDeviceMapping
  • Type: java.util.List
  • Required: Yes

image:

The image to register. See com.amazonaws.services.ec2.model.RegisterImageRequest
  • Type: com.amazonaws.services.ec2.model.RegisterImageRequest
  • Required: Yes

secretKey:

The AWS Secret Access Key for an account on EC2
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${ec2.secretKey}

state:

The state the plugin will wait for the AMI to be in before continuing
  • Type: java.lang.String
  • Required: No
  • Expression: ${ec2.state}
  • Default: available

tags:

List of tags. Tags are name/value pairs and can be supplied in the plugin configuration like this:
  <tags>
    <tag>
      <key>Name</key>
      <value>production</value>
    </tag>
    <tag>
      <key>Category</key>
      <value>networking</value>
    </tag>
  </tags>
  • Type: java.util.List
  • Required: No

wait:

If true, the build will wait until EC2 reports that the AMI has reached the state of "available"
  • Type: boolean
  • Required: No
  • Expression: ${ec2.wait}
  • Default: true

waitTimeout:

The number of seconds to wait for the AMI to become available
  • Type: int
  • Required: No
  • Expression: ${ec2.waitTimeout}
  • Default: 30