Class EC2Cloud.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • getInstanceTypes

        public com.amazonaws.services.ec2.model.InstanceType[] getInstanceTypes()
      • doCheckUseInstanceProfileForCredentials

        @POST
        public FormValidation doCheckUseInstanceProfileForCredentials​(@QueryParameter
                                                                      boolean value)
      • doFillSshKeysCredentialsIdItems

        @POST
        public ListBoxModel doFillSshKeysCredentialsIdItems​(@AncestorInPath
                                                            ItemGroup context,
                                                            @QueryParameter
                                                            String sshKeysCredentialsId)
      • doTestConnection

        @POST
        protected FormValidation doTestConnection​(@AncestorInPath
                                                  ItemGroup context,
                                                  URL ec2endpoint,
                                                  boolean useInstanceProfileForCredentials,
                                                  String credentialsId,
                                                  String sshKeysCredentialsId,
                                                  String roleArn,
                                                  String roleSessionName,
                                                  String region)
                                           throws IOException,
                                                  javax.servlet.ServletException
        Tests the connection settings. Overriding needs to @RequirePOST
        Parameters:
        ec2endpoint -
        useInstanceProfileForCredentials -
        credentialsId -
        sshKeysCredentialsId -
        roleArn -
        roleSessionName -
        region -
        Returns:
        the validation result
        Throws:
        IOException
        javax.servlet.ServletException
      • doFillCredentialsIdItems

        public ListBoxModel doFillCredentialsIdItems​(@AncestorInPath
                                                     ItemGroup context)