ec2:findinstance
Full name:
org.kuali.maven.plugins:ec2-maven-plugin:1.0.5-SNAPSHOT:findinstance
Description:
Connect to EC2 and find a single instance based on a tag/value pair
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
|
secretKey |
String |
- |
The AWS Secret Access Key for an account on EC2
|
Optional Parameters
Name |
Type |
Since |
Description |
failIfNotFound |
boolean |
- |
If true, fail the build when no matching instance is found Default value is: false. |
instanceIdProperty |
String |
- |
If supplied, the id of the instance located by the plugin is stored
as this project property. If no matching instance is located, the
property is set to the value NONE. Default value is: ec2.instance.id. |
tag |
String |
- |
The name of the tag to search for Default value is: Name. |
value |
String |
- |
The value that tag needs to have
|
Parameter Details
accessKey:
The AWS Access Key Id for an account on EC2
- Type: java.lang.String
- Required: Yes
- Expression: ${ec2.accessKey}
failIfNotFound:
If true, fail the build when no matching instance is found
- Type: boolean
- Required: No
- Expression: ${ec2.failIfNotFound}
- Default: false
instanceIdProperty:
If supplied, the id of the instance located by the plugin is stored
as this project property. If no matching instance is located, the
property is set to the value NONE.
- Type: java.lang.String
- Required: No
- Expression: ${ec2.instanceIdProperty}
- Default: ec2.instance.id
secretKey:
The AWS Secret Access Key for an account on EC2
- Type: java.lang.String
- Required: Yes
- Expression: ${ec2.secretKey}
tag:
The name of the tag to search for
- Type: java.lang.String
- Required: No
- Expression: ${ec2.tag}
- Default: Name
value:
The value that tag needs to have
- Type: java.lang.String
- Required: No
- Expression: ${ec2.value}